Skip to main content

What is an ontology

An ontology is an external vocabulary of entity types and relations. cognify uses it to match the entities it extracts to known concepts.

How ontologies work in Rust

An ontology grounds extracted entities in external, structured knowledge. cognee-rust loads RDF/OWL ontologies (Turtle, RDF/XML, N-Triples, JSON-LD) and uses them for fuzzy entity matching and subgraph enrichment during cognify. The default is a no-op resolver (no grounding). Rust: OntologyResolver trait in cognee-ontology, with NoOpOntologyResolver (default) and RdfLibOntologyResolver. Enabled per run via cognify’s --ontology-file; see configuration.

Ontology guide

Use an ontology step by step

Cognify

Where ontologies are applied

Cognify configuration

Ontology settings