Arrow Research search

Author name cluster

Markus Krötzsch

Possible papers associated with this exact author name in Arrow. This page groups case-insensitive exact name matches and is not a full identity disambiguation profile.

25 papers
2 author rows

Possible papers

25

KR Conference 2024 System Paper

Nemo: Your Friendly and Versatile Rule Reasoning Toolkit

  • Alex Ivliev
  • Lukas Gerlach
  • Simon Meusel
  • Jakob Steinberg
  • Markus Krötzsch

We present Nemo, a toolkit for rule-based reasoning and data processing that emphasises robustness and ease of use. Nemo’s core is a scalable and efficient main-memory reasoner that supports an expressive extension of Datalog with support for datatypes, existential rules, aggregates, and (stratified) negation. Built around this core is a versatile system of libraries and applications for interfacing with several data formats and programming languages, use as a progressive web application, and IDE integration. In this system description, we present this toolkit and discuss relevant application areas in rule-based knowledge representation, knowledge graph processing, and reasoner prototyping. Our evaluation on a range of tasks from these areas demonstrates Nemo’s robust performance in comparison to state-of-the-art rule engines.

AAAI Conference 2022 Conference Paper

Answering Queries with Negation over Existential Rules

  • Stefan Ellmauthaler
  • Markus Krötzsch
  • Stephan Mennicke

Ontology-based query answering with existential rules is well understood and implemented for positive queries, in particular conjunctive queries. For queries with negation, however, there is no agreed-upon semantics or standard implementation. This problem is unknown for simpler rule languages, such as Datalog, where it is intuitive and practical to evaluate negative queries over the least model. This fails for existential rules, which instead of a single least model have multiple universal models that may not lead to the same results for negative queries. We therefore propose universal core models as a basis for a meaningful (non-monotonic) semantics for queries with negation. Since cores are hard to compute, we identify syntactic conditions (on rules and queries) under which our core-based semantics can equivalently be obtained for other universal models, such as those produced by practical chase algorithms. Finally, we use our findings to propose a semantics for a broad class of existential rules with negation.

IJCAI Conference 2022 Conference Paper

Capturing Homomorphism-Closed Decidable Queries with Existential Rules (Extended Abstract)

  • Camille Bourgaux
  • David Carral
  • Markus Krötzsch
  • Sebastian Rudolph
  • Michaël Thomazo

Existential rules are a very popular ontology-mediated query language for which the chase represents a generic computational approach for query answering. It is straightforward that existential rule queries exhibiting chase termination are decidable and can only recognize properties that are preserved under homomorphisms. This paper is an extended abstract of our eponymous publication at KR 2021 where we show the converse: every decidable query that is closed under homomorphism can be expressed by an existential rule set for which the standard chase universally terminates. Membership in this fragment is not decidable, but we show via a diagonalisation argument that this is unavoidable.

KR Conference 2022 Conference Paper

Chasing Streams with Existential Rules

  • Jacopo Urbani
  • Markus Krötzsch
  • Thomas Eiter

We study reasoning with existential rules to perform query answering over streams of data. On static databases, this problem has been widely studied, but its extension to rapidly changing data has not yet been considered. To bridge this gap, we extend LARS, a well-known framework for rule-based stream reasoning, to support existential rules. For that, we show how to translate LARS with existentials into a semantics-preserving set of existential rules. As query answering with such rules is undecidable in general, we describe how to leverage the temporal nature of streams and present suitable notions of acyclicity that ensure decidability.

AAAI Conference 2022 Conference Paper

Expressivity of Planning with Horn Description Logic Ontologies

  • Stefan Borgwardt
  • Jörg Hoffmann
  • Alisa Kovtunova
  • Markus Krötzsch
  • Bernhard Nebel
  • Marcel Steinmetz

