An ontology is the “rulebook” or blueprint behind a knowledge graph. It defines the categories, relationships, and rules for how concepts connect. For example, in a medical ontology: - “Doctor” is a type of “Person” - “Treats” is a relationship between “Doctor” and “Patient” - “Disease” is a condition that a “Patient” can have Ontologies ensure consistency so different systems and teams can speak the same “data language.”