| I spent some time attempting to work with the W3C Web Annotation Data Model. That data model is serialized as JSON-LD. After spending about 50 hours reading the documents and attempting to implement some of it, I have a general idea what JSON-LD is. I wasn't really trying to achieve anything, so I basically quit once something seemed opaque enough I couldn't figure it out in a short period of time. When I visited the JSON-LD Test Suite page to see what implementations are expected to do [0], I found: > Tests are defined into compact, expand, flatten, frame, normalize, and rdf sections I had a hard time figuring out what each of these verbs meant, and they were about all that the various implementations I found did. For example, the term normalize doesn't even appear in the JSON-LD 1.0 specification [1]. shrug I'm sure I could have figured out more if I spent the time to actually read the whole thing and all the related documents. [0]: https://json-ld.org/test-suite/ [1]: https://www.w3.org/TR/json-ld |
Sometimes I wonder why this is not said directly, probably because Semantic Web and RDF are passe now.
Actually the post's author addresses this point:
> I made it a point to not mention RDF at all in the JSON-LD 1.0 specification because you didn’t need to go off and read about it to understand what was going on in JSON-LD.
...
> Tests are defined into compact, expand, flatten, frame, normalize, and rdf sections
These are just sub-formats of JSON-LD, information represented is the same but JSON looks a little bit different. Some sub-formats are easier for tools to process, some are better for humans.