EKGF / dprod

Artifacts of the EKGF Data Product Workgroup
https://ekgf.github.io/dprod
MIT License
17 stars 6 forks source link

LOADING_REMOTE_CONTEXT_FAILED #90

Open VladimirAlexiev opened 1 week ago

VladimirAlexiev commented 1 week ago

Trying to convert https://github.com/EKGF/dprod/blob/main/examples/data-quality/example.json to another format using jena riot returns error:

riot.bat -out=trig -syntax=jsonld example.json
12:00:48 ERROR riot            :: There was a problem encountered loading a remote context [code=LOADING_REMOTE_CONTEXT_FAILED].

I'm not sure what is the problem, since

curl -vI https://ekgf.github.io/dprod/dprod.jsonld

shows the appropriate content-type:

content-type: application/ld+json

The same example in https://json-ld.org/playground/ doesn't show an error, but has other issues.

VladimirAlexiev commented 5 days ago

The reason is context nested inside context (actually dprod.jsonld is not a context at all, it's a dumped ontology).

See linked jena issue for more details.

afs commented 4 days ago

https://github.com/filip26/titanium-json-ld/issues/348