Axis-Aligned Semantics for ODRL: Resolving Dimensional Ambiguity in Policy Constraints
Authors: Daham Mustafa, Diego Collarana, Sabrina Kirrane, Christoph Lange, Christoph Quix, Rafiqul Haque, Yixin Peng, Stefan Decker
Organizations: RWTH Aachen University, Aachen, Germany · Fraunhofer FIT, Sankt Augustin, Germany · Vienna University of Economics and Business (WU), Vienna, Austria · University of Galway, Galway, Ireland
The Open Digital Rights Language (ODRL) represents policy constraints as triples of a left operand, an operator, and a value. Several spatial operands, however, range over multi-axis domains such as width, height, and depth, while the constraint syntax provides no explicit axis identity. As a result, policy engines cannot determine whether multiple constraints apply to the same axis or different ones, making conflict detection unsound or incomplete. We resolve this ambiguity by axis decomposition, replacing multi-axis operands with axis-specific scalar operands over totally ordered domains. Each constraint then denotes an interval per axis and each policy an axis-aligned box, reducing conflict detection to box comparison. We define a three-valued semantics (Conflict, Compatible, Unknown), prove the decomposition sound and backward compatible with ODRL, instantiate it as ODRL Axis-Aligned Profile (OAAP), and validate it on a benchmark of 256 ODRL policy problems, each expressed in Turtle and compiled to first-order (TPTP) and SMT-LIB form, using Vampire, E, Z3, and cvc5.
Figures & tables
Operand class
Value space
Operands
Asset size
∏i=1n(0,∞) , n∈{2,3}
absoluteSize , relativeSize
Asset position
∏i=1n[0,Li] , n∈{2,3}
absoluteSpatialPosition , relativeSpatialPosition
Coordinates
Rn , n∈{2,3}
spatialCoordinates
Table 1: Dimensional ODRL left operands. Each value space is a product of totally ordered real-valued domains, one per axis. Li denotes the extent of axis i .
ID
OAAP operand
Offer
Request
Verdict
Reason
c1,c1′
oaap:Width
lteq1920
eq2400
Conflict
(0,1920]∩{2400}=∅
c2,c2′
oaap:Height
lteq1080
eq800
Compatible
800∈(0,1080]
c3
oaap:Depth
lteq50
—
Unknown
No depth bound
Table 2: Per-axis constraints and verdicts for Example 1 . The offer ( ci , from provider BSB) and request ( ci′ , from consumer BnF) are decomposed under OAAP from odrl:absoluteSize into odax:absoluteSize{Width,Height,Depth} (abbreviated :Width , :Height , :Depth ). Verdicts follow Definitions 9 and 10 .
Base operand
Axis operand (IRI)
Dk
absoluteSize
oaap:absoluteSizeWidth
(0,∞)
oaap:absoluteSizeHeight
(0,∞)
oaap:absoluteSizeDepth
(0,∞)
relativeSize
oaap:relativeSizeWidth
(0,100]
oaap:relativeSizeHeight
(0,100]
oaap:relativeSizeDepth
(0,100]
Table 3: The 15 axis-specific left operands of OAAP. Value domain Dk is fixed by the profile.
Endpoint-precedence disjointness and open/closed boundary cases ( Theorems 3.1 and 6 )
Logical composition
45
and / or / xone verdict composition ( Definitions 14 , 15 and 4.2 )
Containment & completion
33
Box containment and Unknown completion sharpness ( Definitions 11 and 4.1 )
Runtime
10
Request satisfaction, permit/deny ( Definitions 17 and 4.4 )
Soundness (negative)
40
Deliberately wrong verdicts; each refutation witnesses soundness
Table 4: Benchmark groups, in the order the paper develops them. N is the problem count; every problem is verified by all four provers (E, Vampire, Z3, cvc5).
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.
Daham Mustafa, Diego Collarana, Yixin Peng +4
RWTH Aachen University, Germany · Fraunhofer FIT, Sankt Augustin, Germany · University of Galway, Ireland
The ODRL language has become the standard for representing policies and regulations for digital rights. However its complexity is a barrier to its usage, which has caused many related theoretical and practical works to focus on different, and not interoperable, fragments of ODRL. Moreover, semantically equivalent policies can be expressed in numerous different ways, which makes comparing them and processing them harder. Building on top of a recently defined semantics, we tackle these problems by proposing an approach that involves a parametrised normalisation of ODRL policies into its minimal components which reformulates policies with permissions and prohibitions into policies with permissions exclusively, and simplifies complex logic constraints into simple ones. We provide algorithms to compute a normal form for ODRL policies and simplifying numerical and symbolic constraints. We prove that these algorithms preserve the semantics of policies, and analyse the size complexity of the result, which is exponential on the number of attributes and linear on the number of unique values for these attributes. We show how this makes complex policies representable in more basic fragments of ODRL, and how it reduces the problem of policy comparison to the simpler problem of checking if two rules are identical.
Jaime Osvaldo Salas, Paolo Pareti, George Konstantinidis
University of Southampton, University Road, Southampton, SO17 1BJ, UK
The ODRL policy language is emerging as the de-facto standard for policy modelling data access and usage preferences, AI governance policies and data workflows in European dataspaces. The current standard has no mathematical formal semantics to describe how a system should implement policy evaluation. This has resulted in a variety of systems and tools that implement their own interpretation of the language, which limits interoperability and cannot guarantee consistent results. Based on an existing semantic model of ODRL, we formalise the problems of ODRL evaluation for the access control and monitoring scenarios, in both static and streaming settings, and we provide a novel, efficient algorithm and implementation. We present the first ODRL Evaluator with transparent formal semantics and supporting all rule types. We experimentally measure its performance, analysing different scalability dimensions related to policy complexity and size of the data on which a policy is evaluated. We compare our system with the state-of-the-art by providing a comparative review of existing ODRL evaluators, which highlights the differences in supported ODRL features and evaluation modes.
Jaime Osvaldo Salas, Paolo Pareti, Adeel Aslam +2
University of Southampton, University Road, Southampton, SO17 1BJ, UK