I am using mostly python and tried to test import a larger dataset into grakn.
The development of a schema worked very well and I am really impressed with the expressiveness of the system.
Yet I am still facing some problems importing data which I translated from an internal data source.
My first attempt was to use the REST API – reading worked fine but writing was a problem as the return error was always that my query is “read-only” – is it possible to use the API for writing with a configuration change or is this planned for a coming version?
My second attempt was to write files which I can import into grakn with the graql shell. Using the –f and –b flag resulted in out of memory errors at first so I tried using a instance-id resource for every entity to be used for relations like in the movies sample dataset.
The problem I encountered was that it looks like using the graql.sh with the –b flags gives me different graphs with some relations missing which I can see if I import with –f and which are present in the file with the insert statements (I am using version 0.12.1).
Do you have a recommendation for me which way to use to import data?