8000 Add RDF formats to load already formatted data · Issue #784 · topoteretes/cognee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add RDF formats to load already formatted data #784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
malte-b opened this issue Apr 25, 2025 · 3 comments
Open

Add RDF formats to load already formatted data #784

malte-b opened this issue Apr 25, 2025 · 3 comments

Comments

@malte-b
Copy link
malte-b commented Apr 25, 2025

My data is already in an RDF format which is knowledge graph ready (Turtle, N-Quads, JSON-LD). I did convert my data already to OWL but as far as I can see, there is no way to just use OWL as a data source, it always needs raw text additionally (see here).

@hajdul88
Copy link
Contributor

Hey @malte-b!

Thanks for the comment. It's nice to see you here. Yes, you are right. At the moment, we don't ingest data purely from Owl. We combine it with textual data to have a grounded knowledge of the text. We only use the owl subgraphs matching the LLM extracted knowledge graph entities or entity types. You need an owl to a knowledge graph parser to do that, or if you want to use LLMs, it's also possible to change the pydantic and extract triplets and the needed information from your owl data. Our low-level pipeline example is similar but with different Pydantic objects.

@malte-b
Copy link
Author
malte-b commented Apr 25, 2025

Thanks for the reply @hajdul88!

I see. Is there any reason for why it wouldn't be possible using only OWL? AFAIK in the ontology there can also be descriptions and comments for grounded knowledge. Or do you disregard those fields?
Right, but extracting the triplets would lose the relation information already present in the RDF data, so I would have to manually recreate the graph structure with the Pydantic objects, correct?

@Vasilije1990
Copy link
Contributor

There is no reason not to do it. We just aimed at grounding LLM generated graphs with OWL, and this definitely can be extended and an adapter between OWL and our Pydantic DataPoint model can be created.

OWL + LLM helped us solve some customer issues on our end, and we will definitely continue working on it.

Realistically, is not very high on our list of priorities at the moment, as we are working on association layers for Agentic memory right now.

But, we are open to contributions, and if this is something you'd like to see happen, we are happy support you with the implementation

@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2025
@hande-k hande-k reopened this Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
0