langchain/docs/extras/modules/chains/additional
felixocker db98c44f8f
Support for SPARQL (#7165)
# [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
2023-07-05 13:00:16 -04:00
..
extraction.ipynb Harrison/refactor functions (#6408) 2023-06-18 23:13:42 -07:00
flare.ipynb Add New Retriever Interface with Callbacks (#5962) 2023-06-30 14:44:03 -07:00
graph_cypher_qa.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
graph_hugegraph_qa.ipynb Add HugeGraphQAChain to support gremlin generating chain (#7132) 2023-07-04 10:21:21 -06:00
graph_kuzu_qa.ipynb Add KuzuQAChain (#6454) 2023-06-20 22:07:00 -07:00
graph_nebula_qa.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
graph_qa.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
graph_sparql_qa.ipynb Support for SPARQL (#7165) 2023-07-05 13:00:16 -04:00
hyde.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_bash.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_checker.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_math.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_requests.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_summarization_checker.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
openai_functions_retrieval_qa.ipynb Feat: Add a prompt template parameter to qa with structure chains (#6495) 2023-06-21 00:23:36 -07:00
openai_openapi.yaml Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
openapi_openai.ipynb openapi -> openai nit (#6667) 2023-06-23 15:09:02 -07:00
openapi.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
pal.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
qa_citations.ipynb Harrison/refactor functions (#6408) 2023-06-18 23:13:42 -07:00
tagging.ipynb Harrison/refactor functions (#6408) 2023-06-18 23:13:42 -07:00
vector_db_text_generation.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00