This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Description
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.:
const framed = await jsonld.frame(obj, frame);
Change to:
const framed = await jsonld.frame(doc, frame, {embed:'@always'});