Replies: 3 comments
-
|
Hi <@605959891273908243> thanks for sharing all the details here!! To answer your questions:
let us know if this helps!! |
Beta Was this translation helpful? Give feedback.
-
|
How could I create an ontology for that case? How would you reformat it? I've tried everything. I don't know if I'm setting up the ontology wrong or what. I've even lost hope. |
Beta Was this translation helpful? Give feedback.
-
|
DM'd you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
=Hi Cognee Community,
I can't get Cognee to map data to my custom OWL. Logs show it loads successfully, but nodes are classified as generic IndexSchema instead of my classes (e.g., ProjectTask). Metadata shows "ontology_valid": false.
Setup: FalkorDB, Qdrant, RDF/XML (.owl).
Ontology Snippet: Defined User, Message, ProjectTask with ObjectProperties like hasSent. (Code attached).
Data (data.json):
JSON
[{"timestamp": "2026-01-20T11:00:00Z", "user_id": "user_id_103", "role": "Backend", "content": "Done with auth endpoint.", "task_mention": "Auth API"}]
3. Python Snippet:
Python
await cognee.cognify(config = {
"ontology_config": {"ontology_resolver": RDFLibOntologyResolver(ontology_file = path), "infer_relationships": True},
"graph_config": {"force_ontology_mapping": True}
})
Logs: Lookup built: 5 classes, 0 individuals [OntologyAdapter].
Questions:
Does cognee.add() require a specific format to trigger OWL class detection?
Why is ontology_valid: false if classes are in the lookup?
Are there mandatory rdfs:label conventions for LLM recognition?
Thanks!
This discussion was automatically pulled from Discord.
Beta Was this translation helpful? Give feedback.
All reactions