sd:Document

sd:Document is the class of Documents — the stable, IRI-identified entities the whole platform is organised around. A Document carries no content itself: content lives in immutable Versions, and the Document is the identity those Versions hang off. In every Sparqdown frontmatter, this:document denotes the Document and the opening assertions type it: this:document a sd:Document, sdg:SparqdownDocument, ….

The split between Document and Version is what makes references stable: other documents depend on a Document IRI, while the registry's topology tracks which Version is latest (sdg:latestVersion) and which Versions supersede which (sdg:supersedes).

Usage

  • Every .sd frontmatter types this:document with sd:Document (plus more specific classes such as sdg:SparqdownDocument or one of the definition kinds).
  • Document-kind classes in the registry vocabulary (sdg:TypeDefinition, sdg:LabelDefinition, sdg:MetadataDefinition, …) declare rdfs:subClassOf sd:Document.
  • The Document IRI is the resolvable address of the concept — for vocabulary documents it is the term IRI itself.