ad-freiburg/qlever

Graph database implementing the RDF and SPARQL standards. Very fast and scales to more than a trillion triples on a single commodity machine

What it solves

QLever is a graph database that handles the RDF and SPARQL standards. Its main selling point is handling very large datasets—hundreds of billions of data points (triples), even over a trillion—on a single ordinary PC or server, where other similar databases typically need massive clusters or struggle with performance. It aims to be much faster than its competitors on most queries.

How it works

QLever implements the full SPARQL 1.1 query language, which is the standard way to ask complex questions of graph data. It loads the data into an index that allows for fast lookups. Beyond standard querying, it offers unique built-in capabilities: advanced text search, context-sensitive autocompletion of queries, efficient spatial queries (for geometric objects), and materialized views. It can run in a traditional client-server setup, or it can be embedded directly inside your own C++ code to run in-process. Everything is controlled through a single command-line tool called qlever.

Who it’s for

Researchers and developers working with large knowledge graphs—such as Wikidata, OpenStreetMap, UniProt, or DBLP—who need to query massive RDF datasets efficiently on a single machine. It is also for anyone building applications that require a high-performance, standards-compliant graph database, whether as a server or embedded in C++ code. It is open source under the permissive Apache 2.0 license.

Highlights

  • Handles datasets with hundreds of billions of triples (even over a trillion) on a single standard PC or server.
  • Implements the full SPARQL 1.1 standard, including federated queries, named graphs, and updates.
  • Offers unique features like advanced text search, context-sensitive autocompletion, and efficient spatial queries.
  • Can visualize very large numbers of geometric objects on a map.
  • Can be used as an embedded database running in-process inside your own C++ code.
  • Open source under the permissive Apache 2.0 license.
  • Available via native packages (Debian, Ubuntu, macOS) and Docker/Podman images.

Related

  • Project
  • Project
  • Project
  • Project
  • Project