Sparqdown Lexicon Graph

This declaration publishes the Lexicon — a derived dataset that indexes every concept across the Sparqdown stack. The graph's instance reads every sdg:TypeDefinition, sdg:LabelDefinition, sdg:MetadataDefinition, sdg:HookDefinition, sdg:NamespaceDefinition, and sdg:ConstellationGraph document, plus their inbound references, and exposes the result as an in-process SPARQL endpoint. The lexicon also indexes every document that coins terms via sdg:coins, so any document contributing coined vocabulary is automatically discovered as a dependency and harvested on each rebuild.

Clients — workspace UIs, MCP servers, AI authoring assistants — query this graph to answer questions like:

  • What does sdg:hasConstraint mean and where is it used?
  • Which TypeDefinitions are children of cook:Ingredient?
  • Which documents in the corpus reference the term cog:RootEventTopologyChange?

The graph rebuilds itself on every wave that carries a material upstream change from one of its dependencies. The served revision token is a SHA-256 hash of the resulting quad set, so identical inputs round-trip to cog:GraphNotUpdating.