On 11/05/2022 14:02, Jean-Marc Vanel wrote:
Le mer. 11 mai 2022 à 11:51, Andy Seaborne <[email protected]> a écrit :


On 11/05/2022 09:12, Jean-Marc Vanel wrote:

As a side question, is there a way to configure riot or Jena API to have
(more) verbose JSON-LD error messages, possibly with line numbers.

Does titanium provide this information?


line numbers, not currently ;
but JsonPath could be produced by Titanium ; see (stale) issue
https://github.com/filip26/titanium-json-ld/issues/71

Something to discuss with Titanium.
I'm sure a PR to that project will be welcome.

See also my issue where discussion about JSON-LD error messages started:
https://github.com/filip26/titanium-json-ld/issues/59

Maybe Jena could catch com.apicatalog.jsonld.JsonLdError ...

It does - see LangJSONLD11.handleJsonLdError().


Anyway the question remains of why does Titanium succeed where Jena / riot
fails on the same data ?
How can I help investigate ?

by providing a complete minimal example.

All the information so far is

"""
There was a problem encountered loading a
remote context
"""

Could you produce a small example from 78272_pp-absolute.jsonld?

This works for me.

"@context": "https://www.schema.org";,



NOTE, Titanium has a CLI :

JSON-LD-CLI <https://github.com/filip26/json-ld-cli> is a native command
line utility for Ubuntu, Mac, Windows

Reply via email to