You can do that. 1. store the data 2. store the metadata 3. use the same labels just with additional labels for the meta-data
then write queries to verify the data that checks your meta-model against the real data. Similar to what my colleague Jesus did here: https://jesusbarrasa.wordpress.com/2016/04/06/building-a-semantic-graph-in-neo4j/ Cheers, Michael On Sun, Aug 13, 2017 at 7:18 AM, Sergio Yodeb Velásquez Yepes < [email protected]> wrote: > Hello everyone, > > I am working on a project to store information about a lot of > infrastructures. We design a meta-model that represent the important > elements of a infrastructure for us, so we want to store in a database an > instance of that meta-model but also keep the information of the meta-model > in the data that we store. So I was wondering if we could do that in Neo4J. > > It is possible to set a database schema using the labels of the nodes in > the graph? So that we could store the meta-data information using labels. > We can set some configuration in which a relation between nodes with some > labels is mandatory? Or a a relation between nodes with some labels is not > allowed? > > > Thanks. > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
