langchain/docs/extras/modules
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
..
agents Improve Bing Search example (#7128) 2023-07-04 09:58:03 -06:00
callbacks Remove Promptlayer Notebook (#6996) 2023-06-30 14:30:24 -07:00
chains Support for SPARQL (#7165) 2023-07-05 13:00:16 -04:00
data_connection Fixed typos in MongoDB Atlas Vector Search documentation (#7174) 2023-07-05 12:48:00 -04:00
memory Align cassio versions between examples for Cassandra integration (#7099) 2023-07-04 04:21:48 -06:00
model_io Fix GPT4All bug w/ "n_ctx" param (#7093) 2023-07-04 08:53:52 -07:00
paul_graham_essay.txt Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
state_of_the_union.txt Doc refactor (#6300) 2023-06-16 11:52:56 -07:00