CONSTRUCT — rewrite the graph

Build new triples from old patterns.

0/2 done

Theory

CONSTRUCT projects results into a new triple template:

CONSTRUCT { ?n :learnsFrom ?m }
WHERE    { ?m :teaches ?n }

It's a cheap way to materialize inferred triples.

Useful graph-rewriting patterns you'll see in real systems: materialising OWL inferences without a full reasoner; reshaping one vocabulary into another (e.g. schema:authordcterms:creator); building a small per-request view of a huge graph; and exporting a subset for downstream consumers. Same query language for read, validate and transform.

Reading in progress · 0 of 2 activities done