Intelligence, Agency & Consciousness · Paper 0107

When an open world must fit a closed planner

Borgwardt and colleagues ask when ontology-guided action can be compiled into ordinary PDDL. Their answer turns open-world query answering into stratified derived predicates: and identifies one extra role construct that crosses a deep complexity boundary.

Intelligence, Agency & Consciousness · Paper 0107

When an open world must fit a closed planner

Rajesh Ranjan Mahapatra

Borgwardt and colleagues ask when ontology-guided action can be compiled into ordinary PDDL. Their answer turns open-world query answering into stratified derived predicates: and identifies one extra role construct that crosses a deep complexity boundary.

© 2026 Rajesh Ranjan Mahapatra. 27 min read

When an open world must fit a closed plannerAll AI Research Library

TLDR

Five-point orientation
  1. Planning states need not contain everything true. An explicit finite state can be interpreted with an ontology that entails facts: and anonymous objects: not written in that state.
  2. Queries can bridge open and closed worlds. Extended conjunctive queries distinguish direct database atoms from claims entailed jointly by the state and ontology.
  3. Rewriting is the compilation hinge. If every relevant ontology query can become stratified Datalog, PDDL derived predicates can reproduce its answers.
  4. The translation protects semantics. Copied predicates separate inference from effects, an initialisation action quarantines auxiliary constants, and an inconsistency predicate blocks illegal states.
  5. Expressivity has a sharp frontier. Horn-ALCHOIQ admits a polynomial rewriting; adding complex role inclusions in Horn-SROIQ defeats polynomial compilation unless a major complexity hierarchy collapses.
01 · The representational mismatch

Classical planners close the world; ontologies deliberately leave it open

A classical planning state usually means exactly the facts it lists. An ontology-guided state means at least those facts, plus whatever follows in every model of a background theory. The paper’s problem is to preserve the second meaning inside machinery built for the first.

Suppose a factory database records that Maya operates a milling machine. It does not record her department or repeat the classification Employee(Maya). A background ontology may say that every machine operator works for an engineering department and that anyone who works for a department is an employee. Under open-world semantics, the missing department need not be named: the theory entails that some suitable department exists and that Maya is an employee. An action whose precondition asks the ontology whether Maya is an employee may therefore be applicable.

Standard PDDL starts elsewhere. A finite state is a set of ground atoms under a closed-world assumption. If Employee(Maya) is absent, the atom is false unless a derived-predicate rule makes it true. The fixed object set and explicit interpretation are strengths for planning algorithms, but they do not automatically reproduce description-logic entailment. Naïvely copying the database into PDDL would silently change which actions are legal.

The authors frame ontology formulae as global state constraints, rather than merely local action preconditions. A precondition only has to hold where an action is attempted. A state constraint says which environment states are admissible throughout a plan. This matters after effects: an action that adds an explicit fact can make the state inconsistent with the ontology even if its own precondition held before execution.

The proposed bridge is compilation. Instead of writing a new planner, translate the ontology-aware task into standard PDDL with derived predicates. Existing planners may then search, while rules recompute the consequences needed for conditions. This is not simply a software conversion. A valid compilation must preserve plan existence and control how domain size and plan length change. Otherwise a translation could hide the original problem in an enormous artefact or an impractically long plan.

Worked example 1 · the unrecorded employee

State: Operates(Maya, Mill7). Ontology: operators work for some engineering department; anyone working for a department is an employee. Closed-state lookup returns false for Employee(Maya). Open-world entailment returns true. The compiled task needs a derived route to the second answer without adding a direct employee fact to the mutable state.

Causal probe 1 · why not materialise every entailed fact once?

Actions change the explicit state, so consequences must be reconsidered after every transition. Some consequences depend on anonymous witnesses that cannot be represented by merely listing named facts. Materialising once would be stale; materialising every possible model would be impossible. Query rewriting targets only the consequences that conditions require.

An open-world task crosses a compilation bridge into a closed-world plannerOn the left an explicit state and ontology jointly support many possible worlds. A bridge of query rewritings leads to a finite PDDL state and derived closure on the right, then to a planner.EXPLICIT STATEobserved ground atomsONTOLOGYopen-world constraintsQUERYREWRITINGstratified Datalog¬DERIVED CLOSUREfinite rule resultPDDL PLANNERsearches actions
The central engineering move is semantic: compile only the open-world answers needed for planning conditions into a closed-world derived closure.Reconstruction from §§1–3.
02 · TBoxes, states and queries

The same spelling can ask either a database question or an ontology question

The paper keeps direct observation and indirect inference separate. That distinction is encoded in the query language, not left to convention.

