langchain/tests/integration_tests
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
..
agent Add Multi-CSV/DF support in CSV and DataFrame Toolkits (#5009) 2023-05-25 14:23:11 -07:00
cache feat: add Momento as a standard cache and chat message history provider (#5221) 2023-05-25 19:13:21 -07:00
callbacks split up batch llm calls into separate runs (#5804) 2023-06-24 21:03:31 -07:00
chains Support for SPARQL (#7165) 2023-07-05 13:00:16 -04:00
chat_models Harrison/split schema dir (#7025) 2023-07-01 13:39:19 -04:00
document_loaders feat: enable UnstructuredEmailLoader to process attachments (#6977) 2023-07-01 06:09:26 -07:00
embeddings Harrison/octo ml (#6897) 2023-06-28 23:04:11 -07:00
examples feat: enable UnstructuredEmailLoader to process attachments (#6977) 2023-07-01 06:09:26 -07:00
graphs Add HugeGraphQAChain to support gremlin generating chain (#7132) 2023-07-04 10:21:21 -06:00
llms Use serialized format for messages in tracer (#6827) 2023-07-04 10:19:08 +01:00
memory Harrison/split schema dir (#7025) 2023-07-01 13:39:19 -04:00
prompts
retrievers Rm retriever kwargs (#7013) 2023-07-02 08:22:24 -06:00
utilities Support params on GoogleSearchApiWrapper (#6810) (#7014) 2023-07-02 01:18:38 -06:00
vectorstores Remove None default value for FAISS relevance_score_fn (#7085) 2023-07-03 10:11:49 -06:00
__init__.py
.env.example adding MongoDBAtlasVectorSearch (#5338) 2023-05-30 07:59:01 -07:00
conftest.py
test_document_transformers.py
test_kuzu.py Add KuzuQAChain (#6454) 2023-06-20 22:07:00 -07:00
test_nebulagraph.py Harrison/nebula graph (#5865) 2023-06-07 21:56:43 -07:00
test_nlp_text_splitters.py
test_pdf_pagesplitter.py
test_schema.py Add 'get_token_ids' method (#4784) 2023-05-22 13:17:26 +00:00
test_text_splitter.py chore: spedd up integration test by using smaller model (#6044) 2023-06-12 13:27:10 -07:00