Minimal Macro-Based Rewritings of Formal Languages: Theory and Applications in Ontology Engineering (and Beyond)
Christian Kindermann, Anne-Marie George, Bijan Parsia, Uli Sattler
Abstract
In this paper, we introduce the problem of rewriting finite formal languages using syntactic macros such that the rewriting is minimal in size. We present polynomial-time algorithms to solve variants of this problem and show their correctness. To demonstrate the practical relevance of the proposed problems and the feasibility and effectiveness of our algorithms in practice, we apply these to biomedical ontologies authored in OWL. We find that such rewritings can significantly reduce the size of ontologies by capturing repeated expressions with macros. This approach not only offers valuable assistance in enhancing ontology quality and comprehension but can also be seen as a general methodology for evaluating features of rewriting systems (including syntactic macros, templates, or other forms of rewriting rules), which can be analyzed in terms of their influence on computational problems.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Related papers
- Circuit Minimization with QBF-Based Exact SynthesisFranz-Xaver Reichl, Friedrich Slivovsky, Stefan SzeiderAAAI 2023 · 14 citations
- Temporal Conjunctive Query Answering via RewritingLukas Westhofen, Jean Christoph Jung, Daniel NeiderAAAI 2025 · 1 citation
- Towards Universal Languages for Tractable Ontology Mediated Query AnsweringHeng Zhang, Yan Zhang, Jia-Huai You, Zhiyong Feng et al.AAAI 2020 · 2 citations
- Query Optimization for Ontology-Mediated Query AnsweringWafaa El Husseini, Cheikh Brahim El Vaigh, François Goasdoué, Hélène JaudoinWWW 2024 · 5 citations
- Creating Signature-Based Views for Description Logic Ontologies with Transitivity and Qualified Number RestrictionsYue Xiang, Xuan Wu, Chang Lu, Yizheng ZhaoWWW 2022 · 3 citations
