Abhinav Ralhan
Abhinav Ralhan

Reputation: 585

How to define schema & database for a Neptune database using Python / Gremlin?

I've recently started out building a graph database using AWS Neptune. Is there a way to define schema and create database using gremlin_python?

Any tutorial recommendation would be helpful too.

Upvotes: 0

Views: 853

Answers (1)

bechbd
bechbd

Reputation: 6341

Amazon Neptune has implicit schema which is sometimes called "schemaless". This means that it does not require the schema to be defined ahead of time. To get started all you need to do is begin adding your data using Gremlin. The "schema" of the data is created by the types of data that are written. e.g. g.addV('person').property('age', 41) will create a vertex with label called person and a property called age.

Upvotes: 3

Related Questions