sdg:constructQuery

sdg:constructQuery carries the SPARQL CONSTRUCT text that is the whole logic of a Construct-kind script. The inbound-reference-counts script, for example, constructs ?target sdg:inboundRefCount ?count from a grouped count over sdg:dependsOn — one self-contained query, declared in the document, run by the registry on schedule.

Keeping the query in the graph makes the derived data auditable: a consumer of the output graph can resolve the ScriptDefinition and read exactly how its contents are computed.

Usage

  • Domain: sdg:ScriptDefinition with sdg:implementationKind sdg:Construct. Range: string literal containing a complete SPARQL CONSTRUCT query (including its PREFIX declarations).
  • One per Construct-kind script.
sdg:constructQuery — Sparqdown Docs