A revolutionary paradigm for Web Ontology Language (OWL) Description Logic (DL) inferencing: executing deductive reasoning and paraconsistent inconsistency tolerance via declarative SPARQL CONSTRUCT query micro-agents.
Transforming monolithic tableau algorithms into lightweight, auditable, and distributed SPARQL 1.1 query agents.
Every OWL DL axiom (Class Disjointness, Transitivity, Property Chains, Subsumption) is encoded as a declarative SPARQL CONSTRUCT query where graph pattern matches form premises and constructed graphs materialize entailments.
Traditional tableau reasoners suffer complete proof collapse upon detecting contradictions (ex falso quodlibet). SQuARE isolates conflicting individuals into owl:Nothing without corrupting parallel derivations.
Because each inference is a query execution with explicit variable bindings, reasoning trails are directly inspectable, provable via W3C PROV-O, and reversible through companion Backtracer Agents.
Select any OWL DL axiom from the SQuARE Evaluation Test Set (SETS) catalog. Inspect its formal Description Logic formula, underlying instance dataset, and SPARQL CONSTRUCT rule, then execute the inference in real-time.
Loading scenario...
Loading question...
Loading mechanism...
Loading takeaway...
Comparing SQuARE SPARQL CONSTRUCT Micro-Agents against Traditional Tableau DL Reasoners, Forward Rule Engines, and Neurosymbolic LLMs.
| Evaluation Dimension | SQuARE (SPARQL Agents) | Tableau (HermiT / Pellet) | Rule Engines (Virtuoso / Jena) | Neurosymbolic LLM Clients |
|---|---|---|---|---|
| Core Reasoning Mechanism | Declarative SPARQL 1.1 CONSTRUCT pattern matching micro-agents | Refutation-based semantic tableau state-space search | Forward-chaining RETE/SPIN materialization & backward chaining | Probabilistic vector attention with hybrid SPARQL grounding |
| Inconsistency Resilience | Paraconsistent & Isolated: Inconsistencies entail typed owl:Nothing without global collapse |
Non-resilient: Single contradiction causes immediate total proof collapse (ex falso quodlibet) | Partial: Handled through explicit negation/filter guards; may fail silently | Prone to hallucination: Merges contradictory context unless explicitly validated |
| Explainability & Traceability | Full Step Provenance: Inferences trace back to discrete SPARQL variable bindings & Backtracer | Complex, opaque branch-saturation proof trees difficult for non-logicians | Rule-level trace logs available via engine debug modes | Latent activation weights; requires external ontological guardrails |
| Scalability & DB Integration | Native Database Execution: Runs directly inside disk-backed triplestores (Virtuoso, Jena) | Requires in-memory graph loading; exponential worst-case on large ABoxes | High scalability with native columnar and quad-store indexing | Bounded by context window size and API latency |
| Rule Customizability | Modular Micro-Rules: Easily toggle individual DL axioms or add domain-specific queries | Monolithic engine configuration; axiom sets fixed by DL profile | Custom rules supported via vendor-specific rule languages or SPIN | Customizable via prompt instructions, fine-tuning, and tool use |
| Distributed & Federated Execution | Federated SPARQL (SERVICE): Rules execute asynchronously across decentralized endpoints | Centralized single-node computation required for tableau closure | Database-level clustering or distributed SPARQL endpoints | API-based agent swarms with tool-calling capabilities |
| Open Standards Compliance | 100% W3C SPARQL 1.1, Turtle, OWL 2, W3C PROV-O | W3C OWL 2 Direct Semantics & DIG interface | W3C SPARQL, RIF, SPIN, or proprietary rule syntax | Proprietary vendor APIs with JSON-LD / schema.org tooling |
The 7-step engineering procedure for executing and validating OWL DL reasoning via SPARQL micro-agents.
Load the target OWL ontology schema (TBox) and instance triples (ABox) into an RDF store or local graph model (such as OpenLink Virtuoso or RDFLib).
Identify the required DL inference rule (e.g., Class Disjointness, Transitivity, Property Chains, or Subsumption) based on the deductive query goal.
Translate the DL axiom antecedent into the WHERE clause graph pattern and the consequent into the CONSTRUCT clause template.
Run the declarative query against the SPARQL 1.1 protocol endpoint to generate the inferred triple graph in a single execution step.
Inspect the result graph for ?resource rdf:type owl:Nothing triples. If found, isolate the inconsistent individual without triggering proof collapse.
Merge consistent inferred triples into the working knowledge graph or pass the entailment trail to a SQuARE Backtracer Agent for proof explainability.
Attach W3C PROV-O metadata linking inferred assertions back to the executing SPARQL agent, rule identifier, and source premise triples.
Key questions on SQuARE's deductive reasoning architecture, paraconsistent logic, and SPARQL 1.1 query mechanics.
Core concepts in Description Logic, Semantic Web standards, and paraconsistent reasoning engines.
Interactive force-directed graph visualization of the SQuARE axioms, SIO ontology classes, SETS individuals, and materialized deductive entailments.
Pre-formulated W3C SPARQL 1.1 queries for inspecting, validating, and reasoning over the SQuARE knowledge base on live Virtuoso endpoints scoped to the DAV named graph https://linkeddata.uriburner.com/DAV/demos/daas/square-sparql-agent-reasoning-axioms-gemini_3_7_flash-1.ttl.
What's Being Tested: Checks whether any entity is mistakenly declared as both sio:Real and sio:Fictional (mutually exclusive concepts).
How the Query Solves It: Scans the graph for any resource with two classes linked by owl:disjointWith. It constructs a localized assertion ?resource rdf:type owl:Nothing to isolate the error without triggering a system crash.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX sets-kb: <http://purl.org/ontology/sets/kb#>
PREFIX sets: <http://purl.org/ontology/sets/ont#>
PREFIX sio: <http://semanticscience.org/resource/>
CONSTRUCT {
?resource rdf:type owl:Nothing .
}
FROM <https://linkeddata.uriburner.com/DAV/demos/daas/square-sparql-agent-reasoning-axioms-gemini_3_7_flash-1.ttl>
WHERE {
?resource rdf:type ?class .
?resource rdf:type ?disjointClass .
{ ?class owl:disjointWith ?disjointClass . }
UNION
{ ?disjointClass owl:disjointWith ?class . }
}
What's Being Tested: Multi-hop anatomy reasoning: if Fingernail isPartOf Finger and Finger isPartOf Hand, is the fingernail part of the hand?
How the Query Solves It: Matches the transitive property sio:isPartOf across intermediate nodes (?x -> ?y -> ?z) and materializes the direct edge Fingernail isPartOf Hand.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX sets-kb: <http://purl.org/ontology/sets/kb#>
PREFIX sets: <http://purl.org/ontology/sets/ont#>
PREFIX sio: <http://semanticscience.org/resource/>
CONSTRUCT {
?x ?p ?z .
}
FROM <https://linkeddata.uriburner.com/DAV/demos/daas/square-sparql-agent-reasoning-axioms-gemini_3_7_flash-1.ttl>
WHERE {
?x ?p ?y .
?y ?p ?z .
?p rdf:type owl:ObjectProperty , owl:TransitiveProperty .
}
What's Being Tested: Taxonomical inheritance: listing every sub-class and all of its ancestor categories across the entire SIO ontology hierarchy.
How the Query Solves It: Uses the property path rdfs:subClassOf+ to traverse arbitrary depths of the classification tree in a single query.
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX sio: <http://semanticscience.org/resource/>
SELECT DISTINCT ?subClass ?superClass
FROM <https://linkeddata.uriburner.com/DAV/demos/daas/square-sparql-agent-reasoning-axioms-gemini_3_7_flash-1.ttl>
WHERE {
?subClass rdfs:subClassOf+ ?superClass .
FILTER(?subClass != ?superClass)
}
ORDER BY ?superClass ?subClass