Ontotext GraphDB
Ontotext GraphDB is a graph database and knowledge discovery tool compliant with RDF and SPARQL.
依赖项
安装 rdflib 包
pip install rdflib==7.0.0
图形问答链
将您的 GraphDB 数据库与聊天模型连接,以获取数据洞察。
查看笔记本示例 这里。
from langchain_community.graphs import OntotextGraphDBGraph
from langchain.chains import OntotextGraphDBQAChain