A description-logic TBox is a finite set of restricted first-order axioms over unary and binary predicates. It expresses intensional knowledge such as inclusions, disjointness, role relationships and existential requirements. The state: also called an ABox in description-logic usage: is a finite set of ground atoms. Predicates of arity above two may appear in the planning state but not in the TBox, so those higher-arity relations retain an essentially closed-world reading.

Open-world entailment ranges over all interpretations, potentially infinite ones, that satisfy the state and TBox. A claim is entailed only if it holds in every such interpretation. Absence does not by itself imply falsity. This is a discipline against treating an incomplete record as a complete universe. It also permits the TBox to require objects that the state never explicitly names. State-boundedness limits named objects in reachable states; it does not erase these semantic witnesses.

A conjunctive query is an existential conjunction of unary and binary atoms. A union of conjunctive queries disjoins several such patterns. An instance query is the smallest case, asking whether an individual belongs to a concept. Extended conjunctive queries, or ECQs, combine ontology-mediated query atoms with direct state atoms, negation, conjunction and existential quantification. Brackets carry the crucial signal: B(x) consults the explicit finite state, whereas [B(x)] asks what the state plus TBox entails.

Take a state containing only C(a) and a TBox containing C ⊑ B. The direct atom B(a) is not satisfied in the state. The bracketed query [B(a)] is satisfied because every model of the theory places a in B. ECQ negation applies to the result of this evaluation. It therefore lets a condition combine database-style tests with ontology-aware tests in one formula, while preserving which semantics each subexpression uses.

Worked example 2 · one symbol, two tests

Let s={Technician(Ada)} and T={Technician⊑Employee}. In the ECQ Technician(Ada) ∧ [Employee(Ada)], the first conjunct succeeds by direct membership and the second by entailment. Replace the second with direct Employee(Ada), and the formula fails until that atom is explicitly stored.

Causal probe 2 · does open-world mean that every absent claim is possible?

Possibility is not entitlement. An absent claim may be true in some models and false in others, so neither it nor its negation is entailed. Planning conditions use specified query semantics to decide what follows, not a free choice among models. The ontology can also entail falsity through inconsistency constraints.

A finite state and ontology determine a family of possible worldsAn explicit fact C of a feeds three possible-world circles. All contain B of a because the ontology states C is included in B, while their anonymous objects differ.STATE sC(a)TBOXC ⊑ BWORLD 1C(a), B(a), u₁…WORLD 2C(a), B(a), u₂…WORLD 3C(a), B(a), u₃…ENTAILEDB(a)true in all worlds
Open-world truth is intersection across models, not an invitation to assert whatever the finite state omits.Reconstruction from §2.
03 · Explicit-input action and knowledge bases

An eKAB lets actions change observations while the ontology keeps interpreting them

The eKAB formalism gives the paper a precise source language: mutable facts, immutable conceptual knowledge, ontology-aware conditions and ordinary add-delete effects.

An eKAB domain description is a triple of predicates, DL actions and a TBox. A DL action has parameters, an ECQ precondition and a finite set of conditional effects. Each effect has local variables, an ECQ condition, an add set and a delete set. The action manipulates explicit atoms. The TBox is not rewritten by an action; it remains the background against which every new state is interpreted.

An eKAB task adds a possibly infinite object supply, a finite set of initially available objects, a TBox-consistent initial state and a closed ECQ goal. A ground action is applicable when its precondition is satisfied under the combined state-and-TBox semantics and the resulting explicit state remains consistent with the TBox. A plan is a sequence of such actions whose final state entails the goal.

Action parameters that do not occur in the precondition can introduce fresh objects. Without control, reachable states can keep accumulating names. The literature therefore considers b-bounded tasks: every reachable state contains at most b explicit objects. A known abstraction allows relevant plans to use a finite representative pool composed of initial objects, enough slots for an action’s parameters and the state bound. Fresh representatives can be renamed back to genuinely fresh objects when needed.

The finiteness assumption is about explicit state vocabulary, not domain closure for the ontology. The TBox may still entail anonymous individuals, and those witnesses remain outside the explicit object bound. This subtlety is necessary: replacing open-world reasoning with fixed-domain reasoning would change the source semantics before compilation even began. For presentation, the paper also reduces goals to a single closed-world atom; a general goal can be moved into the precondition of a final action that adds this atom.

Worked example 3 · hiring without naming every witness

An action hires candidate c when the ontology entails that c is an electronic engineer. Its effect adds Hired(c). The ontology may infer the engineer class through qualifications and job roles, some involving existentially required organisations. The action only adds the hiring record; it does not need to manufacture all witnesses used by the entailment.

Causal probe 3 · why require post-action consistency?

Preconditions inspect the old state. An effect could add two facts that the TBox declares incompatible, creating a successor with no model. The consistency check makes global state constraints genuinely global: every reached state, not just every action choice, must admit an interpretation.

