Knowledge graphs
Ontology
In computing, an ontology defines the kinds of things a system describes, the relationships between them and the consequences of its definitions. It can answer a question that a topic hierarchy alone cannot, such as which organization developed a particular release. [1]
Article revision recorded
Start with a question
Ask what someone should be able to retrieve or infer. To answer which research lab released a model, define Organization, Model and Release. Decide whether the developer of a model and the publisher of a particular release can be different organizations. Those choices belong in the vocabulary and its documentation. [1] [2]
How inference works
A subclass relation applies to every member of the narrower class. Declaring that a ModelRelease is a Release lets a reasoner infer that each individual ModelRelease is also a Release. OWL also expresses properties between individuals, equivalent classes and disjoint classes. Add an axiom only when its consequences hold for every case it covers. [3] [2]
Checking incoming data
OWL’s open-world semantics lets unknown facts remain unknown. A wiki might additionally require each submitted release record to contain a source URL. A SHACL shape can check that concrete requirement and report a missing value. Keep the source of each factual assertion available for inspection. [4]
Examples
Beginner
A person, an organization and an event are different kinds of entity. A person can participate in a release event and an organization can publish it. [1] [2]
Intermediate
If WikiLab is recorded as an Organization and releasedBy links release R to WikiLab, a query can return the publishing organization directly. Add a different property for the model’s training organization if those roles matter. [3] [2]
Advanced
Test two fixtures against a release shape that requires at least one source URL. A release with a source should pass. A release with an empty source list should yield a validation result even though the open-world ontology remains consistent. [4]
Timeline
Related articles
Linked from
References
- Thomas R. Gruber · A Translation Approach to Portable Ontology Specifications tomgruber.org
- W3C · OWL 2 Primer, second edition www.w3.org
- W3C · OWL 2 Document Overview www.w3.org
- W3C · Shapes Constraint Language www.w3.org
- W3C · OWL Web Ontology Language Overview www.w3.org
Revision history
- 2026-11-25 Publish current guides, examples and practice links
039b44cb5· View changes - 2026-11-25 Index the sourced subject histories
0d3976156· View changes