<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Datomic Knowledgebase - Recent questions tagged datamodel</title>
<link>https://ask.datomic.com/index.php/tag/datamodel</link>
<description>Powered by Question2Answer</description>
<item>
<title>How do you add relationship properties, e.g. the time a person met another person?</title>
<link>https://ask.datomic.com/index.php/854/how-you-relationship-properties-time-person-another-person</link>
<description>&lt;p&gt;I have some experience with Neo4j / cypher. In cypher relationships are first-class citizens, so they can have properties, which I really like.&lt;/p&gt;
&lt;p&gt;How do I do something similar with datalog? Do I have to have a &quot;mapping entity&quot; in between two entities that have a relationship?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/854/how-you-relationship-properties-time-person-another-person</guid>
<pubDate>Mon, 07 Nov 2022 08:35:28 +0000</pubDate>
</item>
<item>
<title>How do you visualize your schema ?</title>
<link>https://ask.datomic.com/index.php/725/how-do-you-visualize-your-schema</link>
<description>&lt;p&gt;Hi I made a quick search in this channel to find tools for visualizing Datomic schema. The most promising tool I found was  &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/hodur-org/hodur-datomic-schema&quot;&gt;Hodur Datomic Schema&lt;/a&gt;. This is nice because you can create entity types and connect them through attributes. I would like to share with you an example I made. Here is a simple Datomic Schema in &lt;a rel=&quot;nofollow&quot; href=&quot;https://gist.github.com/athanhat/bb581d77cfe224c144a19ea4940f406f&quot;&gt;Hodur Descriptive Domain Modeling Engine EDN format&lt;/a&gt; and here is my &lt;a rel=&quot;nofollow&quot; href=&quot;https://gist.github.com/athanhat/7aa53c54110cc3258ba52e00128a065c&quot;&gt;clojure gist&lt;/a&gt; to run and output the result. There is a better Hodur schema visualization using GoJS library but I have not figured out yet how to make the http web server to work with the Hodur visualizer clojurescript it seems users have issues with it.&lt;/p&gt;
&lt;p&gt;OK that said, I am aware that in Clojure you are trying to break away from entity types, object types in general and work with attribute oriented modeling. But the way you are modeling schema you cannot escape from namespace prefixes and these imply entity types. In any case it is standard practice in any significant large IT project that users want to see and work easily on a white-board with some kind of graph data model that represents an abstract data model. That was the scope of Hodur I guess. In the RDBMs world and more recently in Graph DBMS there are great tools to visualize both the schema and data.  So how do you visualize the data modeling process and it's evolution in large projects using Datomic ?&lt;/p&gt;
&lt;p&gt;I had a quick look at schema-cartographer.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It creates schema-cartographer dependent edn files when you download schema transactions and schema files from their Web APP UI (see schema.edn) and (schema-txs.edn)&lt;/li&gt;
&lt;li&gt;You have to work everything on the UI. But I think you cannot download and run this independently on your premises.&lt;/li&gt;
&lt;li&gt;There is this Create a schema file for an existing annotated ON PREM database from a REPL but again you have to load the resulting output file in the UI that resides at &lt;a rel=&quot;nofollow&quot; href=&quot;https://schema-cartographer.com&quot;&gt;https://schema-cartographer.com&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;It is not flexible enough and it will result in poor visualization when you have a big schema and/or you want to view part of the schema&lt;/li&gt;
&lt;li&gt;The schema-cartographer UI says GoJS 2.0 evaluation (c) 1998-2019 Northwoods Software Not for distribution or production use gojs.net&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So what tool Cognitect people use to visualize Datomic schema. Is that the tool ?&lt;/p&gt;
</description>
<category>On-Prem</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/725/how-do-you-visualize-your-schema</guid>
<pubDate>Fri, 08 Jul 2022 15:58:59 +0000</pubDate>
</item>
<item>
<title>What indexes does Datomic use?</title>
<link>https://ask.datomic.com/index.php/229/what-indexes-does-datomic-use</link>
<description>&lt;p&gt;What indexes does Datomic use?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/229/what-indexes-does-datomic-use</guid>
<pubDate>Mon, 19 Oct 2020 18:01:45 +0000</pubDate>
</item>
<item>
<title>Does Datomic have tables?</title>
<link>https://ask.datomic.com/index.php/222/does-datomic-have-tables</link>
<description>&lt;p&gt;Does Datomic have tables?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/222/does-datomic-have-tables</guid>
<pubDate>Mon, 19 Oct 2020 17:22:20 +0000</pubDate>
</item>
<item>
<title>Don’t all those indexes take up a lot of storage space?</title>
<link>https://ask.datomic.com/index.php/231/dont-all-those-indexes-take-up-a-lot-of-storage-space</link>
<description>&lt;p&gt;Don’t all those indexes take up a lot of storage space?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/231/dont-all-those-indexes-take-up-a-lot-of-storage-space</guid>
<pubDate>Mon, 19 Oct 2020 17:16:14 +0000</pubDate>
</item>
<item>
<title>How is Datomic different from a traditional RDBMS? A NoSQL database?</title>
<link>https://ask.datomic.com/index.php/228/how-datomic-different-from-traditional-rdbms-nosql-database</link>
<description>&lt;p&gt;How is Datomic different from a traditional RDBMS? A NoSQL database?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/228/how-datomic-different-from-traditional-rdbms-nosql-database</guid>
<pubDate>Mon, 19 Oct 2020 17:01:16 +0000</pubDate>
</item>
<item>
<title>What data types are supported by Datomic?</title>
<link>https://ask.datomic.com/index.php/223/what-data-types-are-supported-by-datomic</link>
<description>&lt;p&gt;What data types are supported by Datomic?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/223/what-data-types-are-supported-by-datomic</guid>
<pubDate>Mon, 19 Oct 2020 17:01:01 +0000</pubDate>
</item>
<item>
<title>Can I remove an index?</title>
<link>https://ask.datomic.com/index.php/232/can-i-remove-an-index</link>
<description>&lt;p&gt;Can I remove an index?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/232/can-i-remove-an-index</guid>
<pubDate>Mon, 19 Oct 2020 16:59:30 +0000</pubDate>
</item>
<item>
<title>Does Datomic use sharding?</title>
<link>https://ask.datomic.com/index.php/234/does-datomic-use-sharding</link>
<description>&lt;p&gt;Does Datomic use sharding?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/234/does-datomic-use-sharding</guid>
<pubDate>Mon, 19 Oct 2020 16:43:33 +0000</pubDate>
</item>
<item>
<title>Against which index should I target my query?</title>
<link>https://ask.datomic.com/index.php/330/against-which-index-should-i-target-my-query</link>
<description>&lt;p&gt;Against which index should I target my query?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/330/against-which-index-should-i-target-my-query</guid>
<pubDate>Mon, 19 Oct 2020 16:03:52 +0000</pubDate>
</item>
<item>
<title>How should I model my data in Datomic?</title>
<link>https://ask.datomic.com/index.php/326/how-should-i-model-my-data-in-datomic</link>
<description>&lt;p&gt;How should I model my data in Datomic?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/326/how-should-i-model-my-data-in-datomic</guid>
<pubDate>Mon, 19 Oct 2020 15:40:32 +0000</pubDate>
</item>
<item>
<title>How do I prevent users from adding invalid data?</title>
<link>https://ask.datomic.com/index.php/227/how-do-i-prevent-users-from-adding-invalid-data</link>
<description>&lt;p&gt;How do I prevent users from adding invalid data?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/227/how-do-i-prevent-users-from-adding-invalid-data</guid>
<pubDate>Mon, 19 Oct 2020 15:39:37 +0000</pubDate>
</item>
<item>
<title>What is a datom?</title>
<link>https://ask.datomic.com/index.php/321/what-is-a-datom</link>
<description>&lt;p&gt;What is a datom?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/321/what-is-a-datom</guid>
<pubDate>Mon, 19 Oct 2020 15:20:32 +0000</pubDate>
</item>
<item>
<title>What is Datomic’s data model?</title>
<link>https://ask.datomic.com/index.php/220/what-is-datomics-data-model</link>
<description>&lt;p&gt;What is Datomic’s data model?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/220/what-is-datomics-data-model</guid>
<pubDate>Mon, 19 Oct 2020 15:18:56 +0000</pubDate>
</item>
<item>
<title>How do I create my schema?</title>
<link>https://ask.datomic.com/index.php/324/how-do-i-create-my-schema</link>
<description>&lt;p&gt;How do I create my schema?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/324/how-do-i-create-my-schema</guid>
<pubDate>Mon, 19 Oct 2020 15:13:34 +0000</pubDate>
</item>
<item>
<title>Does Datomic support conditional operations?</title>
<link>https://ask.datomic.com/index.php/233/does-datomic-support-conditional-operations</link>
<description>&lt;p&gt;Does Datomic support conditional operations?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/233/does-datomic-support-conditional-operations</guid>
<pubDate>Mon, 19 Oct 2020 14:43:46 +0000</pubDate>
</item>
<item>
<title>Does Datomic support schema-less data?</title>
<link>https://ask.datomic.com/index.php/225/does-datomic-support-schema-less-data</link>
<description>&lt;p&gt;Does Datomic support schema-less data?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/225/does-datomic-support-schema-less-data</guid>
<pubDate>Mon, 19 Oct 2020 14:31:20 +0000</pubDate>
</item>
</channel>
</rss>