Syntactic Sugar for Syntactic Queries: Sequential Representations for Dependency Queries

Niklas Deworetzki, Arianna Masciolini


Abstract
Syntactic query languages such as Grew and dep_search allow looking for grammatical patterns in linguistically annotated corpora. However, these languages are often unsupported by large-scale corpus management tools, where queries are of an essentially sequential nature. In this paper, we present CQP/Tree, a tool to convert syntactic queries into CQL, the Corpus Query Language used in Corpus Workbench, SketchEngine, Korp and several other such systems. In this framework, syntactic queries act as _syntactic sugar_: they allow expressing complex CQL queries in a more readable and concise fashion, thus bridging the gap between expressive linguistic search and large-scale corpora. CQP/Tree is available as a web and command-line tool, as well as an open source Python library.
Anthology ID:
2026.lrec-main.914
Volume:
Proceedings of the Fifteenth Language Resources and Evaluation Conference
Month:
May
Year:
2026
Address:
Palma de Mallorca, Spain
Editors:
Stelios Piperidis, Núria Bel, Henk van den Heuvel, Nancy Ide, Simon Krek, Antonio Toral
Venue:
LREC
SIG:
Publisher:
ELRA Language Resource Association
Note:
Pages:
11669–11678
Language:
URL:
https://preview.aclanthology.org/ingest-lrec/2026.lrec-main.914/
DOI:
Bibkey:
Cite (ACL):
Niklas Deworetzki and Arianna Masciolini. 2026. Syntactic Sugar for Syntactic Queries: Sequential Representations for Dependency Queries. International Conference on Language Resources and Evaluation, main:11669–11678.
Cite (Informal):
Syntactic Sugar for Syntactic Queries: Sequential Representations for Dependency Queries (Deworetzki & Masciolini, LREC 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-lrec/2026.lrec-main.914.pdf