Closed templth closed 5 years ago
I expect to have the comprehensive content for an element within the data callback but got this
This library parses JSON-LD to RDF triples/quads, so this does not directly allow you to do what you want.
I'm not sure how you envision a comprehensive content for an element, but additional RDF(JS) library may exist for this.
Thanks very much for your answer!
Agreed that it doesn't seem the right approach for my needs...
Hello,
I'm trying to parse structured JSON-LD files with the library.
The file is a structured JSON-LD so all the elements I'm interested in are located at the root of the
@graph
:I can parse the file using the following code:
I expect to have the comprehensive content for an element within the
data
callback but got this:Thanks for your help! Thierry