Triples come in two layers. "Nabi is a cat" is a fact about one particular thing. "A cat is a mammal" is a fact about a kind of thing. An ontology is mostly about the second.
| Term | Meaning | Example |
|---|---|---|
| Class | A kind of thing | Cat, Person, City |
| Individual (instance) | One particular member of a class | Nabi, Minji, Seoul |
| Property | A relation between two things, or a thing and a value | keeps, lives in, name |
| Hierarchy | Broader and narrower classes | Cat ⊂ Mammal ⊂ Animal |
| Domain and range | The classes allowed as subject and object of a property | keeps: Person → Animal |
The part that states kinds and rules (the TBox) is the ontology. Facts about particular things (the ABox) are data that use it. Together they are often called a knowledge graph.
Reading a real ontology
PROV-O is built around three classes. An Entity is produced by an Activity, and an Agent is responsible for that activity. Properties such as wasGeneratedBy, used and wasAttributedTo connect the three.
On an ontology page here, classes are nodes, subclass relations are solid arrows, and properties are dashed arrows from domain to range. Select a node to read the original definition and the properties attached to it.
実際のオントロジーで確認する
- SOSA Sensor, Observation, Sample, and Actuator
How sensors, observations and observed features connect.