The above files were created with UUIDs that are unique to each entity (same as Grakn’s id). The UUID has no special meaning and should be considered temporary. It is only created to link entities together via relationships. I understand that I could store this value as a key and use that in the match part of a match-insert query for the relationships file to achieve the desired results. This seem like extra work though if the UUID is really the same as Grakn’s id. Also, if I’m not mistaken using Grakn’s internal id is the quickest way to get an entity out of the database so I would prefer to use the id for batch processing.
I partly remember reading an old discussion topic about removing the ability to specify the internal id Grakn uses. If it’s not possible to set the id of the entity that goes in the database is it possible to get some kind of response from the batch insert that relates the UUID to the internal id? I know via the console an insert returns the identifier and the id of anything inserted. Don’t believe this is implemented for batch processes though.
Open to any ideas. Thanks