One transition changes the explicit state while preserving a fixed ontologyAn old ABox and a fixed TBox jointly enable an action. Add and delete effects create a new ABox, which is checked again against the same TBox before entry into the legal-state corridor.STATE sfinite explicit atomsTBOX Tfixed constraintsACTION aECQ preconditionadd / delete effectsSUCCESSORs⟦a⟧CONSISTENT?s⟦a⟧ ∪ T has a modelinconsistent → block
The ontology is stable across the transition, but applicability and successor legality both depend on it.Reconstruction from Definition 3 and §2.
04 · Derived predicates and compilation

A compilation must conserve plans, not merely produce syntactically valid PDDL

The target language offers a controlled inference engine. Derived predicates are recomputed from each finite state by a stratified rule set and cannot themselves be changed by action effects.

A PDDL domain here contains ordinary predicates, disjoint derived predicates, actions and rules. Rule heads are derived predicates; bodies are first-order formulae over ordinary and derived vocabulary. Stratification orders predicates so positive dependencies do not point upwards and negative dependencies point strictly downwards. Exhaustive evaluation stratum by stratum yields a unique minimal Herbrand model extending the current state.

Actions may consult this derived closure in preconditions and conditional effects, but their add and delete lists contain only ordinary predicates. That separation makes derived facts views of the current state rather than persistent data. After an action alters ordinary facts, rule evaluation recomputes the view. This closely matches the desired role of ontology consequences, provided suitable query rewritings exist.

The authors adapt Nebel’s formal notion of a compilation scheme. Four functions transform the domain, add auxiliary objects, translate the initial state and translate the goal. Plan existence must agree in both directions. Initial-state and goal translations must be polynomial-time computable. The domain description and auxiliary object set determine whether the compilation is polynomial or exponential in size.

Plan length is separately protected. Polynomial preservation permits a polynomial increase, linear preservation fixes degree one, and exact preservation uses unit coefficient apart from a fixed constant. These conditions prevent a misleading claim that one language is no more expressive than another merely because an unbounded translator can solve the instance or encode each source action as an exponential target sequence.

Worked example 4 · a derived safety view

Ordinary facts record Near(drone1, human3) and LowVisibility(cell4). Stratified rules derive Critical(drone1). A move action checks ¬Critical(drone1) but never deletes that derived atom directly. Moving the drone changes Near; the next closure determines whether Critical remains true.

Causal probe 4 · why measure plan length when existence is preserved?

Existence alone tolerates translations that turn a one-step source plan into an astronomical target plan. That may preserve decidability while destroying operational comparability. Plan-size bounds make the expressivity claim relevant to planning rather than only to abstract reducibility.

A compilation scheme has four bounded translation functionsDomain, objects, initial state and goal enter four translation boxes. They assemble into a PDDL task, while a balance below shows plan existence and bounded plan length in both formalisms.DOMAIN fδrules + actionsOBJECTS foauxiliary namesINITIAL fiinstance dataGOAL fgsuccess conditionCOMPILED PDDL TASKfinite domain + instancesource planstarget plansexistence agrees · length controlled
Compilation has an offline domain component and instance-dependent components; its size and plan distortion are part of the theorem.Reconstruction from Definition 4.
05 · The generic translation

Two signatures, one guard and one inconsistency flag prevent three semantic leaks

The paper’s Definition 5 is a careful piece of semantic plumbing. Each auxiliary device answers a particular mismatch between ontology rewriting and PDDL action semantics.

Assume the task is state-bounded and every union of conjunctive queries appearing in its ECQs: as well as the inconsistency query ⊥: has a stratified Datalog¬ rewriting with respect to the TBox. The compiler unions these rewritings. ECQ query atoms can then be replaced by the corresponding derived predicates, turning open-world condition evaluation into closed-world evaluation over a rule closure.

The first problem is that a Datalog rewriting may derive predicates with names also used as mutable state predicates, while PDDL forbids action effects on derived predicates. The compiler creates a disjoint primed signature. For every ordinary predicate P, a rule P′(x) ← P(x) copies current explicit facts into the inference layer. The rewritten TBox and queries use primed symbols. Actions still add and delete unprimed atoms. Inference observes state without becoming writable state.

The second problem is auxiliary constants introduced by a rewriting. If the planner were allowed to bind ordinary action parameters to them, the compilation would invent behaviours absent from the eKAB. A special initialisation action sets a flag S and marks each rewriting-only object with N. Every ordinary action requires S and ¬N for its parameters. Thus auxiliary names may support inference but may not masquerade as domain objects in action instances.

