Skip to content
Preprint

A General Sufficient Condition for Rewriting Horn-ALCHI Atomic Queries into GQL

Aug 2026 · 0 citations · 21 references
Computer Science

TL;DR

This work introduces DL automata, a novel formalism that captures the semantics of such OMQs via runs over fact sets via runs over fact sets, and identifies a large class of DL automata that can be rewritten into unions of conjunctive two-way regular path queries (UC2RPQs), a central fragment of GQL.

Abstract

The emergence of the ISO standard GQL introduces a powerful query language extending first-order logic with controlled recursion, raising the question of its applicability to evaluation of ontology-mediated queries (OMQs). We focus on OMQs consisting of atomic queries over ontologies expressed in Horn-ALCHI, an expressive Description Logic that is not, in general, first-order rewritable. To address this, we introduce DL automata, a novel formalism that captures the semantics of such OMQs via runs over fact sets. We then identify a large class of DL automata that can be rewritten into unions of conjunctive two-way regular path queries (UC2RPQs), a central fragment of GQL. Our class of automata relies on a stratification of their states, ruling out specific forms of cyclic dependencies known to raise the complexity. This yields a broad class of Horn-ALCHI OMQs that are GQL-rewritable.

View source

Similar papers

Preprint Jul 2026

Definable Classes of Models and Frames in Bi-intuitionistic Logic

The question of the expressive power of a given logical language with Kripke relational semantics has at least two dimensions: (1) what the language can say about frames, and (2) what it can say about models. The Goldblatt-Thomason theorem provides a model-theoretic characterisation of modal axiomatisability for elemen...

Guillermo Badia, Tomasz Kowalski, Grigory K. Olkhovikov · 0 citations
2026

SAT Modulo Well-Founded Semantics

It is shown that the choice operator can be materialized by a SAT solver while propagating the consequences of choices through an extension of the alternating fixpoint algorithm for WFS with conflicts that are propagated back to the SAT solver.

Thomas Eiter, Tobias Nießen, Davide Soldà et al. · 0 citations
#small language model Open access Aug 2026

MGQL: An Executable, Small-Step Semantics of GQL

MGQL is presented, the first mechanized, small-step operational semantics for a substantial read-only fragment of GQL that is grounded in the ISO/IEC 39075 standard, and it is proved that the type system is sound, ensuring an end-to-end guarantee of well-formed queries yielding results that conform to their declared sc...

Aditya Thimmaiah, Tong-Tong Lin, Milos Gligoric · 1 citation
Open access Jul 2026

A New Well-Supported Semantics for Description Logic Programs

This work presents a new semantics which evaluates ontological atoms more strictly than the current semantics, which keeps the complexity of its consistency problem NP-complete, rather than increasing it to the second level of the polynomial hierarchy.

Spencer Killen, Jia-Huai You · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.