Discussion input

SDC and the Context Graph four facets

A bind-at-source mapping, written for the W3C Context Graphs Community Group.

This maps the Semantic Data Charter onto the Context Graph Protocol's four-facet model and proposes SDC as a bind-at-source arm for the tax-preparation benchmark. It is a discussion input, not a proposal to change CGP. SDC is one input that arrives at a boundary with its Context Facets already resolved. Version 0.2, September 2026.

The one-line claim

CGP measures whether a boundary crossing's Context Facets are LIT or DARK. SDC is a way to make Meaning, Structure and World arrive LIT, because it binds them into the record at authoring time. In CGP's own terms: SDC lights the facets the gauge measures.

The mapping

CGP facetQuestion it answersWhat SDC binds into the instanceState at the crossing
DataWhat crossed the boundary?the value itself, as an SDC-typed elementpresent by observation
MeaningWhat does the Data signify?the concept and definition, plus the ontology reference, bound to the elementLIT
StructureHow is it encoded, validated, generated?datatype, units, range, cardinality, rounding rule, value set, schema version, expressed in XSD 1.1 and emitted as SHACLLIT
WorldWhich external referent, authority, time?jurisdiction, effective policy version, temporal validity and source lineage in W3C PROVLIT

SDC binds all three Context Facets at authoring time, so a gauge observing SDC-bound data records low Dark Context by construction. A bare ontology-linked record, by contrast, lights Meaning but leaves Structure and World DARK: the reference range, the rounding rule and the governing authority never crossed the boundary with the value. That DARK gap is the failure mode the tax-preparation benchmark is built to measure.

Worked example: Form 1040, the standard deduction

A pipeline hands a downstream agent the value 14600.

Without bound context

One stray assumption, applying it to a different tax year or filing status, silently corrupts the return. This is the compounding effect of broken Context.

As an SDC component

The agent can now compute, refuse or ASK with the evidence in hand. Nothing has to be reconstructed at the boundary.

How it plugs in: the SHACL adapter

The group's Semantic-Alignment repository states the goal directly: organizations with existing ontologies, knowledge graphs and constraint languages should be able to express their definitions as inputs to the Meaning facet without translation loss. SDC already emits SHACL, along with XSD 1.1, OWL, RDF, JSON-LD and W3C PROV, from a single bound component. So the path is direct:

SDC component -> SHACL + PROV -> facet-table adapter -> Data / Meaning / Structure / World, LIT at source

This is an open-source adapter contribution (Apache 2.0). It does not change CGP and does not introduce a required data model. SDC is one input among many, arriving without translation loss.

Which committee that work belongs to under charter v2 is a question rather than an assumption. Format-level concerns appear to sit with Serialization and Specification, but the group is best placed to say.

Proposed benchmark contribution

Add a bind-at-source arm to the tax-preparation benchmark:

Measure Dark Fraction and the declared quality, accuracy, cost and latency across arms, then stress each by removing or corrupting context: a wrong tax year, a changed rounding rule, a swapped filing status. The hypothesis is that Arm C starts at the lowest Dark Fraction, holds accuracy, and degrades least under the broken-context stress, because the interpretive prerequisites were bound at the source rather than reconstructed at the boundary. If it does not, that is a more interesting result than if it does.

What SDC is not claiming

SDC (the Semantic Data Charter) is an open-source specification (Apache 2.0) for self-describing, structurally governed data, with meaning and its constraints bound to the record.