cancel
Showing results for 
Search instead for 
Did you mean: 

Neo4J base model file similar to RDF TTL?

dk0451
Node

Hi, I have previous experience with RDF graph databases and looking to start using Neo4J, but am a little confused how modeling works.

In RDF, you can write a TTL (TURTLE) file in a language like SPARQL that defines your model's relationships. Is there an equivalent for Neo4J in Cypher? How is that underlying model built where you define controlled vocabulary like classes and relationships that you want to use?

Thanks!  

1 REPLY 1

koji
Ninja
Ninja

Hi @dk0451 
Many developers first try to define a complete schema.

In my Neo4j case, I first import the raw data.
Then I create the basic nodes and relationships.

Depending on what you are searching for, I create new nodes.
Those nodes are dates, upper layers, etc.
I repeat this design.

This is where it differs from traditional designs.

(:Year)-->(:Month)-->(:Day)--(:ObjectNode)
(:ServiceLayerNode)-->(:LogicalLayerNode)-->(PhysicalLayerNode) and so on.

Such a year, month, and day node would not be considered in a traditional design.