English

Minimal Macro-Based Rewritings of Formal Languages: Theory and Applications in Ontology Engineering (and beyond)

Artificial Intelligence 2023-12-19 v1 Databases

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. In addition to offering valuable assistance in enhancing ontology quality and comprehension, the presented approach introduces a systematic way of analysing and evaluating features of rewriting systems (including syntactic macros, templates, or other forms of rewriting rules) in terms of their influence on computational problems.

Keywords

Cite

@article{arxiv.2312.10857,
  title  = {Minimal Macro-Based Rewritings of Formal Languages: Theory and Applications in Ontology Engineering (and beyond)},
  author = {Christian Kindermann and Anne-Marie George and Bijan Parsia and Uli Sattler},
  journal= {arXiv preprint arXiv:2312.10857},
  year   = {2023}
}

Comments

Extended paper (including supplementary material) accepted at The 38th Annual AAAI Conference on Artificial Intelligence