Closed VladimirAlexiev closed 1 month ago
Getting example.json
returns an HTML document; the github display of the file.
Use the "raw", the processing is all inside Titanium JSON-LD.
Internally, there is a nested stacktrace that says:
A keyword [@context] redefinition has been detected.
My guess is that it is because of the array but I'm not a JSON-LD expert.
Thanks @afs !
The reason is context nested inside context (actually dprod.jsonld is not a context at all, it's a dumped ontology). So the Playground is more lenient than Titanium (thus Riot). But really dprod.jsonld is to blame.
Thank for the PR you made! I'll close this specific issue.
Version
5.1.0
Question
https://github.com/EKGF/dprod/issues/90:
Trying to convert https://github.com/EKGF/dprod/blob/main/examples/data-quality/example.json with riot causes error:
The context is https://ekgf.github.io/dprod/dprod.jsonld and:
content-type: application/ld+json
(reading through the JSONLD spec, I can't see whether it should bejson
orld+json
but all examples use.jsonld
for the context URL)So what may be the reason for the problem?
message=Unexpected response code [403]
but that reason is not printed byriot
removed the printStackTrace when "loading remote context failed"
but that's just in a test