Skip to content

Possible bug converting to RDF #68

Answered by kazarena
nein09 asked this question in Q&A
Discussion options

You must be logged in to vote

@nein09, I think the problem is in the value of the @id property. When I tried using your JSON-LD document on https://json-ld.org/playground/ to generate N-Quads (this is always a good way to understand if there's an issue with the library or the document), I got the same answer as above. But when I tried getting a canonised representation, I got the following error:

jsonld.ValidationError: Safe mode validation error.
{
  "type": [
    "JsonLdEvent"
  ],
  "code": "relative @id reference",
  "level": "warning",
  "message": "Relative @id reference found.",
  "details": {
    "id": "ad780d9a-e6a7-4a6f-824c-367b40d377b8",
    "expandedId": "ad780d9a-e6a7-4a6f-824c-367b40d377b8"
  }
}

The @id

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@nein09
Comment options

Comment options

You must be logged in to vote
1 reply
@nein09
Comment options

Answer selected by nein09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants