Debido al alto tráfico generado por robots, aplicamos límites en el número de peticiones permitidas por cliente y bloqueos por IP automáticos. Si haces un uso legítimo y estás teniendo problemas, avísanos para reevaluar nuestras políticas de bloqueo. Disculpa las molestias.

Artículo:
Debugging Empty Answers in Graph Queries

Cargando...
Miniatura

Editor

Sistedes

Publicado en

Actas de las XXV Jornadas de Programación y Lenguajes (PROLE 2026)

Licencia Creative Commons

Resumen

The declarative nature of the Cypher graph query language allows for the expression of complex structural patterns, yet it provides minimal feedback when a query yields an empty result set. This presents a significant challenge for developers in distinguishing between schema mismatches, unsatisfiable predicates, and missing graph connectivity. In this paper, we present a specialized debugger for Cypher, developed using the Cypher-DSL framework, which addresses the empty answer problem through programmatic Abstract Syntax Tree (AST) deconstruction. Our approach systematically decomposes complex query patterns into a sequence of testable sub-queries to identify the Maximal Non-Empty Sub-queries (MNESs). By isolating these frontiers, query mistakes are revealed and reported as diagnostic feedback. Preliminary results demonstrate that our tool reduces the manual effort required for query refinement and enhances the reliability of graph-based database applications. The implementation is available as an open-source project on GitHub.

Descripción

Acerca de Almendros-Jiménez, Jesús M.

Palabras clave

Debugging, Database Query Languages, Graph Databases, Cypher

Citación

Almendros-Jiménez, J. M.: Debugging Empty Answers in Graph Queries. In: Sáenz-Pérez, F. (ed.) Actas de las XXV Jornadas de Programación y Lenguajes (PROLE 2026). Sistedes (2026). https://hdl.handle.net/11705/PROLE/2026/6