The third problem is ontology inconsistency. The rewriting for ⊥ derives a special predicate P⊥ when the copied state violates the TBox. Ordinary action conditions and the final goal require ¬P⊥. The target therefore cannot proceed through a state that the source regards as semantically impossible. With rewritten preconditions and effect conditions, the same ground actions are available and produce equivalent explicit successors.

Theorem 1 states that this construction is a compilation scheme preserving plan size exactly, modulo the one fixed initialisation action. The domain artefacts depend only on the source domain description, and instance translations remain polynomial. The proof aligns consistency checks, query answers, parameter ranges, transitions and goal reachability. The result is generic: any ontology language: or even individual TBoxes and queries: with the required rewritability can use it.

Worked example 5 · an auxiliary constant that must not become cargo

A query rewriting introduces constant u* to represent a canonical witness. Without a guard, action Load(x) could instantiate x=u*, manufacturing a loadable object the eKAB never exposed. Initialisation derives N(u*); every compiled action requires ¬N(x), so u* remains useful only inside inference.

Causal probe 5 · why not let action effects write primed facts too?

Then the inferred view could diverge from the explicit state it is meant to interpret. An action might preserve a stale consequence or assert one without justification. The copy rule makes primed base facts a deterministic function of unprimed state, and the rest of the derived closure follows from that base.

The generic compiler separates mutable and inferred signaturesUnprimed predicates on the left accept action effects. Copy rules feed primed predicates and ontology rewritings on the right. Guards below block auxiliary constants and inconsistent states.MUTABLE LAYERP(a), R(a,b)actions add / deleteCOPY RULESP′(x) ← P(x)INFERENCE LAYERP′, R′, query rulesread-only derived closureOBJECT GUARDS ∧ ¬N(parameters)CONSISTENCY¬P⊥REWRITTEN QUERYQ′T′
The twin-signature design is not cosmetic: it preserves the source boundary between observed state and inferred knowledge.Reconstruction from Definition 5 and Theorem 1.
06 · Datalog¬ rewritability

A query rewriting replaces model search with a stratified finite closure

Rewritability says that, for the selected query, ontology entailment can be reproduced by rules over the explicit state. It is a query-answer equivalence, not a claim that the ontology and rule set have identical models.

A stratified Datalog¬ rule has an atom in its head and a conjunction of literals in its body. Predicates are partitioned into strata. Positive dependencies may stay within a stratum; negative dependencies must point strictly to an earlier one. Evaluating strata in order yields a minimal Herbrand model. This gives PDDL derived predicates a deterministic meaning even when rule bodies include negation.

A TBox and UCQ are Datalog¬-rewritable when a finite rule set and a distinguished result predicate return exactly the ontology-entailment answers for every state and substitution over its explicit objects. Rewritings may use auxiliary predicates and constants. ECQs inherit the property: union the rewritings for all bracketed UCQs, then replace each bracketed query atom with its result predicate inside the remaining first-order formula.

The paper assembles earlier results into an expressivity map. Horn-SHIQ UCQs have an exponential Datalog rewriting implemented by CLIPPER. The sublogic ELH⊥ has a polynomial version. DL-Lite also permits polynomial compilation in the setting used here. Instance queries over Horn-SHOIQ have suitable results, though the full Horn-SHOIQ position for the broader query setting is left between the paper’s positive and negative frontiers.

Polynomial size is not the same as practical compactness. A polynomial rewriting can introduce high-arity predicates and large constants, while a theoretically exponential construction may remain small on ordinary inputs and use constant-sized rules. The authors therefore separate their theoretical Horn-ALCHOIQ construction from the implemented evaluation, which uses CLIPPER’s existing Horn-SHIQ rewriting. That choice is honest: experiments test the generic compilation architecture with a practical rewriting, not the new theoretical rewriting itself.

Worked example 6 · compiling a two-hop class query

TBox axioms Operator⊑Worker and Worker⊑Employee induce rules worker(x)←operator(x) and employee(x)←worker(x). With operator(Maya) in the copied state, stratum evaluation derives both intermediate and final atoms. The result predicate for [Employee(Maya)] agrees with open-world entailment.

Causal probe 6 · does a rewriting eliminate open-world semantics?

It simulates selected answers under open-world semantics; it does not turn the source ontology into a closed-world theory. Correctness quantifies over all input states and links the derived result predicate to ontology entailment. The closed rule engine is an implementation of that interface.

Stratified rule closure climbs from copied facts to query answersFour horizontal strata show explicit copied facts, positive class consequences, guarded negative conclusions, and final query predicates. Arrows move upward and negative arrows skip to lower completed strata.STRATUM 0operator′(Maya) · copied base factsSTRATUM 1worker(Maya) · positive closureSTRATUM 2employee(Maya)QUERY ANSWERPEmployee(Maya)negative dependency only to completed lower stratum
Stratification supplies a stable evaluation order: negation may inspect an earlier closure but cannot create a negative cycle.Reconstruction from Definition 1 and §2.
Executable ontology-compilation laboratory

