Existential Notation3 Logic
Dörthe Arndt, Stephan Mennicke
TL;DR
The paper tackles the challenge of fast reasoning with Notation3 Logic by isolating an existential fragment ${N3}^exists$ that corresponds to existential rules. It defines the syntax and semantics, establishes a piece-normal-form (PNF) representation, and builds a translation ${\mathcal{T}}$ from ${N3}^exists$ to existential rules, proving that the translation preserves equivalence. The authors implement this translation and empirically compare N3 reasoners (EYE, cwm) with existential-rule engines (VLog, Nemo) on Lubm and Deep Taxonomy datasets, finding that existential-rule reasoners excel with large data, while EYE excels with very dependent rule sets. The work demonstrates practical potential for cross-pollination between Semantic Web rule formats and database-style existential rules, and it lays groundwork for extending the approach to N3 lists and built-ins. Overall, the results suggest that translating N3 reasoning to existential-rule frameworks can broaden tool support and improve performance for data-intensive Web reasoning tasks.
Abstract
In this paper, we delve into Notation3 Logic (N3), an extension of RDF, which empowers users to craft rules introducing fresh blank nodes to RDF graphs. This capability is pivotal in various applications such as ontology mapping, given the ubiquitous presence of blank nodes directly or in auxiliary constructs across the Web. However, the availability of fast N3 reasoners fully supporting blank node introduction remains limited. Conversely, engines like VLog or Nemo, though not explicitly designed for Semantic Web rule formats, cater to analogous constructs, namely existential rules. We investigate the correlation between N3 rules featuring blank nodes in their heads and existential rules. We pinpoint a subset of N3 that seamlessly translates to existential rules and establish a mapping preserving the equivalence of N3 formulae. To showcase the potential benefits of this translation in N3 reasoning, we implement this mapping and compare the performance of N3 reasoners like EYE and cwm against VLog and Nemo, both on native N3 rules and their translated counterparts. Our findings reveal that existential rule reasoners excel in scenarios with abundant facts, while the EYE reasoner demonstrates exceptional speed in managing a high volume of dependent rules. Additionally to the original conference version of this paper, we include all proofs of the theorems and introduce a new section dedicated to N3 lists featuring built-in functions and how they are implemented in existential rules. Adding lists to our translation/framework gives interesting insights on related design decisions influencing the standardization of N3.
