Structure vs. Concept
Summary
Building on Heather Hedden's distinction, this article clarifies that taxonomies and ontologies serve fundamentally different purposes, despite potential modeling overlaps. Ontologies, defined by W3C specifications like RDFS and OWL, focus on structural and logical definitions, outlining classes, properties, and constraints for machine reasoning. In contrast, taxonomies, explicitly supported by SKOS, capture conceptual frameworks, organizing human ideas through preferred labels, alternative labels, and hierarchical relationships. The author argues that taxonomies are particularly valuable for Language Models (LLMs) and Retrieval-Augmented Generation (RAG) architectures because their similarity-laden text aids vector retrieval systems. Additionally, taxonomies are more readily curated by diverse human stakeholders than complex structural ontologies, making them the public-facing layer of knowledge models. The article advocates for an explicit separation of these layers, linking structural entities to conceptual anchors.
Key takeaway
For AI Architects or Ontologists designing knowledge models, recognize the distinct roles of taxonomies and ontologies. You should explicitly separate conceptual layers (SKOS) from structural layers (OWL/RDFS), linking them via a specific binding property. This approach optimizes for both human curation and machine reasoning, enhancing LLM retrieval performance and simplifying maintenance. Avoid conflating these layers to prevent difficult-to-query and hard-to-maintain knowledge graphs.
Key insights
Taxonomies capture human concepts for LLMs; ontologies define structural logic for reasoners.
Principles
- Taxonomies are conceptual frameworks, ontologies are structural definitions.
- LLMs primarily use taxonomy's similarity-space infrastructure.
- Humans agree on concepts more easily than structural definitions.
Method
Explicitly separate conceptual (SKOS) and structural (OWL/RDFS) layers in knowledge models. Link structural entities to conceptual anchors using a binding property like "entity:concept", not "skos:exactMatch".
In practice
- Use SKOS for human-curated conceptual schemes.
- Employ OWL/RDFS/SHACL for machine-readable structural schemas.
- Link structural entities to concepts for LLM discoverability.
Topics
- Taxonomy
- Ontology
- Knowledge Graphs
- SKOS
- OWL
- Language Models
- Retrieval-Augmented Generation
Best for: AI Engineer, NLP Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, AI Architect
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by The Ontologist.