pub fn derive_jsonld_triples<C: Client + Resource + Clone>(
query: Query<'_, '_, (Entity, &Wrapped<GreenNode>, &Label, &Source), With<JsonLdLang>>,
sender: Res<'_, CommandSender>,
client: Res<'_, C>,
registry: Res<'_, Registry>,
)Expand description
Re-derive JSON-LD triples for every open JSON-LD document.
All documents are processed sequentially inside one spawned task. A
single CommandQueue is sent at the end that inserts all derived elements
at once and runs ParseLabel exactly once. This means
derive_triples_system, load_store, and derive_ontologies each execute
once for the whole batch instead of once per document — the dominant cost
during initial CJS workspace loading.