3 ms·
Actually, I would say, stop using RDF/XML and JSON-LD. The biggest mistake one could make is to think that JSON-LD is JSON. JSON is a document (tree), JSON-LD (
by smarx007 4y ago
Actually, I would say, stop using RDF/XML and JSON-LD. The biggest mistake one could make is to think that JSON-LD is JSON. JSON is a document (tree), JSON-LD (RDF) is a graph. There be dragons if you try to parse JSON-LD graph with a JSON document parser directly.
Use Turtle instead. It will actually be easier that way, as you only need to understand how a graph data format like Turtle works. With JSON-LD, you need to understand both the RDF graph model AND how graphs are encoded in JSON documents in a standard way.