State constraints in AI Planning globally restrict the legal environment states. Standard planning languages make closeddomain and closed-world assumptions. Here we address openworld state constraints formalized by planning over a description logic (DL) ontology. Previously, this combination of DL and planning has been investigated for the light-weight DL DL-Lite. Here we propose a novel compilation scheme into standard PDDL with derived predicates, which applies to more expressive DLs and is based on the rewritability of DL queries into Datalog with stratified negation. We also provide a new rewritability result for the DL Horn-ALCHOIQ, which allows us to apply our compilation scheme to quite expressive ontologies. In contrast, we show that in the slight extension Horn-SROIQ no such compilation is possible unless the weak exponential hierarchy collapses. Finally, we show that our approach can outperform previous work on existing benchmarks for planning with DL ontologies, and is feasible on new benchmarks taking advantage of more expressive ontologies.

IJCAI Conference 2022 Conference Paper

Simulating Sets in Answer Set Programming

  • Sarah Alice Gaggl
  • Philipp Hanisch
  • Markus Krötzsch

We study the extension of non-monotonic disjunctive logic programs with terms that represent sets of constants, called DLP(S), under the stable model semantics. This strictly increases expressive power, but keeps reasoning decidable, though cautious entailment is coNEXPTIME^NP-complete, even for data complexity. We present two new reasoning methods for DLP(S): a semantics-preserving translation of DLP(S) to logic programming with function symbols, which can take advantage of lazy grounding techniques, and a ground-and-solve approach that uses non-monotonic existential rules in the grounding stage. Our evaluation considers problems of ontological reasoning that are not in scope for traditional ASP (unless EXPTIME =ΠP2 ), and we find that our new existential-rule grounding performs well in comparison with native implementations of set terms in ASP.

KR Conference 2021 Conference Paper

Capturing Homomorphism-Closed Decidable Queries with Existential Rules

  • Camille Bourgaux
  • David Carral
  • Markus Krötzsch
  • Sebastian Rudolph
  • Michaël Thomazo

Existential rules are a very popular ontology-mediated query language for which the chase represents a generic computational approach for query answering. It is straightforward that existential rule queries exhibiting chase termination are decidable and can only recognize properties that are preserved under homomorphisms. In this paper, we show the converse: every decidable query that is closed under homomorphism can be expressed by an existential rule set for which the standard chase universally terminates. Membership in this fragment is not decidable, but we show via a diagonalisation argument that this is unavoidable.

KR Conference 2020 Conference Paper

Computing Cores for Existential Rules with the Standard Chase and ASP

  • Markus Krötzsch

To reason with existential rules (a. k. a. tuple-generating dependencies), one often computes universal models. Among the many such models of different structure and cardinality, the core is arguably the “best”. Especially for finitely satisfiable theories, where the core is the unique smallest universal model, it has advantages in query answering, non-monotonic reasoning, and data exchange. Unfortunately, computing cores is difficult and not supported by most reasoners. We therefore propose ways of computing cores using practically implemented methods from rule reasoning and answer set programming. Our focus is on cases where the standard chase algorithm produces a core. We characterise this desirable situation in general terms that apply to a large class of cores, derive concrete approaches for decidable special cases, and generalise these approaches to non-monotonic extensions of existential rules.

IJCAI Conference 2020 Conference Paper

Rewriting the Description Logic ALCHIQ to Disjunctive Existential Rules

  • David Carral
  • Markus Krötzsch

Especially in data-intensive settings, a promising reasoning approach for description logics (DLs) is to rewrite DL theories into sets of rules. Although many such approaches have been considered in the literature, there are still various relevant DLs for which no small rewriting (of polynomial size) is known. We therefore develop small rewritings for the DL \ALCHIQ -- featuring disjunction, number restrictions, and inverse roles -- to disjunctive Datalog. By admitting existential quantifiers in rule heads, we can improve this result to yield only rules of bounded size, a property that is common to all rewritings that were implemented in practice so far.

IJCAI Conference 2019 Conference Paper

Chasing Sets: How to Use Existential Rules for Expressive Reasoning

  • David Carral
  • Irina Dragoste
  • Markus Krötzsch
  • Christian Lewe

We propose that modern existential rule reasoners can enable fully declarative implementations of rule-based inference methods in knowledge representation, in the sense that a particular calculus is captured by a fixed set of rules that can be evaluated on varying inputs (encoded as facts). We introduce Datalog(S) -- Datalog with support for sets -- as a surface language for such translations, and show that it can be captured in a decidable fragment of existential rules. We then implement several known inference methods in Datalog(S), and empirically show that an existing existential rule reasoner can thus be used to solve practical reasoning problems.

IJCAI Conference 2018 Conference Paper

Attributed Description Logics: Reasoning on Knowledge Graphs

  • Markus Krötzsch
  • Maximilian Marx
  • Ana Ozaki
  • Veronika Thost

In modelling real-world knowledge, there often arises a need to represent and reason with meta-knowledge. To equip description logics (DLs) for dealing with such ontologies, we enrich DL concepts and roles with finite sets of attribute–value pairs, called annotations, and allow concept inclusions to express constraints on annotations. We investigate a range of DLs starting from the lightweight description logic EL, covering the prototypical ALCH, and extending to the very expressive SROIQ, the DL underlying OWL 2 DL.

IJCAI Conference 2017 Conference Paper

Logic on MARS: Ontologies for Generalised Property Graphs

  • Maximilian Marx
  • Markus Krötzsch
  • Veronika Thost

Graph-structured data is used to represent large information collections, called knowledge graphs, in many applications. Their exact format may vary, but they often share the concept that edges can be annotated with additional information, such as validity time or provenance information. Property Graph is a popular graph database format that also provides this feature. We give a formalisation of a generalised notion of Property Graphs, called multi-attributed relational structures (MARS), and introduce a matching knowledge representation formalism, multi-attributed predicate logic (MAPL). We analyse the expressive power of MAPL and suggest a simpler, rule-based fragment of MAPL that can be used for ontological reasoning on Property Graphs. To the best of our knowledge, this is the first approach to making Property Graphs and related data structures accessible to symbolic AI.

IJCAI Conference 2017 Conference Paper

Restricted Chase (Non)Termination for Existential Rules with Disjunctions

  • David Carral
  • Irina Dragoste
  • Markus Krötzsch

The restricted chase is a sound and complete algorithm for conjunctive query answering over ontologies of disjunctive existential rules. We develop acyclicity conditions to ensure its termination. Our criteria cannot always detect termination (the problem is undecidable), and we develop the first cyclicity criteria to show non-termination of the restricted chase. Experiments on real-world ontologies show that our acyclicity notions improve significantly over known criteria.

AAAI Conference 2016 Conference Paper

Column-Oriented Datalog Materialization for Large Knowledge Graphs

  • Jacopo Urbani
  • Ceriel Jacobs
  • Markus Krötzsch

The evaluation of Datalog rules over large Knowledge Graphs (KGs) is essential for many applications. In this paper, we present a new method of materializing Datalog inferences, which combines a column-based memory layout with novel optimization methods that avoid redundant inferences at runtime. The pro-active caching of certain subqueries further increases efficiency. Our empirical evaluation shows that this approach can often match or even surpass the performance of state-of-the-art systems, especially under restricted resources.

MFCS Conference 2016 Conference Paper

On the Complexity of Universality for Partially Ordered NFAs

  • Markus Krötzsch
  • Tomás Masopust
  • Michaël Thomazo

Partially ordered nondeterminsitic finite automata (poNFAs) are NFAs whose transition relation induces a partial order on states, i. e. , for which cycles occur only in the form of self-loops on a single state. A poNFA is universal if it accepts all words over its input alphabet. Deciding universality is \PSpace-complete for poNFAs, and we show that this remains true even when restricting to a fixed alphabet. This is nontrivial since standard encodings of alphabet symbols in, e. g. , binary can turn self-loops into longer cycles. A lower coNP-complete complexity bound can be obtained if we require that all self-loops in the poNFA are deterministic, in the sense that the symbol read in the loop cannot occur in any other transition from that state. We find that such restricted poNFAs (rpoNFAs) characterise the class of R-trivial languages, and we establish the complexity of deciding if the language of an NFA is R-trivial. Nevertheless, the limitation to fixed alphabets turns out to be essential even in the restricted case: deciding universality of rpoNFAs with unbounded alphabets is PSPACE-complete. Our results also prove the complexity of the inclusion and equivalence problems, since universality provides the lower bound, while the upper bound is mostly known or proved in the paper.

