Natural Language Querying of GraphDB in LangChain

Natural Language Querying (NLQ) refers to the process of querying a database or an information system using natural language, such as English, instead of formal query languages, such as Structured Query Language (SQL). NLQ allows users to interact with databases or systems more intuitively and user-friendly. They can simply type or speak their queries, resembling how they would ask another person a question.

Many NLQ systems nowadays leverage the potential of Large Language Models (LLMs) to translate a natural query into a query language. People use LLMs to translate text to SQL, SPARQL, Cypher, Elasticsearch DSL or GraphQL.

The GraphDB QA Chain is an NLQ integration for Ontotext GraphDB in LangChain: a framework designed to simplify the creation of applications using LLMs. LangChain provides flexible abstractions and an extensive toolkit that enables developers to build context-aware, reasoning LLM applications and since its initial release in 2022, it has been growing in popularity.

Read more about NLQ integration for GraphDB in LangChain.

 

Scroll to Top