🤖 AI Summary
This work addresses the longstanding trade-off between expressivity and usability in semantic web rule languages by proposing a novel paradigm that treats SPARQL CONSTRUCT queries directly as logical rules. Methodologically, it establishes a bijective, reversible mapping between CONSTRUCT syntax and Notation3 (N3) logic, enabling general recursion and both forward and backward chaining while remaining compatible with existing SPARQL engines and N3 reasoners. Its key contribution is the first rigorous, syntax-preserving correspondence between CONSTRUCT and formal logical semantics—thereby endowing SPARQL’s user-friendly syntax with full logical expressiveness and formal interpretability. Experimental evaluation on standard rule benchmarks—including RDFS entailment and SWRL extension test suites—demonstrates competitive reasoning performance. The approach significantly enhances interoperability, exchangeability, and engineering practicality of semantic web rules.
📝 Abstract
Reasoning in the Semantic Web (SW) commonly uses Description Logics (DL) via OWL2 DL ontologies, or SWRL for variables and Horn clauses. The Rule Interchange Format (RIF) offers more expressive rules but is defined outside RDF and rarely adopted. For querying, SPARQL is a well-established standard operating directly on RDF triples. We leverage SPARQL CONSTRUCT queries as logic rules, enabling (1) an expressive, familiar SW rule language, and (2) general recursion, where queries can act on the results of others. We translate these queries to the Notation3 Logic (N3) rule language, allowing use of existing reasoning machinery with forward and backward chaining. Targeting a one-to-one query-rule mapping improves exchangeability and interpretability. Benchmarks indicate competitive performance, aiming to advance the potential of rule-based reasoning in the SW.