ODRL
What it is
ODRL (Open Digital Rights Language) is a W3C Recommendation (version 2.2, 2018) for stating permissions, prohibitions and duties over assets. It is an RDF vocabulary, written mostly in JSON-LD. It is used for data-space contracts (for example Gaia-X, the International Data Spaces), media licensing and research data. It is the vocabulary that our "form", "purpose" and "duty" ideas should map onto.
Model
- Entities: Policy (Set, Offer, Agreement), Asset, Party (assigner, assignee, with functions), Action, Constraint, and collections of assets and parties.
- Rule forms: Permission, Prohibition and Duty. A permission can carry duties ("you may use it, if you attribute it"). A prohibition can carry a remedy. A duty can carry a consequence when it is not met. Constraints have a left operand, an operator and a right operand, and can be combined with and/or/xone.
- Left operands in the common vocabulary include
purpose,dateTime,spatial,count,recipient,industryand others. Purpose values are often taken from the W3C Data Privacy Vocabulary (DPV). - Actions form a hierarchy through
includedIn(for exampleplayis included inuse). - Combining: the policy's
conflictproperty.perm: permissions override prohibitions.prohibit: prohibitions override permissions.invalid: the whole policy is void if any conflict is found. The default isinvalid.
Formal semantics and what is proved
- The 2.2 standard has no formal semantics. Implementations disagree on edge cases.
- The ODRL Community Group is writing a formal semantics of evaluation, with a test suite and a reference evaluator that produces compliance reports. As of August 2025 it was still a draft written mostly in natural language. A draft charter for an ODRL 3.0 working group lists the formal semantics as a deliverable, expected around 2028.
- Academic work gives partial semantics, for example a query-based semantics for evaluation and comparison of ODRL 2.2 policies (arXiv 2509.05139, 2025), which also defines when one policy is more restrictive than another.
- Nothing mechanized that we know of.
Purpose and use case
Purpose is a first-class constraint operand. This is the only mainstream language where it is. But purpose is a value someone states, not something established.
Uncertainty
None.
History and state
Duties and count constraints imply state (how many times was it used). The standard does not say how that state is kept.
What we can reuse
- The vocabulary: assets, parties, actions with
includedIn, purpose, recipient, duty, remedy, consequence. Reuse these names rather than invent new ones (angle 2 of the plan). - Duties attached to permissions, and duties that follow released data. This is the one standard that addresses "a restriction that follows the data after release".
- DPV for purposes and legal bases.
What it lacks for us
- No formal semantics yet, no proofs, no analyser.
- The default conflict strategy (void the policy) is not a decision procedure for a request.
- No ordered form ladder, although actions like
aggregateandanonymizeexist in the vocabulary as separate actions. - No uncertainty, no history model.
Key references
- W3C, ODRL Information Model 2.2, 2018. https://www.w3.org/TR/odrl-model/
- W3C, ODRL Vocabulary and Expression 2.2. https://www.w3.org/TR/odrl-vocab/
- ODRL Community Group, Formal Semantics draft. https://w3c.github.io/odrl/formal-semantics
- "ODRL formal semantics" status report, CEUR Vol-4064. https://ceur-ws.org/Vol-4064/NXDG25-paper6.pdf
- Query-based evaluation and comparison semantics for ODRL 2.2. https://arxiv.org/abs/2509.05139
- W3C Data Privacy Vocabulary. https://w3c.github.io/dpv/