Summary
Investigate approaches for automatically generating an ontology (entity types + relationship types) from ingested documents, rather than hand-crafting one.
Blocked by
Nothing — this is a starting ticket.
Blocks
Steps
- Research approaches: (a) LLM extracts entity/relationship types per document and merges into a growing ontology, (b) batch analysis of all documents to generate ontology in one shot, (c) rely on Cognee's built-in auto-extraction and tune prompts, (d) hybrid approach
- Investigate Cognee's ontology support:
cognee.cognify(ontology_file_path="...") accepts OWL/RDF/TTL files
- Prototype: after ingesting 3-5 documents, use an LLM to analyze the extracted entities and propose a schema (entity types + relationship types)
- Evaluate: does a formal ontology improve extraction quality vs Cognee's default auto-extraction?
- Recommend an approach with pros/cons
Acceptance Criteria
Summary
Investigate approaches for automatically generating an ontology (entity types + relationship types) from ingested documents, rather than hand-crafting one.
Blocked by
Nothing — this is a starting ticket.
Blocks
Steps
cognee.cognify(ontology_file_path="...")accepts OWL/RDF/TTL filesAcceptance Criteria
docs/auto-ontology-research.mdexistsCloses #74