user5208051
user5208051

Reputation:

Are there any Graph Databases that allow you to define the labels and relationships (schema) first

I am looking to build a graph database for a new site that I'm building and came across neo4j.

Although it is a viable option, I don't like the idea of creating the labels and relationships on the fly. Instead I only want to define the labels and relationships before hand so my database can have a bit more stability to it.

Pretty much like a RDBMS where we define the tables and properties first but instead I want to define the labels and relationships and their properties first.

Upvotes: 2

Views: 196

Answers (3)

Jason Plurad
Jason Plurad

Reputation: 6792

Titan allows you do that also.

Of particular interest to the original post, in section 5.5: It is strongly encouraged to explicitly define all schema elements and to disable automatic schema creation by setting schema.default=none in the Titan graph configuration.

Upvotes: 2

Kamal
Kamal

Reputation: 11

One thing you can do is define this befor me the devoloper entered this in graph format (like a template?) for example, what is the node, it's properties, the relation...etc

Upvotes: 0

Related Questions