Hi,
I’m using dgraph4j to persist a collection of entities that are interrelated… as per the JSON Mutations, I’m trying to use uid’s - which I’m setting to be of the format: “_:something”, where something is generally a UUID.
What am I doing wrong?
First offending line is this JSON object - failing on isRecipientOf.
Schema for isRecipientOf is specified as: “isRecipientOf uid @reverse .”
I don’t understand RDF too well… but it seemed that this error is saying, “hey you told me isRecipientOf was a scalar one time, and now you are saying it is a uid” - Some of the JSON objects before this offending JSON object had isAdminFor and belongsTo with value null. I fixed it so that nulls are not serialized to JSON…
Still get this scalar error.
I fixed it and am not seeing the circular references in the graph. What I mean is I can navigate from FirstName to belongsTo fine. But from that belongsTo I can’t navigate back to the FirstName node… 'cause there isn’t a “isRecipeintOf” edge coming out of that node. I tried the following in ratel