Declarative Amsterdam

Presentations and tutorials

Active filters:

RumbleDB: Towards full XQuery 3.1 support and a modern developer experience

Cai JinqingORCID logoETH
Henrik PätzoldETH

RumbleDB is an open-source query engine for processing large, heterogeneous datasets using the declarative languages JSONiq and XQuery. At the previous Declarative Amsterdam, RumbleDB introduced its initial support for XQuery 3.1, bringing XML processing alongside JSON to its local and distributed execution engine.

In this presentation, I will present the results of my Master’s thesis, whose goal is to bring RumbleDB to full XQuery 3.1 support. This involves implementing missing language features, including tumbling and sliding windows, as well as adding XML Schema support. In parallel, Henrik has been extending RumbleDB’s coverage of XQuery built-in functions. Progress is systematically validated against the official QT3 test suite. At the time of submission, RumbleDB passes 90.3% of the test suite, with some additional cases intentionally skipped, and the thesis aims to reach full coverage by its completion.

In parallel, I developed a new language server for both JSONiq and XQuery, together with a Visual Studio Code extension, to provide a modern development experience for these languages. It supports features like document formatting, query execution directly from the editor, module-aware analysis, and inline completion. It also exposes RumbleDB’s type information through hover, allowing developers to inspect the inferred type of an expression directly in their source code.

Together, these contributions aim to make RumbleDB both a comprehensive implementation of XQuery 3.1 and a practical, modern development environment for declarative querying over heterogeneous data.

Presentation, 13 November 2026

Jimmy Cai is a Master’s student in Computer Science at ETH Zurich. As part of his master’s thesis, he is contributing to RumbleDB by expanding its XQuery 3.1 support and developing a language server for XQuery and JSONiq with modern IDE features. His broader interests include programming languages, databases, compilers, and open-source software development.

Ghislain Fourny is a senior scientist at ETH Zurich with a focus on databases and game theory. He holds a Master of Science in Computer Science and a Doctorate of Science from ETH Zürich. Ghislain teaches Big Data courses for computer scientists as well as non-computer scientists and is making his textbook publicly available online. His research interests cover query languages for large-scale, heterogeneous, nested datasets, as well as rebooting game theory with a non-Nashian form of free choice. Ghislain was a member of the W3C XML Query working group from 2011 to 2014 and is a co-designer of the JSONiq query language and of the RumbleDB engine.

background Layer 1 prag Twitter_Logo_Blue