IS Journal 2014 Journal Article

Description Logics

  • Markus Krötzsch
  • Frantisek Simancik
  • Ian Horrocks

This article provides a self-contained first introduction to description logics (DLs). The main concepts and features are explained with examples before the syntax and semantics of the DL SROIQ are defined in detail. Additional sections review lightweight DL languages, discuss the relationship to the Web Ontology Language (OWL), and give pointers to further reading.

KR Conference 2014 Conference Paper

Nominal Schemas in Description Logics: Complexities Clarified

  • Markus Krötzsch
  • Sebastian Rudolph

Nominal schemas extend description logics (DLs) with a restricted form of variables, thus integrating rule-like expressive power into standard DLs. They are also one of the most recently introduced DL features, and in spite of many works on algorithms and implementations, almost nothing is known about their computational complexity and expressivity. We close this gap by providing a comprehensive analysis of the reasoning complexities of a wide range of DLs—from EL to SROIQ—extended with nominal schemas. Both combined and data complexities increase by one exponential in most cases, with the one previously known case of SROIQ being the main exception. Our proofs employ general modeling techniques that exploit the power of nominal schemas to succinctly represent many axioms, and which can also be applied to study DLs beyond those we consider. To further improve our understanding of nominal schemas, we also investigate their semantics, traditionally based on finite grounding, and show that it can be extended to infinite sets of individuals without affecting reasoning complexities. We argue that this might be a more suitable semantics when considering entailments of axioms with nominal schemas.

IJCAI Conference 2013 Conference Paper

Computing Stable Models for Nonmonotonic Existential Rules

  • Despoina Magka
  • Markus Krötzsch
  • Ian Horrocks

In this work, we consider function-free existential rules extended with nonmonotonic negation under a stable model semantics. We present new acyclicity and stratification conditions that identify a large class of rule sets having finite, unique stable models, and we show how the addition of constraints on the input facts can further extend this class. Checking these conditions is computationally feasible, and we provide tight complexity bounds. Finally, we demonstrate how these new methods allowed us to solve relevant reasoning problems over a realworld knowledge base from biochemistry using an off-the-shelf answer set programming engine.

KR Conference 2012 Conference Paper

Acyclicity Conditions and their Application to Query Answering in Description Logics

  • Bernardo Cuenca Grau
  • Ian Horrocks
  • Markus Krötzsch
  • Clemens Kupke
  • Despoina Magka
  • Boris Motik
  • Zhe Wang

