Backend
Property Testing for Recursive Query Languages
arXiv cs.DB0 views
arXiv:2609.03908v2 Announce Type: replace Abstract: In the context of database querying, property testing provides a framework for testing query answers with high confidence while inspecting only a sublinear part of the database, through completion queries and size queries. A fundamental result of Chen and Yoshida (2019) states that non-satisfaction of a Boolean conjunctive query $q$ is testable with a constant number of such queries and one-sided error if and only if $q$ is equivalent to an $\alpha$-acyclic query. In this article, we initiate the study of property testing for recursive query languages, focusing on two-way regular path queries (2RPQs) and monadic Datalog. One of our main results is positive: non-answers to any 2RPQ are constant query testable with one-sided error. We extend this slightly to a certain class of monadic Datalog programs in which recursion is restricted to be linear and rule bodies must be $\alpha$-acyclic. Turning towards unrestricted monadic Datalog, we next show that if a monadic Datalog program $\Pi$ is not equivalent to an $\alpha$-acyclic program, then falsity of $\Pi$ is not constant query testable with one-sided error. This is under the assumption that all rule-bodies are self-join free. We leave open the case of monadic Datalog programs with $\alpha$-acyclic rule bodies that are not restricted to linear recursion, but observe as a first step that there exist $\alpha$-acyclic programs that are mildly non-linear and constant query testable with one-sided error.
Source:https://arxiv.org/abs/2609.03908PreviousCost-Aware Optimization for Agentic Query ExecutionNextTractable Gap-Constraint Languages for Complex Event Recognition
Related posts
Actuator-Aware Observer Inputs for Cascade ADRC of Quadrotors Under Rotor Lag, Measurement Delay and Sensor Noise
0arXiv cs.RO
Keeping the Franka Emika Panda alive: a ROS 2 stack with a reliable position interface
0arXiv cs.RO
Rapid co-design of Buoyancy-assisted robots for Challenging Locomotion using Gaussian Evolutionary Specialists
0arXiv cs.RO
Specification-Aware Distribution Shaping for Robotics Foundation Models
0arXiv cs.RO
Sensorium: An Open-Source Multimodal Data Collection and Curation Library for Embodied Surgical AI
0arXiv cs.RO

Copilot Fusion Takes Local Models, and the Offline Boundary Is Somewhere Else
0dev.to AI