An ontology together with data that follows it is called a knowledge graph. A blueprint alone does nothing; the value appears once data is loaded and queries run.
Where it is kept
A database that stores RDF and answers SPARQL is a triple store. The web address that accepts queries is a SPARQL endpoint, and anyone can send a question to a public one.
Asking several places at once
A SPARQL query can step out to another endpoint and continue there. If both sides use the same IRIs, the data joins without being copied into one place. This is where the linked data principles pay off.
SELECT ?dataset ?title ?creatorName WHERE {
?dataset a dcat:Dataset ; dcterms:title ?title ; dcterms:creator ?creator .
SERVICE <https://people.example.org/sparql> { # continue the question in a graph elsewhere
?creator foaf:name ?creatorName .
}
}Where it is used
| Field | What it does | Uses |
|---|---|---|
| Web search | Understands products, events and reviews on a page and shows them in results | schema.org |
| Life sciences | Integrates gene, disease and phenotype data across laboratories | Gene Ontology and other OBO ontologies |
| Public data | Publishes each agency's data catalogue in one form | DCAT |
| Data management | Tracks where data came from and how it was processed | PROV-O |
| IoT and buildings | Interprets sensor and equipment readings regardless of device type | SOSA/SSN, SAREF, BOT |
With language models
A language model handles sentences well and cannot vouch for where a fact came from. A knowledge graph is the reverse. So the two are increasingly combined: the part of the graph relevant to a question is retrieved and given to the model as grounding, or the model extracts facts from documents and files them under the classes and properties of an ontology. Either way the ontology is the reference for what to extract and what to call it.
Having come this far, you can read nearly every item on an ontology page here. Pick an ontology in your field and start by opening its hierarchy tree.