Open brechtvdv opened 1 year ago
The JSON-LD framing algorithm only embeds triples of a subject the first time it is encountered. Add @embed: true when framing so subjects are always shown in full.:
@embed: true
const framed = await jsonld.frame(obj, frame);
Change to:
const framed = await jsonld.frame(doc, frame, {embed:'@always'});
The JSON-LD framing algorithm only embeds triples of a subject the first time it is encountered. Add
@embed: true
when framing so subjects are always shown in full.:Change to: