New migration and query examples with Client Java
Closed this issue · 0 comments
grabl commented
This issue was originally posted by @sorsaffari on 2018-08-22 18:02.
The goal: of this requirement is to:
- create migration examples that use our drivers, rather than the Graql Migration templates (how it's currently documented)
- write a tutorial for each example
- publish the tutorial on the blog and documentation platform
Examples: For each Grakn Client driver illustrate migrating data from the following formats: - CSV
- SQL
- JSON
- XML
Dataset: For each example must have one or more of the following characteristics:
- contains simple data types
- contains a simple relationship
Article structure: Given a simple dataset in a given format (e.g. CSV), show how to:
- Define the schema of the database
- make a simple schema
- load the schema into the database
- query the schema (through terminal)
- write an example of insert query (through terminal)
- Load the dataset to the database
- import the driver into the program
- read the dataset into the program
- create a database session and transaction in the program
- produce the insert queries with the dataset
- write and commit the insert queries, using the transactions, onto the database
- Query the data
- query the data from the database
- visualise the data
This issue needs #27, needs #28, needs #29, needs #40, needs #41