cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4J base model file similar to RDF TTL?

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

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.