# External Ontologies

## General Data Transformations

Ontologies are structured data writing in RDF/XML syntax or in OWL. They are great resources to express very complex and precise domain-specific knowledge. In practice, they aren't that useful by itself because:

* Not human readable, and you'll need special software like Protege
* T-box structured
* Good for schemas, bad for analysis

For more information about the different ontologies in the biomedical space, we recommend checking out the documentation on [obo foundry](https://obofoundry.org/).&#x20;

For practical reasons we transform ontologies from their T-Box structures into A-Box schemas. In other words, we map a "Class" in an ontology as an Object in the data graph itself.&#x20;

<figure><img src="/files/s6XgdOUvxlslyXjj8o60" alt=""><figcaption><p>T-Box pattern for diseases</p></figcaption></figure>

Inside our labelled property graph, we can use labels to denote the Conceptual hierarchies of your core ontology.

<figure><img src="/files/ptiOSK22sxnVSR1xc8kR" alt=""><figcaption><p>A-Box pattern with labels</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.biobox.io/guide/data-packages/external-ontologies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
