mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
db98c44f8f
# [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](https://github.com/hwchase17/langchain/pull/2690) - uses SPARQL, but specifically for wikibase querying * [Cypher qa](https://github.com/hwchase17/langchain/pull/5078) - graph DB question answering for Neo4J via Cypher * [PR 6050](https://github.com/hwchase17/langchain/pull/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 |
||
---|---|---|
.. | ||
extraction.ipynb | ||
flare.ipynb | ||
graph_cypher_qa.ipynb | ||
graph_hugegraph_qa.ipynb | ||
graph_kuzu_qa.ipynb | ||
graph_nebula_qa.ipynb | ||
graph_qa.ipynb | ||
graph_sparql_qa.ipynb | ||
hyde.ipynb | ||
llm_bash.ipynb | ||
llm_checker.ipynb | ||
llm_math.ipynb | ||
llm_requests.ipynb | ||
llm_summarization_checker.ipynb | ||
openai_functions_retrieval_qa.ipynb | ||
openai_openapi.yaml | ||
openapi_openai.ipynb | ||
openapi.ipynb | ||
pal.ipynb | ||
qa_citations.ipynb | ||
tagging.ipynb | ||
vector_db_text_generation.ipynb |