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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itRelated 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
