Hello, I have some JSON documents that I want to load in to a Jena model. The JSON itself doesn't contain a context, since it wasn't written with the intention of being JSON-LD. I'm using the latest snapshot (2.11.2-SNAPSHOT) of Jena so it has built-in JSON-LD support.
I wrote a context for this JSON, and if I manually add the context to the JSON-LD file (I actually add a remote context, so I'm just adding a URL for the context), then I can load the data properly into a Jena model. However, I'd prefer to not have to manually add a context to each file. Is there a way to tell Jena where to load a context from? The JSON-LD spec allows for JSON documents to not contain a context, but use an HTTP Link header - so how could those documents be loaded into a Jena model? For now, I read the JSON file with a JSON parser and add the appropriate JSON syntax for a context, and then load the resulting JSON with the context into Jena, but I'd prefer a more straightforward way if there is one. Thanks! -Elli