Does the derived closure preserve the open-world action test?

Select a small state. The laboratory separates direct lookup, ontology entailment and the compiled derived answer, then applies the consistency gate that protects successor states.

Direct state lookup:
Open-world query:
Compiled derived predicate:
Action / successor gate:
    07 · The positive frontier

    Horn-ALCHOIQ queries admit polynomial rewritings through compact set terms and filtration

    The paper’s new technical result reaches a highly expressive Horn description logic without expanding every possible anonymous type into its own constant.

    The starting combined approach for Horn-ALCHOIQ query answering translates TBox axioms into Datalog and then filters candidate query matches. A direct form can be exponential because it introduces a constant tX for every relevant set X of unary predicates, representing an anonymous object satisfying that type. The paper first works in an extended notation, Datalog with set terms and stratified negation, where the set itself can occur compactly as an argument.

    Predicates such as role(r,X,Y) express that the objects represented by type sets X and Y are connected by role r. Polynomially many rules compute a partial expansion of the input state, yielding additional candidate matches that account for anonymous objects. Further strata construct a dependency graph over query variables and reject spurious matches: for example, matches whose supposed anonymous witness structure cannot be realised consistently or whose dependencies form a prohibited cycle.

    A known polynomial translation then removes the set-term notation, producing ordinary stratified Datalog¬. Correctness follows from the combined-approach result once the compact reconstruction and filtration have been encoded. Theorem 2 states that unions of conjunctive queries over Horn-ALCHOIQ TBoxes have polynomial-size Datalog¬ rewritings.

    Combined with Theorem 1, this yields a polynomial compilation of Horn-ALCHOIQ eKABs into PDDL with exactly preserved plan size. The authors call the construction complex but theoretically significant. The significance lies in locating a broad region where open-world ontological state constraints add modelling convenience without adding formal planning expressivity beyond the target, under the paper’s compilation measure.

    Worked example 7 · one set term stands for many anonymous types

    A naïve rewriting might allocate separate constants for every subset of concepts that an existential witness could satisfy. The compact stage passes a set such as {Engineer,Employee} as a term and relates it to another set through role(worksFor,X,Y). Rules manipulate this representation without enumerating every type constant.

    Causal probe 7 · why is a polynomial theorem not automatically a practical compiler?

    Polynomial degree, predicate arity and constants can still be large. The construction proves that succinct compilation exists; it does not promise that its generated programme is preferable to a specialised exponential rewriting on every benchmark. The experiment therefore uses an implemented Horn-SHIQ route instead.

    The Horn-ALCHOIQ rewriting expands candidates and filters spurious matchesA compact set-term representation feeds TBox rules, partial expansion and a query dependency graph. Cyclic or unrealizable candidates are filtered; valid matches become a query answer before translation to ordinary Datalog with negation.SET TERMS{A,B,C}compact typesTBOX RULESderive candidatesEXPANSIONanonymous matchesFILTRATIONreject bad dependenciesVALIDMATCHPq(tuple)polynomial DatalogS,¬ → polynomial ordinary Datalog¬
    Compact representation alone is insufficient: filtration is what prevents canonical anonymous structures from creating false query matches.Reconstruction from §4 and Appendix A.
    08 · The negative frontier

    Complex role inclusions push one-step reasoning beyond polynomial PDDL compilation

    Horn-SROIQ differs by an apparently modest feature: complex role inclusions. Under a standard complexity assumption, that addition cannot be compiled away with polynomial domain size and polynomial plan growth.

    A complex role inclusion can state that a chain of roles is included in another role. It enables long relational consequences to be described succinctly. That extra succinctness changes the relevant query-answering complexity. The paper first establishes that polynomial-step plan existence for PDDL with derived predicates is EXPTIME-complete: candidate plans of the bounded length can be enumerated within exponential time, with derived closure evaluated after each action.

    By contrast, even one-step plan existence for Horn-SROIQ eKABs is 2EXPTIME-complete. Hardness comes from description-logic reasoning; membership follows by enumerating one-step candidates and evaluating the conjunctive queries within the double-exponential bound. A mere gap in uniform complexity does not yet rule out compilation because the domain compiler is permitted arbitrary computation so long as it emits only polynomially many bits.

    The decisive argument therefore uses non-uniform complexity and advice-taking Turing machines. The authors construct domain descriptions indexed only by input length. If a polynomial compilation existed, its translated domain could serve as polynomial advice. An exponential-time target procedure could then decide computations that encode double-exponential behaviour. This would imply EXPTIMENP=EXPTIME, collapsing the weak exponential hierarchy: an outcome complexity theory regards as unlikely.

    Theorem 5 concludes conditionally that no polynomial compilation from Horn-SROIQ eKABs to PDDL can preserve plan size polynomially. A corollary rules out polynomial Datalog¬ rewritings for instance queries in general. Similar conditional non-compilability results follow for the non-Horn logics SH and ALCI. The statement is carefully bounded: it does not say no particular Horn-SROIQ ontology can be rewritten, no exponential compiler can exist, or no specialised planner can reason in the source language.

    Worked example 8 · a role chain packs a long reachability condition

    An ontology can make ancestor∘ancestor⊑ancestor-like relational propagation part of a succinct role system. A one-step action may ask whether a deeply implied relation holds. The plan is short, but establishing applicability can embody a much larger computation. Measuring only action count would miss where the difficulty resides.

    Causal probe 8 · is Horn-SROIQ unusable for planning?

    No. The theorem rejects one class of uniformly succinct compilation under an assumption. Direct algorithms, domain restrictions, exponential preprocessing and favourable instances remain possible. A frontier theorem should guide architecture choices, not be read as a blanket performance forecast.

    A narrow logical extension crosses the polynomial compilation frontierAn expressivity staircase rises from DL-Lite and ELH through Horn-SHIQ to Horn-ALCHOIQ, all connected to PDDL by known rewritings. One final step labelled complex role inclusions leads to Horn-SROIQ behind a barrier marked hierarchy collapse.DL-Lite / ELH⊥Horn-SHIQHorn-ALCHOIQHorn-SROIQpolynomial barrier+ complex role inclusionscrossing would imply EXPTIMENP = EXPTIME
    The dividing line is conditional and asymptotic, but it is substantive: succinct ontology reasoning can exceed what polynomial PDDL compilation can retain.Reconstruction from Theorems 3–6.
    09 · Experimental evidence

    The implemented Horn-SHIQ route is feasible and often advantageous, within a deliberately bounded evaluation

    The experiments test two questions: can an off-the-shelf planner handle the compiled tasks, and how does the generic route compare with earlier DL-Lite compilers?

    The implementation reads an ontology in Turtle and an extended PDDL file whose conditions may contain conjunctive queries. CLIPPER generates a Horn-SHIQ Datalog rewriting. A Tseitin-like normalisation avoids duplicating complex conditions, and the generic compiler emits standard PDDL. Fast Downward 20.06 runs dual-queue greedy best-first search with the hFF heuristic. Tests used an Intel Core i5-4590 at 3.30 GHz, a 600-second time limit and an 8 GB memory limit.

    The collection has 235 instances: 125 adaptations from seven DL-Lite eKAB domains and 110 new instances. The adapted domains are Cats, Elevator, Robot, TaskAssign, TPSA, VTA and VTA-Roles. The new Drones, Queens and RobotConj domains exploit conjunction, qualified existential restrictions in negative positions, symmetric relations or transitive relations unavailable in DL-Lite. RobotConj moves grid knowledge from repetitive conditional effects into an ontology.

    For scalability, Robot and RobotConj are each extended through 56 grids from 3×3 to 200×200. Domain size grows linearly with grid dimension. Even the largest tested tasks compile and solve in under 90 seconds. RobotConj is consistently faster to compile and plan than Robot, despite the richer ontology, because the actions become simpler. This is a concrete case where representational abstraction helps the downstream search.

    On the 125 adapted instances, the original Cal16 compiler solves 85, the optimised Bor21 compiler 95 and the Horn pipeline 125, according to the aggregate table. The Horn compiler processes every adapted instance, generally in under one second per domain average, with an approximately 0.6-second fixed CLIPPER overhead. For the 110 expressive instances, compilation succeeds for all; Fast Downward solves 91. Drones and Queens were intentionally made challenging, so unsolved tasks reflect planning search after successful compilation.

    These results support feasibility and a favourable comparison on this benchmark suite. They do not benchmark the paper’s polynomial Horn-ALCHOIQ rewriting, prove superiority over every ontology planner, or isolate every source of speed-up. The same Fast Downward configuration receives differently compiled models, and representational simplification can affect heuristic search. The correct conclusion is that a generic rewriting-based pipeline can be practically useful, not that more expressive ontologies are inherently faster.

    Worked example 9 · RobotConj removes repeated action logic

    The original Robot action encodes overlapping row conditions as separate conditional effects. RobotConj places an axiom equivalent to AboveOf1 ⊓ BelowOf2 ⊑ Row1 in the ontology. The move action asks the derived classification once. A richer background theory yields a smaller, less repetitive operational description.

    Causal probe 9 · did ontology expressivity cause the speed-up?

    Not by itself. The authors attribute RobotConj’s result to simplified actions. Compiler overhead, grounding and heuristic structure all intervene. The experiment shows that moving static structure into an ontology can improve this encoding pipeline; it does not establish a monotonic relation between logical expressivity and run time.

    The experimental pipeline separates compilation success from planning successTurtle ontology and query-extended PDDL flow through CLIPPER, normalisation and a PDDL emitter. All 235 tasks compile. Fast Downward solves all 125 adapted tasks and 91 of 110 expressive tasks.TURTLE TBOXHorn-SHIQCQ-PDDLactions + queriesCLIPPERDatalog rewritingNORMALISETseitin-likeSTANDARDPDDL235 / 235 compiledFASTDOWNWARD216 / 235 solvedcompilation feasibility ≠ universal search success
    The evaluation records two boundaries: whether a source task can be emitted as PDDL, and whether the selected planner solves that target within its limits.Reconstruction from §6, Figure 1 and Table 1.
    10 · What the result changes

    Ontologies can be modelling structure without demanding an ontology-native planner: up to the frontier

    The paper gives domain engineers a conditional architecture rule: ask about query rewritability before deciding whether open-world constraints require a new planning engine.

    For a rewritable Horn ontology, observed facts can remain an explicit operational ledger while the TBox carries durable conceptual constraints. The compiler turns only the required inference interface into derived predicates. This maintains a clean division between what a sensor or action writes and what background knowledge entails. It also allows mature classical planners to be reused without pretending that missing source facts were false.

    The generic theorem is modular. Improve a query rewriting, and the planning compiler inherits the improvement. Choose a smaller description logic, a restricted query class or a favourable individual TBox, and a cheaper route may be available. Conversely, complex role inclusions signal that a polynomial compilation guarantee may be too much to ask. At that boundary, a system designer can restrict the ontology, accept larger compilation, or use a source-native reasoning architecture.

    Several caveats matter. The task model is deterministic and state-bounded. The ontology remains fixed while actions modify explicit facts. Plans are judged by existence and length, not by compilation latency, rule arity or heuristic quality. The new Horn-ALCHOIQ rewriting is a theoretical construction; the experiments instantiate Horn-SHIQ through CLIPPER. The negative result relies on a complexity separation and applies in general, not to every domain.

    For the wider canon, Paper 0107 extends the translation theme of Paper 0106. The previous paper combines discrete choices with numerical constraints for hybrid time. This paper combines finite closed-world search with open-world ontological inference. Both succeed by drawing a precise interface between reasoning regimes. Paper 0108 turns to HDDL 2.1 and asks how temporal hierarchical task networks should be given a shared formal language and semantics.

    Worked example 10 · an architectural decision table

    A maintenance planner needs subclass, existential and inverse-role reasoning but no complex role chains. Its query set has a known Horn-ALCHOIQ rewriting: compilation into derived predicates is theoretically available. A logistics ontology relies essentially on complex role inclusions across arbitrary chains: first test domain-specific rewritability, but do not assume a general polynomial PDDL compiler exists.

    Causal probe 10 · does successful compilation make the ontology mere syntax?

    In the formal expressivity measure, it may add no power beyond PDDL. In modelling practice, it can still separate observation from inference, reduce action duplication and permit independent conceptual maintenance. “Compilable” is a statement about representational simulation, not about human comprehension or engineering value.

    A decision map routes ontology planning by rewritability and compactnessA diamond asks whether relevant queries are Datalog rewritable. Yes leads to a compactness check and then PDDL derived predicates or a larger accepted compilation. No leads to ontology-native reasoning or a restricted ontology. Evidence and state semantics remain fixed at the top.FIX SOURCE SEMANTICSstate bound · queries · TBoxDATALOG¬REWRITABLE?PDDL + DERIVEDif compact enoughACCEPT LARGEor specialise rewritingNATIVE / RESTRICTpreserve harder semanticsyes · compactno general route
    Rewritability is the hinge, but system design must also price the actual rewriting and preserve the source assumptions that make it correct.Synthesis from §§3–7.
    Memory studio

    Twelve hooks for reconstructing the paper

    1 · Ledger and lensThe state records; the ontology interprets.
    2 · Brackets matterB(a) looks directly; [B(a)] asks the TBox.
    3 · Global, not localState constraints must survive every transition.
    4 · Bounded namesFinite explicit objects do not ban anonymous witnesses.
    5 · Derived viewRules recompute knowledge; actions write only base facts.
    6 · Four compilersDomain, objects, initial state and goal transform separately.
    7 · Prime the factsP′←P separates inference from effects.
    8 · Quarantine namesS and N keep rewriting constants out of actions.
    9 · Guard consistency¬P⊥ blocks ontology-impossible states.
    10 · Compact typesSet terms avoid enumerating every anonymous type.
    11 · One extra role stepComplex role inclusions cross the polynomial frontier.
    12 · Compile, then searchAll tasks may compile while some remain hard to plan.
    Verified source pack

    References and evidence boundary

    1. Primary. Stefan Borgwardt, Jörg Hoffmann, Alisa Kovtunova, Markus Krötzsch, Bernhard Nebel and Marcel Steinmetz, “Expressivity of Planning with Horn Description Logic Ontologies (Technical Report)” (2022), arXiv:2203.09361. Abstract and versions. Primary PDF verified as 16 pages; SHA-256 212b219c5ffb0e8434a810383a156cea23072c34ac453be5a78da862db20edbf.
    2. Source formalism. Diego Calvanese, Marco Montali, Fabio Patrizi and Michele Stawowy, “Plan Synthesis for Knowledge and Action Bases”, IJCAI 2016, pp. 1022–1029. Used for eKAB semantics and the earlier DL-Lite route.
    3. Derived predicates. Sylvie Thiébaux, Jörg Hoffmann and Bernhard Nebel, “In Defence of PDDL Axioms”, Artificial Intelligence 168 (2005), 38–69. The associated PDDL 2.2 overview is indexed at arXiv:1109.5663.
    4. Compilation measure. Bernhard Nebel, “On the Compilability and Expressive Power of Propositional Planning Formalisms”, JAIR 12 (2000), 271–315. arXiv version.
    5. Horn rewriting implementation. Thomas Eiter, Magdalena Ortiz, Mantas Šimkus, Trung-Kien Tran and Guohui Xiao, “Query Rewriting for Horn-SHIQ Plus Rules”, AAAI 2012, pp. 726–733. Source of the CLIPPER route used in the experiments.
    6. Combined approach. David Carral, Irina Dragoste and Markus Krötzsch, “The Combined Approach to Query Answering in Horn-ALCHOIQ”, KR 2018, pp. 339–348. Basis of the paper’s polynomial rewriting and filtration.
    7. Planner. Malte Helmert, “The Fast Downward Planning System”, JAIR 26 (2006), 191–246. arXiv version.

    Evidence boundary

    The formal claims, definitions, benchmark counts and timings above were checked against the primary technical report. The employee, maintenance and auxiliary-object stories are explanatory reconstructions. They illustrate the semantics but are not reported benchmark instances. “Frontier” means conditional non-compilability under the stated hierarchy assumption; it is not a claim that every Horn-SROIQ task is difficult.

    Place in the canon

    From mixed continuous semantics to mixed knowledge semantics

    Paper 0106 showed how a planner can combine discrete answer-set choices with real-valued constraints and continuous validation. Paper 0107 changes the fault line: the target planner has a finite closed-world state, while the source task asks open-world questions against an ontology. The common strategy is to preserve each reasoning regime behind an explicit interface rather than flattening their semantics. Next, Paper 0108: Pellier, Albore, Fiorino and Bailon-Ruiz’s HDDL 2.1 proposal: moves to temporal hierarchical task-network planning and the problem of defining a shared formalism and semantics.

    Website publication brief

    Publication, review and reuse record

    ItemRecord
    Companion“When an open world must fit a closed planner: Borgwardt et al.’s Horn-DL compilation” · canon 0107.
    Primary fidelityDefinitions 1–5, Theorems 1–6, Corollary 1, the Horn-ALCHOIQ appendix, experimental configuration, Figure 1 and Table 1 checked against the 16-page primary PDF and indexed body passages.
    Teaching artefactsExactly five TLDR points; ten causal probes; ten worked examples; ten bespoke accessible animated SVG figures; twelve memory hooks; executable ontology-compilation laboratory.
    Review A · scholarship and fairnessPassed. Open/closed-world semantics, state-boundedness, plan preservation, the generic translation, polynomial positive result and conditional negative result are kept distinct. The experiment is not misrepresented as a test of the new Horn-ALCHOIQ rewriting. Illustrations are labelled as reconstructions.
    Review B · teaching, voice and accessPassed. Jargon is introduced through examples before compression into notation; repeated summary language and synthetic superlatives were removed; headings and prose were checked for British usage. Each authored SVG has a title and description, motion has a reduced-motion fallback, controls are labelled, focus begins with a skip link, and tables remain horizontally usable.
    Responsive and executable checksRequired at 1440, 768 and 390 CSS pixels with no horizontal overflow or script errors. Laboratory regression tests cover direct/open separation, rewriting agreement and inconsistency blocking.
    Reuse noteThe companion is an independent critical study. Bibliographic identifiers point readers to the cited works; no external figure has been copied.