problem in both database and KR settings. This problem is undecidable (Beeri and Vardi 1981) in general, and it can be characterised using chase (Johnson and Klug 1984; Maier, Mendelzon, and Sagiv 1979), a technique closely related to the hypertableau calculus (Motik, Shearer, and Horrocks 2009). The chase extends in a forward-chaining manner the original set of facts by introducing facts implied by the rules. The result of the chase is called the universal model, and an arbitrary conjunctive query can be answered over the original set of facts and the rules by simply evaluating the query in the universal model. Rules with existentially quantified variables in the head— so-called generating rules—require the introduction of fresh individuals, and cyclic applications of generating rules may lead to non-termination; moreover, determining whether chase terminates on a set of rules and facts is undecidable. However, several decidable classes of existential rules have been identified, and the existing proposals can be classified into two main groups. In the first group, rules are restricted such that their (possibly infinite) universal models can be represented using finitary means. This group includes rules with universal models of bounded treewidth (Baget et al. 2011), guarded rules (Calı̀ et al. 2010), and ‘sticky’ rules (Calı̀, Gottlob, and Pieris 2011). In the second group, one uses a sufficient (but not necessary) acyclicity condition that ensures chase termination. Roughly speaking, acyclicity conditions analyse information flow between the rules to ensure that no cyclic applications of generating rules are possible. Weak acyclicity (WA) (Fagin et al. 2005) was one of the first such notions, and it was extended to safety (SF) (Meier, Schmidt, and Lausen 2009), stratification (ST) (Deutsch, Nash, and Remmel 2008), acyclicity of a graph of rule dependencies (aGRD) (Baget, Mugnier, and Thomazo 2011), joint acyclicity (JA) (Krötzsch and Rudolph 2011), and super-weak acyclicity (SWA) (Marnette 2009). Acyclicity conditions are relevant for at least two reasons. First, unlike guarded rules, acyclic rules can axiomatise structures of arbitrary shapes, as long as these structures are bounded in size. Second, the chase result for acyclic rules can be stored and manipulated as if it were a database. This is important in data exchange, where the goal is to materialise the transformed database. In this paper, we argue that acyclicity is also relevant for description logics (DLs), the KR formalisms underpin- Answering conjunctive queries (CQs) over a set of facts extended with existential rules is a key problem in knowledge representation and databases. This problem can be solved using the chase (aka materialisation) algorithm; however, CQ answering is undecidable for general existential rules, so the chase is not guaranteed to terminate. Several acyclicity conditions provide sufficient conditions for chase termination. In this paper, we present two novel such conditions—modelfaithful acyclicity (MFA) and model-summarising acyclicity (MSA)—that generalise many of the acyclicity conditions known so far in the literature. Materialisation provides the basis for several widely-used OWL 2 DL reasoners. In order to avoid termination problems, many of these systems handle only the OWL 2 RL profile of OWL 2 DL; furthermore, some systems go beyond OWL 2 RL, but they provide no termination guarantees. In this paper we investigate whether various acyclicity conditions can provide a principled and practical solution to these problems. On the theoretical side, we show that query answering for acyclic ontologies is of lower complexity than for general ontologies. On the practical side, we show that many of the commonly used OWL 2 DL ontologies are MSA, and that the facts obtained via materialisation are not too large. Thus, our results suggest that principled extensions to materialisationbased OWL 2 DL reasoners may be practically feasible.

KR Conference 2012 Conference Paper

Practical Reasoning with Nominals in the EL Family of Description Logics

  • Yevgeny Kazakov
  • Markus Krötzsch
  • Frantisek Simancik

The EL family of description logics (DLs) has been designed to provide a restricted syntax for commonly used DL constructors with the goal to guarantee polynomial complexity of reasoning. Yet, polynomial complexity does not always mean that the underlying reasoning procedure is efficient in practice. In this paper we consider a simple DL ELO from the EL family that admits nominals, and argue that existing polynomial reasoning procedures for ELO can be impractical for many realistic ontologies. To solve the problem, we describe an optimization strategy in which the inference rules required for reasoning with nominals are avoided as much as possible. The optimized procedure is evaluated within the reasoner ELK and demonstrated to perform well in practice. LossOfScalpHair u ∃hasPhenotypicalSex. ∃hasAbsoluteState. {maleSex}. The nominal {maleSex} denotes a concept with a single element, and the definition thus asserts that the role hasAbsoluteState has exactly this single value for every instance of MalePatternBaldness. This is generally expressed with concept expressions of the form ∃R. {c} for which the OWL standard even introduces a dedicated syntactic shortcut “ObjectHasValue. ” In practice, however, nominals are hardly used in OWL EL ontologies. Even Galen models maleSex as an atomic concept, which seems unintuitive since there is only one male sex. A closer look reveals many other atomic concepts that are used as values for roles rather than as classes of objects, e. g., blue, soluble, and even sixteen. What is the reason for this apparent lack of nominals in current ontologies? One possible explanation is that practical tool support for nominals in OWL EL is extremely limited. Amongst the currently available EL reasoners, Snorocket provides no support for nominals, CEL only supports ABox assertions, and the support for nominals in jCEL is incomplete. One could hope this to be a minor omission, given that reasoning is still known to be polynomial in the worst case. However, the implementation of algorithms that can handle nominals efficiently turned out to be challenging. A difficulty in this case is that, in the presence of nominals, mere non-emptiness of concepts can lead to new entailments, e. g., asserting that a particular concept has at least one instance may lead to a new subsumption between atomic concepts. This contrasts strongly to the case of EL without nominals, where non-emptiness of concepts (and, in fact, arbitrary ABox assertions) can never entail a new TBox fact. To deal with this difficulty, algorithms must take nonemptiness of concepts into account during reasoning, e. g., by tracking whether non-emptiness of one concept implies non-emptiness of another. Baader et al. (2005) proposed to

