-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
first draft #2690
first draft #2690
Conversation
this is awesome @donaldziff ! how are you thinking about merging this in? im pretty fine to merge in and publicize and get others feedback... unless you wanted to try to formalize/generalize some parts? |
If this were to go in soon, I would like to make some minor tweaks. But the current code is simplistic, and I don't want to represent it as finished, so I'm a bit embarrassed to put it in as it is. In the longer term I'd like to:
But I would love to get feedback, and if getting this in sooner would help, then please give me a chance to make tweaks, and let's get it in! Here are some short-term questions:
Thanks for your attention @hwchase17 ! |
Yeah that place seems good for now!
Yeah questions in notebook sounds great. My main questions are what parts are generalizable vs specific to this data?
i dont think we have a great/standardized way, so for now I would say whatever is most convinient for you
probably prompt engineering... have heard this from other ppl as well |
should we merge this in? updated thoguhts? |
Yes, it's ready to go! Thanks for your patience |
thank you! will share it tmrw |
There is a long way to go on this! --------- Co-authored-by: Max Ziff <max.ziff@concur.com>
# [SPARQL](https://www.w3.org/TR/rdf-sparql-query/) for [LangChain](https://github.com/hwchase17/langchain) ## Description LangChain support for knowledge graphs relying on W3C standards using RDFlib: SPARQL/ RDF(S)/ OWL with special focus on RDF \ * Works with local files, files from the web, and SPARQL endpoints * Supports both SELECT and UPDATE queries * Includes both a Jupyter notebook with an example and integration tests ## Contribution compared to related PRs and discussions * [Wikibase agent](#2690) - uses SPARQL, but specifically for wikibase querying * [Cypher qa](#5078) - graph DB question answering for Neo4J via Cypher * [PR 6050](#6050) - tries something similar, but does not cover UPDATE queries and supports only RDF * Discussions on [w3c mailing list](mailto:semantic-web@w3.org) related to the combination of LLMs (specifically ChatGPT) and knowledge graphs ## Dependencies * [RDFlib](https://github.com/RDFLib/rdflib) ## Tag maintainer Graph database related to memory -> @hwchase17
There is a long way to go on this!