Research
Denotational Semantics for ODRL: Knowledge-Based Constraint Conflict Detection
Overview Research area: formal semantics for digital rights expression languages, combining knowledge representation, description-logic-style reasoning, and automated theorem proving. Technical level:

- arXiv
- 2602.19883
- Published
- 2026-02-23
- Authors
- Daham Mustafa, Diego Collarana, Yixin Peng, Rafiqul Haque, Christoph Lange-Bever, Christoph Quix, Stephan Decker
AI summary
Overview
Research area: formal semantics for digital rights expression languages, combining knowledge representation, description-logic-style reasoning, and automated theorem proving. Technical level: Advanced. Scope: The paper gives a denotational (set-based) semantics for ODRL's knowledge-dependent constraint operators, reduces policy conflict detection to set intersection under a three-valued verdict, and validates the encoding across 154 benchmarks with two independent provers plus Isabelle/HOL mechanization.
What This Paper Is About
ODRL is the W3C Recommendation for digital policies, but its set-based operators (isA, isPartOf, hasPart, isAnyOf, isAllOf, isNoneOf) only have meaning relative to external domain knowledge that the standard deliberately leaves unspecified. Without such knowledge, any comparison of policies from different dataspaces defaults to Unknown, producing a "default deny" posture that blocks legitimate data sharing. The paper maps every ODRL constraint to the set of knowledge-base concepts that satisfy it, so that conflict detection becomes a question of whether two such sets intersect.
Key Contributions
- A denotational semantics for the ODRL knowledge-dependent operators across three semantic domains (taxonomic, mereological, nominal), supporting conflict detection, self-contradiction analysis, redundancy identification, and refinement verification, all under a three-valued verdict that is sound under incomplete knowledge.
- A decidable encoding in the Effectively Propositional (EPR) fragment of first-order logic, using bidirectional denotation rules (both if-direction and only-if-direction axioms), covering all three ODRL composition modes (and, or, xone) and validated by 100% Vampire/Z3 agreement across 154 benchmarks.
- A benchmark suite of 154 problems spanning six knowledge base families (GeoNames, ISO 3166, W3C DPV, a GDPR-derived taxonomy, BCP 47, and ISO 639-3) and four structural KBs targeting adversarial edge cases, which reveals that xone requires strictly stronger KB axioms than and/or.
- Order-preserving alignments between knowledge bases, with proofs that conflicts are preserved across different KB standards and that unmapped concepts degrade gracefully to Unknown — never to false conflicts.
Note: the abstract describes "six set-based operators" (isA, isPartOf, hasPart, isAnyOf, isAllOf, isNoneOf) while Contribution 1 is stated as covering "all eight ODRL KB-dependent operators"; both counts appear as written in the paper.
Main Findings
- Three-valued verdicts: Conflict, Compatible, or Unknown. Conflict holds when denotation intersection is provably empty, Compatible when it is non-empty, and Unknown when the denotation cannot be computed from the KB (denoted by the epistemic symbol ⊤, distinct from the universal concept set).
- Conflict is decidable and sound: For any finite KB and grounded constraints, the verdict is computable (Proposition 1), and a Conflict verdict implies no value simultaneously satisfies both constraints (Theorem 2.1). All meta-theorems were mechanically verified in Isabelle/HOL 2025 — 44 results, 0 sorry — using three locales: knowledge_base (11 results), kb_extension, and alignment.
- xone is the hard case: Exclusive composition requires provable non-overlap of the other branch and therefore strictly stronger KB axioms than conjunction or disjunction. Open-world semantics blocks exclusivity even when positive evidence appears to satisfy exactly one branch (the paper cites benchmark ODRL086 as the illustration).
- and/or are cheaper than xone: Conjunction and disjunction require only positive knowledge to reach definite verdicts, because Unknown propagates conservatively through conjunction and exclusive disjunction, while disjunction can resolve an Unknown if one branch yields a definite verdict.
- Cross-KB alignment preserves conflicts: Under witness completeness, alignment can only weaken verdicts toward Unknown and cannot fabricate conflicts (Proposition 2). Three alignment configurations arise — total (verdicts fully preserved, typical for BCP 47 ↔ ISO 639-3), partial (degrades toward Unknown, typical of GeoNames versus ISO 3166), and empty (all cross-KB verdicts default to Unknown, the status quo without alignment).
- Witness loss is a real failure mode: Example 1 shows that without witness completeness an alignment domain of {b, c} can satisfy order and disjointness preservation vacuously while fabricating a Conflict, which is why witness completeness is required in Definition 8.
- KB monotonicity: Adding disjointness facts or extending the grounding function never reverses a Conflict or Compatible verdict; only Unknown may resolve to either value.
- Runtime soundness: A design-time Conflict verdict guarantees that no execution context satisfies both constraints (Theorem 2.3), justifying static policy analysis before any data flows. Soundness does not imply completeness: Unknown may conceal conflicts that only surface at runtime when additional context resolves KB gaps.
- Dual-prover validation: Both Vampire (superposition calculus) and Z3 (DPLL(T)) agree on all 154 verdicts; problems are encoded in both TPTP and SMT-LIB, and Table 3 maps each verdict to a unique SZS/SMT-LIB result pair via a negated-conjecture pattern.
- Operand coverage: ODRL defines 14 KB-dependent left operands across the three domains; taxonomic operands include language, purpose, industry, fileFormat, media, and recipient; mereological operands include spatial and virtualLocation; nominal operands include deliveryChannel, device, event, product, system, and unitOfCount.
- isA and isPartOf receive identical denotations: The paper argues the semantic distinction is carried by the KB's ordering relation, not the operator label, making the label redundant given the KB's semantic domain.
- Semantics choice justified: Strong Kleene (K3) semantics was chosen over supervaluations (incompatible with decidable EPR), Bochvar (too conservative), and paraconsistent logics (which address inconsistency, not incompleteness), on grounds of soundness, monotonicity, and compositionality.
- Scope limitation stated explicitly: The framework operates at the constraint level — it determines whether constraint denotations can co-exist, not whether a complete ODRL rule activates, which the W3C ODRL Formal Semantics draft addresses separately.
Methodology in Plain English
The authors avoid trying to interpret ODRL operators directly. Instead, they assume each datapoint comes with a knowledge base — a finite set of concepts, an ordering relation (subsumption for taxonomic domains, part-whole for mereological ones, plain identity for nominal ones), a disjointness relation, and a mapping from right-operand values to concepts. Each constraint is then translated into the set of concepts that satisfy it. Two constraints conflict exactly when their sets have empty intersection.
Because knowledge bases are often incomplete, the framework allows a third answer, Unknown, whenever a value cannot be grounded. This keeps the logic sound: it never claims a conflict it cannot prove. The authors then build the encoding in EPR, a fragment of first-order logic for which satisfiability is decidable, and define bidirectional axioms so that one direction populates denotations from KB facts (proving compatibility) and the other constrains membership (proving conflict). They state that neither direction alone suffices.
For interoperability, they define injective, order-preserving mappings between knowledge bases and prove that conflicts survive translation, while concepts with no counterpart push the verdict toward Unknown rather than creating spurious conflicts. All the key theorems and lemmas are written up in Isabelle/HOL 2025 and discharged by automated tactics (simp, auto, blast) without manual proof scripts. Finally, they encode 154 benchmark problems in TPTP and SMT-LIB and check them with Vampire and Z3.
The paper's running example follows a scenario from the German cultural dataspace (Datenraum Kultur): the Bayerische Staatsbibliothek permits access to digitized German-language manuscripts for non-commercial use within Europe, while a French national archive requests access from France, in French, for scientific research. Grounding against GeoNames, BCP 47, and W3C DPV yields Compatible for the spatial dimension, Unknown for the purpose dimension, and Conflict for the language dimension.
Why This Matters
Impact on research: the paper shifts ODRL conflict detection from ad hoc, domain-hardcoded reasoners toward a formally verified, decidable core, and it shows that conflict detection can be grounded in external knowledge bases without sacrificing soundness. It also contributes a benchmark suite and Isabelle/HOL theories to a field that has lacked shared evaluation infrastructure, and it isolates xone as a structurally harder problem than and/or.
Real-world applications (as grounded in the paper's own scenario and problem framing):
- Cross-border cultural-heritage data sharing, exemplified by the Bayerische Staatsbibliothek permitting European access to German-language manuscripts while a French archive requests access from France in French.
- Dataspace interoperability where each participant uses a different standard — GeoNames versus ISO 3166 for spatial concepts, BCP 47 versus ISO 639-3 for language codes — with the guarantee that unmapped concepts degrade to Unknown rather than blocking access with a false conflict.
- Policy quality assurance during authoring: catching self-contradictions (writing and where or was intended, forcing a purpose to be simultaneously commercial and academic) and redundancies (requiring France and Europe, since France ⊑ Europe).
- Refinement verification for the DSSC blueprint requirement that downstream policies only restrict upstream terms.
Industry relevance: ODRL is adopted across European data ecosystems including Gaia-X, IDSA, and the Eclipse Dataspace Connector, so a sound, decidable conflict-detection method has direct bearing on connector implementations and on the operational contracts that govern data sharing in those ecosystems. The default-deny posture the paper targets is a practical blocker for legitimate data flows, not just a theoretical concern.
Future Directions
- Extending from static constraint-level analysis to operational rule activation, connecting with the W3C ODRL Formal Semantics draft's treatment of constraint satisfaction, duty fulfillment, and refinement matching. The paper states the two are complementary but does not formalize the link.
- Related work and empirical runtime analysis are explicitly deferred to an extended version, so comparative performance against existing ODRL reasoners remains unreported in this paper.
- Broadening KB validation: the benchmark suite covers six KB families and four structural KBs, but the partial-alignment cases (such as GeoNames versus ISO 3166) suggest more work is needed on alignment construction and on how granularity mismatches should be handled in practice.
- Resolving the Unknown verdicts that even complete KB coverage would not eliminate, and characterizing when a runtime conflict can surface despite a design-time verdict of Unknown — the paper notes soundness does not imply completeness but does not quantify this gap.
- Addressing the discrepancy between the abstract's six set-based operators and the contributions' claim of eight KB-dependent operators, and confirming how each maps to the 14 listed left operands.
Target Audience
Researchers and practitioners working on policy languages, access control, and dataspace interoperability — particularly those involved with ODRL, Gaia-X, IDSA, or the Eclipse Dataspace Connector. It also suits formal-methods researchers interested in decidable fragments and mechanically verified semantics, and knowledge-representation researchers working on ontology alignment and safe cross-standard translation. The paper is written at an advanced technical level; readers should be comfortable with set-theoretic semantics, order relations, and theorem-prover terminology. Beginners may still follow the motivating scenario and the high-level verdict framework, but the definitions, proofs, and prover encodings assume a formal background.
Authors’ abstract
ODRL's six set-based operators -- isA, isPartOf, hasPart, isAnyOf, isAllOf, isNoneOf -- depend on external domain knowledge that the W3C specification leaves unspecified. Without it, every cross-dataspace policy comparison defaults to Unknown. We present a denotational semantics that maps each ODRL constraint to the set of knowledge-base concepts satisfying it. Conflict detection reduces to denotation intersection under a three-valued verdict -- Conflict, Compatible, or Unknown -- that is sound under incomplete knowledge. The framework covers all three ODRL composition modes (and, or, xone) and all three semantic domains arising in practice: taxonomic (class subsumption), mereological (part-whole containment), and nominal (identity). For cross-dataspace interoperability, we define order-preserving alignments between knowledge bases and prove two guarantees: conflicts are preserved across different KB standards, and unmapped concepts degrade gracefully to Unknown -- never to false conflicts. A runtime soundness theorem ensures that design-time verdicts hold for all execution contexts. The encoding stays within the decidable EPR fragment of first-order logic. We validate it with 154 benchmarks across six knowledge base families (GeoNames, ISO 3166, W3C DPV, a GDPR-derived taxonomy, BCP 47, and ISO 639-3) and four structural KBs targeting adversarial edge cases. Both the Vampire theorem prover and the Z3 SMT solver agree on all 154 verdicts. A key finding is that exclusive composition (xone) requires strictly stronger KB axioms than conjunction or disjunction: open-world semantics blocks exclusivity even when positive evidence appears to satisfy exactly one branch.