This repo contains sample projects that are used to illustrate features of Grakn. Some projects use Java, while others use Graql.
Additional information about each can be found as described below, and within each folder.
A simple Graql-based example that takes the MTCars dataset, familiar to users of R, and illustrates how to use GRAKN.AI to perform basic analytics. The documentation for this example can be found here.
We provide several examples of CSV migration:
- The genealogy data used across our example set is migrated from CSV in the example-csv-migration-genealogy project. The documentation can be found here.
- CSV migration is covered in a blog post, for which the associated sample code can be found in in the example-csv-migration-games project.
- There is a further CSV migration example that takes a simple CSV data file of pets in the example-csv-migration-pets project. Please see the readme file to get started.
An example of using the Java Graph API to build an ontology and load data, plus some simple queries on the data using the Java Graql API (which will be extended to a more complete example in due course). Further information about the example is available in the documentation.
This is an example of JSON migration using the Java API.
JSON migration using the Graql migration script is covered further in the Grakn documentation portal.
The is an example of OWL migration example using the Java API. For further information, please see the Grakn documentation portal.
This is an example of SQL migration using the Java API.
Please see the Grakn documentation portal for a worked example of SQL migration using the Graql migration script.