langchain/tests/integration_tests/chains
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
..
openai_functions Add support for passing headers and search params to openai openapi chain (#6782) 2023-06-27 09:09:03 -07:00
__init__.py initial commit 2022-10-24 14:51:15 -07:00
test_graph_database_sparql.py Support for SPARQL (#7165) 2023-07-05 13:00:16 -04:00
test_graph_database.py fix neo4j schema query (#6381) 2023-06-19 22:48:35 -07:00
test_memory.py Harrison/memory refactor (#1478) 2023-03-07 07:59:37 -08:00
test_pal.py Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
test_react.py Harrison/tools exp (#372) 2022-12-18 21:51:23 -05:00
test_retrieval_qa.py Rm retriever kwargs (#7013) 2023-07-02 08:22:24 -06:00
test_self_ask_with_search.py Google Search API integration with serper.dev (wrapper, tests, docs, … (#909) 2023-02-15 22:47:17 -08:00
test_sql_database.py Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00