Closed James-Hudson3010 closed 4 years ago
They seem to produce the same triples to me. Are you looking at the N-Quads tab results?
I was looking at the "Visualized" tab. The graphs are different.
Perhaps just a quirk of how the graph is created on essentially the same thing.
But, then it is strange that the graph would be different...
The visualized tab is showing JSON structure, which could vary wildly between otherwise equivalent graphs. The key is in the generated triples.
Typically the expanded graphs will be equal too, but even then, two different expanded JSON-LD files could result in the same triples.
Framing could be used to normalize the JSON-LD representation, though.
I started with this json-ld document:
And wanted to simplify the terms a little, so I used the information found in Example 4 and created:
As best I can determine, they should produce equivalent graphs in https://json-ld.org/playground/, but they do not.