Wolfram Language

Upgrade JSON to Linked Data

"JSON" is a very versatile format. By specifying a "context", a JSON file can be imported as Linked Data using the "JSONLD" importer.

Assume you have a "JSON" file about books. Peek into it using Snippet.

By giving an "ExpandContext" to the "JSONLD" importer, you can upgrade the keys "name", "author" and "image" to property IRIs (Internationalized Resource Identifiers).

The result is an RDFStore object. You can query it using SPARQL. Find books by "Kip Thorne".

Import an image of the famous physics book Gravitation.

You can also export the book data in any RDF format, say "Turtle".

Related Examples

de es fr ja ko pt-br zh