Skip to content

Semantic layer

A semantic layer that builds the ontology and the graph

graph.build is the only platform on which you can design, test and build a semantic layer that follows W3C Semantic Web standards and is graph vendor agnostic. The model is not locked to a warehouse, a metrics product, or a graph database vendor.

What people mean

There are lots of things called a semantic layer

Here are three examples. These, and many others, do not conform to the W3C Semantic Web standards. Those standards have been rigorously tested, they are widely adopted, and they are database vendor agnostic. graph.build fully supports them.

A metrics layer on the warehouse

dbt, Cube, Looker, the warehouse vendor's own layer. A governed set of measures over tables, so two dashboards stop disagreeing about revenue. It is a good product for that job. It does not author an ontology, and it does not build a knowledge graph.

An ontology or taxonomy platform

A place to define classes, properties and concept schemes. The vocabulary is real. The graph of your records is somebody else's project: a second tool, a second team, and a mapping that drifts the moment either side changes.

A graph database's own tooling

Modelling and load, built around one store. Excellent if you have already picked that vendor and intend to stay. The model takes on the shape the database makes easy, and moving it later is a rewrite.

Both jobs, one platform

The ontology and the graph have to be the same artefact

A semantic layer that only defines meaning leaves the load to someone else. A pipeline that only moves data leaves the meaning in a slide deck. graph.build is built so neither can drift from the other.

01 · ontology

Studio is where the definitions are written

Entities, relationships, constraints and the vocabulary the business already uses, as RDF or as a labelled property graph, on one canvas. Versioned, reviewed, and published as OWL and RDFS. You test the model against real records here, so a mapping that does not conform is flagged before it runs. This is the design half of a semantic layer: not a diagram that gets redrawn after the pipeline is finished, but the model the pipeline reads.

The consequence: “what is a customer” has one owner, and the graph cannot quietly invent a second answer.

studio · ontology the vocabulary

gbo:Customer the type

legalName xsd:string

holdsAccount gbo:Account

registeredIn gbo:Jurisdiction

incorporatedOn xsd:date

02 · graph

Transformers and Writers are where the records arrive

SQL, REST APIs, Kafka and files are mapped onto that model as RML and R2RML, which are open W3C specifications. Each node exists because a row did. Change data capture keeps the graph in step. A Writer then loads it, over SPARQL, openCypher or Gremlin, into the database you already run. This is the graph-building half, and it is the half ontology platforms leave on the table.

The consequence: the semantic layer is not a description of the estate. It is the estate, typed, current, and queryable.

transformers · mapping the load
gbo:Customer/88213 gbo:Customer
gbo:Customer/88213 Ardent Logistics
gbo:Customer/88213 gbo:Account/GB-4471
gbo:Account/GB-4471 2019-04-02 (date)

n-triples 11 emitted from one record, checked against customer.ontology all passed
unmapped: 0 · a mapping that does not conform to the model is flagged before it runs

What each kind actually does

The combination is the part that is not crowded

A dedicated semantic layer has to let you design, test and build against W3C Semantic Web standards, and leave the store as a choice. Most products called a semantic layer do one of those jobs, and not against those standards. graph.build is built to do all of it.

Capability Metrics layer Ontology platform Graph DB tooling graph.build
Design, test and build on W3C Semantic Web standards Not included Not included Not included Included
Author and govern a portable ontology Not included Included Not included Included
Build a graph from source data Not included Not included Included Included
Write the same model to more than one graph database Not included Not included Not included Included
Keep the graph current as sources change Not included Not included Not included Included
Serve the definitions to an agent Not included Not included Not included Included
Define BI metrics over warehouse tables Included Not included Not included Not included

a green dot is a yes · the last row is deliberate: a metrics layer is the right tool for measures, and this is not one

Platform-agnostic

The semantic layer should outlive the store you pick this year

A semantic layer bound to one warehouse, one metrics product or one graph database is a layer you will rebuild. graph.build keeps the ontology and the mappings in the platform, in OWL, RDFS, RML and R2RML. Those are W3C standards, and they do not belong to a database vendor. The database is an output. Switching vendor is a configuration change and a re-run, which also means you can benchmark two of them on your own model before committing to either.

  • The model is a file in the platform, not a schema in a database
  • Switching target is a configuration change and a re-run
  • Benchmark two vendors on your own model before committing

one model · four targets

supply-chain.model · v14

Neo4j openCypher
Amazon Neptune Gremlin
Memgraph openCypher
RDFox SPARQL

Same model, four generated loads. Changing target is a configuration change and a re-run.

The usual questions

What people ask when they hear semantic layer

Ask something else
What is a semantic layer?

A semantic layer is the place the business writes down what its data means, so a dashboard, an analyst or an agent reads the same definition. In the warehouse world that usually means governed metrics over tables. In a knowledge graph it means an ontology plus the graph built from it, written to W3C Semantic Web standards so the model is not bound to one vendor. graph.build is the second kind: definitions you can design, test and govern, and a graph those definitions actually fill.

How is a semantic layer different from a warehouse metrics layer?

A metrics layer describes tables so two dashboards agree about a number. A graph-based semantic layer describes entities and the relationships between them, so a question that crosses systems, such as whether this customer is the account holder in billing, has an answer that is not a join you write each time. They are complementary. If you have a metrics layer, keep it. It will not author an ontology or materialize a knowledge graph, and this platform will not replace it.

What is the difference between a semantic layer and an ontology?

An ontology is the vocabulary: the classes, the properties, the rules. A semantic layer that stops there still needs a second system to become a graph of your records. graph.build treats the ontology as the first half of the layer and the mapping and load as the second, so the picture on the canvas is the thing the Transformers run. The longer explanation of ontologies is the fundamentals guide.

Is graph.build the only dedicated semantic layer that does both?

The combination is rare, and that is the claim: design, test and build, on W3C Semantic Web standards, without binding the model to one graph vendor. Metrics layers do not author ontologies or build a knowledge graph. Ontology platforms do not run the load against your systems. Graph database tooling is built around one store. If you are evaluating one that does all of it, the comparison to make is whether the model is OWL you can take with you and whether the mappings are RML you can read.

Which W3C standards does graph.build follow?

The ontology is OWL and RDFS. The graph is RDF. The mappings are RML and R2RML. Provenance uses W3C PROV. The Writers speak SPARQL, and also openCypher and Gremlin so the same model can land in a property graph store. Those are the standards that make the layer portable. A semantic layer that uses a private format is a layer you rebuild when the vendor changes.

Does platform-agnostic mean we cannot pick a database?

No. You pick one, and you can change it. The Writers speak SPARQL, openCypher and Gremlin, which covers Amazon Neptune, Neo4j, Stardog, Memgraph, GraphDB, RDFox and the rest of the compatibility page. The model does not have to be rewritten when the store does.

Can an agent use this semantic layer?

Yes. The graph is queried in the database you already run, under the access control you already put there. Studio also publishes a read-only MCP server so an assistant can read the ontology itself: the classes, the properties and the relationships, before it asks a question. That is context, not a pile of chunks. The longer version is the Context for AI page.

Next

Bring the definition you cannot get two teams to agree on

Forty-five minutes on your own domain. We will model that corner and show you the ontology and the graph as one artefact, writing into a store you choose.

  • Ontology and graph, same session
  • Any of the supported graph databases
  • You keep the model either way