Hi everyone, I am looking for a tool that can take a JSON file (not a valid JSON-LD) plus a JSON-LD context as described in https://w3c.github.io/json-ld-syntax/#interpreting-json-as-json-ld and to output Turtle (or expanded JSON-LD or N-Triples, for example, so that it's easy to convert them to Turtle). I tried https://json-ld.org/playground/, http://rdf.greggkellogg.net/distiller, https://github.com/digitalbazaar/jsonld-cli but they all seem to be able to compact a JSON-LD context only when provided with a file that is already in JSON-LD format.
My use-case is to take a JSON output of the tool that only produces JSON and might not wish to change it's output format but may add a JSON-LD context header if I provide them with the context definition. So, a tool that would allow to quickly see what kind of Turtle serialisation my context definition would provide is quite valueable for feedback.
A library suggestion that allows this to be done is also welcome (I looked at https://github.com/ruby-rdf/json-ld but did not see a similar example). Thank you in advance!
@idare treated as IRIs or blank node identifiers due to the data model requirements. The
@ididentifies a node in a graph, and a language value (or really any literal) is not appropriate for this. You might use something that identifies a language, such as http://dbpedia.org/resource/English. but that's probably not what you're looking for.
@nest. It's worth playing with it in the playground to easily see the effect of applying a context can be: https://tinyurl.com/y37v46o5
Hope you are doing great and Safe with your family.
Actually we have react app where we had added the JSON-LD Data by following the link https://developers.google.com/search/docs/data-types/job-posting, And also the data is verified by using the tool provided by the google https://search.google.com/structured-data/testing-tool. And as well submitted the site map as per recommended. But stills our jobs are not showing up on google. I am working for a client and it needs on urgent basis as this really important for the client to have the jobs in google search for the product branding. Any help will be appreciated. Thanks in advance!!