VladimirAlexiev opened a new issue, #2739:
URL: https://github.com/apache/jena/issues/2739

   ### 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:
   ```
   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].
   ```
   The context is https://ekgf.github.io/dprod/dprod.jsonld and:
   - it's served as `content-type: application/ld+json` (reading through the 
JSONLD spec, I can't see whether it should be `json` or `ld+json` but all 
examples use `.jsonld` for the context URL)
   - the certificate is valid
   - example.json works ok on the JSONLD Playground
   
   So what may be the reason for the problem?
   - 
https://stackoverflow.com/questions/41494678/how-can-i-override-the-context-when-loading-json-ld-in-jena
 correctly points out that the error is generic and may encompass a whole gamut 
of problems
   - https://github.com/apache/jena/issues/1765 shows an extra reason, eg 
`message=Unexpected response code [403]` but that reason is not printed by 
`riot`
   - 
https://github.com/apache/jena/commit/44b5535dc47b0159a74ff93e4d41e71e3c69c4ec 
says `removed the printStackTrace when "loading remote context failed"` but 
that's just in a test
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to