JELIA Conference 2010 Conference Paper

Efficient Inferencing for OWL EL

  • Markus Krötzsch

Abstract We develop inferencing methods for \(\mathcal{SROEL}(\sqcap, \times)\) – a DL that subsumes the main features of the W3C recommendation OWL EL –, and present a framework for studying materialisation calculi based on datalog. The latter is used to investigate the resource requirements for inferencing, and we can show that certain \(\mathcal{SROEL}(\sqcap, \times)\) feature combinations must lead to increased space upper bounds in any materialisation calculus, suggesting that efficient implementations are easier to obtain for suitably chosen fragments of \(\mathcal{SROEL}(\sqcap, \times)\).

JELIA Conference 2008 Conference Paper

Cheap Boolean Role Constructors for Description Logics

  • Sebastian Rudolph
  • Markus Krötzsch
  • Pascal Hitzler

Abstract We investigate the possibility of incorporating Boolean role constructors on simple roles into some of today’s most popular description logics, focussing on cases where those extensions do not increase complexity of reasoning. We show that the expressive DLs \(\mathcal{SHOIQ}\) and \(\mathcal{SROIQ}\), serving as the logical underpinning of OWL and the forthcoming OWL 2, can accommodate arbitrary Boolean expressions. The prominent OWL-fragment \(\mathcal{SHIQ}\) can be safely extended by safe role expressions, and the tractable fragments \(\mathcal{EL}^{++}\) and DLP retain tractability if extended by conjunction on roles, where in the case of DLP the restriction on role simplicity can even be discarded.

ECAI Conference 2008 Conference Paper

Description Logic Rules

  • Markus Krötzsch
  • Sebastian Rudolph
  • Pascal Hitzler

We introduce description logic (DL) rules as a new rule-based formalism for knowledge representation in DLs. As a fragment of the Semantic Web Rule Language SWRL, DL rules allow for a tight integration with DL knowledge bases. In contrast to SWRL, however, the combination of DL rules with expressive description logics remains decidable, and we show that the DL 𝒮 ℛ 𝒪 ℐ 𝒬 - the basis for the ongoing standardisation of OWL 2 - can completely internalise DL rules. On the other hand, DL rules capture many expressive features of 𝒮 ℛ 𝒪 ℐ 𝒬 that are not available in simpler DLs yet. While reasoning in 𝒮 ℛ 𝒪 ℐ 𝒬 is highly intractable, it turns out that DL rules can be introduced to various lightweight DLs without increasing their worst-case complexity. In particular, DL rules enable us to significantly extend the tractable DLs ℰ ℒ ++and DLP.

AAAI Conference 2007 Conference Paper

Complexity Boundaries for Horn Description Logics

  • Markus Krötzsch

Horn description logics (Horn-DLs) have recently started to attract attention due to the fact that their (worst-case) data complexities are in general lower than their overall (i. e. combined) complexities, which makes them attractive for reasoning with large ABoxes. However, the natural question whether Horn-DLs also provide advantages for TBox reasoning has hardly been addressed so far. In this paper, we therefore provide a thorough and comprehensive analysis of the combined complexities of Horn-DLs. While the combined complexity for many Horn-DLs turns out to be the same as for their non-Horn counterparts, we identify subboolean DLs where Hornness simplifies reasoning.