> For the complete documentation index, see [llms.txt](https://iea-task-43.gitbook.io/iea-task-43-glossary/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iea-task-43.gitbook.io/iea-task-43-glossary/terms/ontology.md).

# Ontology

<details>

<summary>An ontology is an explicit specification of a conceptualization. [<a href="https://doi.org/10.1006/knac.1993.1008">Gruber, 1993</a>]</summary>

Conceptualisation: abstract model (of a domain, with relevant concepts and relations) Explicit: the meaning of all concepts is defined.

In computer science context, the specification has to be **formal** i.e. machine readable.

It’s possible to view ontology as a directed graph with [classes](/iea-task-43-glossary/terms/class.md) (concepts) as nodes, and the [properties](/iea-task-43-glossary/terms/property.md) (roles) as edges. In such a view, a [taxonomy](/iea-task-43-glossary/terms/taxonomy.md) is a specific case of the abovementioned graph, with edges only of the type : “IS-A” (subClassOF)

To add semantic expressevity, in addition to "IS-A" property, it is possible to add other properties to express relationships between classes from the taxonomy. For example: “WindTurbine HAS Blade” or “ Sensor MEASURES PhysicalQuantity.

It is a way of showing the properties of a subject and how they are related. Metadata ontologies capture how data sets are connected.

Therefore for the purpose of knowledge representation in the context of metadata: An ontology is a formal explicit description of concepts in a domain of discourse (classes (sometimes called concepts)), properties of each concept describing various features and attributes of the concept (slots, sometimes called roles or properties), and restrictions on slots (facets, sometimes called role restrictions). \[See [Ontology 101](https://protege.stanford.edu/publications/ontology_development/ontology101.pdf)]

**Types of Ontologies:**

* Based on Level of generality \[[Guarino,1998](https://csis.pace.edu/~marchese/CS835/Lec9/guarino98formal.pdf)]:
  * Top Level Ontology
  * Domain Ontology
  * Task Ontology
  * Application Ontology
* Based on Level of Semantic Expressivity \[[Lassila,2001](http://www.ida.liu.se/ext/epa/ej/etai/2001/018/01018-etaibody.pdf)]
  * Controlled Vocabulary (Terms)
  * Glossary (Data Dictionary)
  * Formal “IS-A” (Formal Taxonomy)
  * Description Logics
  * First Order Logics

Example: OWL Ontology Language is based on Description Logics, OWL Ontology consists of : Classes, Properties (Roles), Individuals (Instances of classes) OWL OntologyAssumptions: open world (absence of information is NOT valued as False), and No unique names (ex. WIndTurbineA can be same as WIndTurbineB, unless expressed explicitly)

</details>

\*Note

It can be useful to classify ontologies as being designed to deal with an open world or closed world. In other words, whether or not the content of the ontology is modular.

Formally, the open and closed world ontologies can be described as "assertion box" \[[Reiter, 1980](https://dl.acm.org/doi/pdf/10.1145/322186.322189)] \[[Brodie, 2012](https://link.springer.com/book/10.1007/978-1-4612-5196-5) and "terminology box" \[[Lutz, 2012](http://www.informatik.uni-bremen.de/tdki/research/papers/2012/LutSeyWo-DL12.pdf). The assertion box is essentially a database, which expresses member assertions. The terminology box is designed for modular schema, specifying concepts and relations. Using this encoded knowledge many diverse databases can be queried using the same semantics. It is possible to represent subclass relationships ($\subseteq$) and equivalence ($\equiv$), conjunction ($\cap$), disjunction ($\cup$), negation ($\neg$), property restrictions ($\forall$, $\exists$), tautology ($\top$), and contradiction ($\bot$).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://iea-task-43.gitbook.io/iea-task-43-glossary/terms/ontology.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
