Semantic Medallion
A medallion architecture variant where the Gold layer is an RDF knowledge graph.
RDF, ontology, representative data, and executable SPARQL for a Gold-layer knowledge graph-powered data catalog.
The article reframes Bronze-Silver-Gold as semantic enrichment: Bronze lands raw data, Silver adds stable IRIs, and Gold publishes harmonized RDF. This artifact set turns that pattern into an executable graph.
A medallion architecture variant where the Gold layer is an RDF knowledge graph.
The practice of assigning stable, globally unique identifiers to entities during the Silver layer.
Harmonized RDF graph mapped to a shared ontology and published for SPARQL queries.
Unified customer records from CRM, billing, and registry.
DCAT catalog describing the generated customer knowledge graph.
A harmonized customer entity identified by a stable IRI.
A billing account associated with a customer.
A contractual relationship or agreement involving a customer.
Each query is modeled in RDF as schema:SoftwareSourceCode, targets URIBurner SPARQL, and uses the DAV named graph IRI for the generated Turtle graph.
Source image query selected customers with active contracts and balances greater than zero.
PREFIX sm: <https://moderndata101.substack.com/p/the-semantic-medallion#>
SELECT ?customer ?name ?balance ?contractStatus
WHERE {
GRAPH <https://linkeddata.uriburner.com/DAV/demos/daas/semantic-medallion-gpt5-chat-1.ttl> {
?customer a sm:Customer ;
sm:name ?name ;
sm:hasBillingAccount ?account ;
sm:hasContract ?contract .
?account sm:outstandingBalance ?balance .
?contract sm:status ?contractStatus .
FILTER(?contractStatus = "Active" && ?balance > 0)
}
}
Source image query used DCAT distribution metadata and customer instances to discover datasets.
PREFIX sm: <https://moderndata101.substack.com/p/the-semantic-medallion#>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT ?dataset ?title
WHERE {
GRAPH <https://linkeddata.uriburner.com/DAV/demos/daas/semantic-medallion-gpt5-chat-1.ttl> {
?dataset a dcat:Dataset ;
dct:title ?title ;
dcat:distribution ?dist .
?dist dcat:accessURL ?endpoint .
?customer a sm:Customer .
}
}
Source image query used <https://example.org/customer/C-001> ?property ?value.
PREFIX sm: <https://moderndata101.substack.com/p/the-semantic-medallion#>
SELECT ?property ?value
WHERE {
GRAPH <https://linkeddata.uriburner.com/DAV/demos/daas/semantic-medallion-gpt5-chat-1.ttl> {
sm:customer-C-001 ?property ?value .
}
}
Source image query grouped :Customer records by :sourceSystem.
PREFIX sm: <https://moderndata101.substack.com/p/the-semantic-medallion#>
SELECT ?source (COUNT(?customer) AS ?records)
WHERE {
GRAPH <https://linkeddata.uriburner.com/DAV/demos/daas/semantic-medallion-gpt5-chat-1.ttl> {
?customer a sm:Customer ;
sm:sourceSystem ?source .
}
}
GROUP BY ?source
Explore the generated ontology, representative instances, query examples, DCAT metadata, and provenance graph derived from the companion RDF.
Graph data embedded from companion RDF at generation time. Click the graph to arm zoom; click outside the explorer to release page scrolling.