Skip to main content

SPARQL Queries

Another benefit of aligning with RDF is SPARQL. SPARQL (pronounced “sparkle”) is a query language developed specifically for finding knowledge patterns stored in a RDF knowledge graph. SPARQL is also managed by the W3C with full details here. There’s an extremely large set of mature pattern extraction algorithms using SPARQL that are compatible with TrustGraph for extracting subgraphs.

tip

Being able to leverage pattern extraction algorithms in SPARQL is development path that will likely yield significant performance gains in the RAG responses.