BARQ: A Vectorized SPARQL Query Execution Engine

Stardog is a commercial Knowledge Graph platform built on top of an RDF graph database with SPARQL 1.1 support. This paper describes our journey of developing a more performant query execution layer and plugging it into the Stardog's query engine. The new executor-called BARQ-is based on the known principle of processing batches of tuples at a time in most critical query operators, particularly joins. Besides presenting BARQ, the paper describes the challenges of integrating it into a mature, tightly integrated system based on the classical tuple-at-a-time Volcano model. It offers a gradual approach to overcoming the challenges that small-to-medium-size engineering teams typically face. Finally, the paper presents experimental results showing that BARQ makes Stardog substantially faster on CPU-bound queries without sacrificing performance on disk-bound and OLTP-style queries.

Authors

Publication Details

Published
2025-06-22
DOI
https://doi.org/10.1145/3735546.3735854
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BARQ: A Vectorized SPARQL Query Execution Engine

Lars Heling, Pavel Klinov, Simon Grätzer
Scientific Computing and Data Management
article

BARQ: A Vectorized SPARQL Query Execution Engine

Lars Heling, Pavel Klinov, Simon Grätzer
article en

Abstract

Stardog is a commercial Knowledge Graph platform built on top of an RDF graph database with SPARQL 1.1 support. This paper describes our journey of developing a more performant query execution layer and plugging it into the Stardog's query engine. The new executor-called BARQ-is based on the known principle of processing batches of tuples at a time in most critical query operators, particularly joins. Besides presenting BARQ, the paper describes the challenges of integrating it into a mature, tightly integrated system based on the classical tuple-at-a-time Volcano model. It offers a gradual approach to overcoming the challenges that small-to-medium-size engineering teams typically face. Finally, the paper presents experimental results showing that BARQ makes Stardog substantially faster on CPU-bound queries without sacrificing performance on disk-bound and OLTP-style queries.

Openalex Percentile: Top 84%
Scientific Computing and Data Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.