Editor’s introduction
The study evaluates a graph traversal approach that extracts Open Digital Rights Language (ODRL) policies from Business Process Model and Notation (BPMN) models. It classifies tasks as duties, permissions, or prohibitions based on reachability in the process graph, and treats intermediate catch events as prohibitions with lifting constraints. The method was tested on four scenarios from the Camunda benchmark: Dispatch of Goods, Recourse, Credit Scoring, and Self-Service Restaurant, including both synchronous and asynchronous variants. A notable boundary of the evidence is the treatment of cycles: when Tarjan’s algorithm collapses a strongly connected component, the original iterative structure is lost, resulting in a semantically simplified duty that does not reflect repetition. This limitation suggests that faithful cycle representation would require either a new ODRL profile or preprocessing to unfold bounded loops into conditional branches before analysis.
Introduction
Organisations have spent decades building and maintaining process models. These models, expressed in the Business Process Model and Notation (BPMN), are operational documentation: they describe how goods get dispatched, how loans get approved, how medical referrals get processed. They are not, in intent, compliance artefacts. But they are, in structure, normative ones. Every well-formed BPMN process encodes, as a direct consequence of its control flow, a set of obligations, permissions, and prohibitions: which participant must perform which task, which tasks may be skipped, and which roles are excluded from which actions entirely. This normative content is not an annotation layer added on top of the process; it is constitutive of the process structure itself, a point established formally by Natschläger.
The Open Digital Rights Language (ODRL), a W3C Recommendation with a growing ecosystem of compliance profiles targeting the General Data Protection Regulation (GDPR), the EU AI Act, and data space governance frameworks such as Gaia-X and the International Data Spaces (IDS), is the emerging lingua franca of machine-readable policy. Its primitive vocabulary, odrl:Duty, odrl:Permission, and odrl:Prohibition, maps directly onto the deontic modalities that Natschläger proves are structurally present in BPMN, making it the natural and principled extraction target. ODRL is increasingly referenced and adopted across international initiatives and governance frameworks. It serves as the default policy language in the JPEG Trust standard, is incorporated into the International Data Spaces Association Reference Architecture Model and its Usage Control Language, and has been examined by the Data Spaces Support Centre and Gaia-X for expressing access and usage control policies. Additionally, the European Union Intellectual Property Office recommends ODRL for representing machine-readable rights and obligations in open rights data exchanges. Policies generated by large language models are an increasingly common response to this shortage. However, Mustafa et al. show that LLMs generating ODRL policies substitute undefined vocabulary terms for standard ones, using, for instance, odrl:location in place of the correct odrl:spatial, a deviation that renders the policy uninterpretable by any conformant ODRL processor despite appearing semantically reasonable. Policies extracted algorithmically from verified process models do not carry this risk.
This is precisely the gap that the present paper addresses. BPMN is operationally useful but semantically opaque to policy infrastructure: a compliance checker, a data space broker, or a regulatory audit tool cannot reason over a BPMN XML file in terms of obligations, permissions, and prohibitions. The normative content those tools require is already present in the BPMN structurally, by construction, not by annotation, but it is locked in a form that policy infrastructure cannot consume. The warehouse BPMN already encodes that the warehouse worker must verify the order before shipping; that obligation does not need to be written, it needs to be extracted. We present a pipeline that performs this extraction automatically, traversing the BPMN process graph and producing valid ODRL policies in JSON-LD, turning an existing corpus of billions of process models into a source of machine-readable compliance artefacts without any additional authoring effort.
The practical significance of this approach extends beyond the supply problem. The conventional route to compliance is assertion: an organisation authors a policy document, or an ODRL file, claiming conformance with some requirement. The pipeline we describe offers something stronger, which we term compliance-by-extraction: the policy is derived algorithmically from the process that is actually being executed. If the process changes, the extracted policy changes with it. The resulting artefact is traceable back to its source, producing an auditable chain from ODRL rule to BPMN task to production process, of a kind that authored or generated policies cannot provide.
Background
Three bodies of work converge to motivate the pipeline presented in this paper: the formal study of deontic content in BPMN, the compliance-checking research programme that has treated BPMN and norms as separate artefacts to be reconciled, and the growing ecosystem of ODRL profiles that has established the language as the standard vehicle for machine-readable regulatory policy.
Deontic content in BPMN
The observation that business process models carry normative content is not new. Governatori and Sadiq established the compliance problem as a relationship between two distinct specification sets: the rules governing how a process executes and the norms that govern how it must behave. The dominant research response has been to treat these sets as given separately and to check one against the other at design time or at runtime. A substantial body of work by Governatori and colleagues formalises this checking problem using defeasible deontic logic, providing algorithms that traverse a process graph, accumulate task effects, and determine whether obligations derived from regulations are fulfilled, violated, or compensated. That programme assumes, however, that the normative content to be checked has already been authored as an explicit rule set. The question of whether normative content is already structurally present inside the process model itself is a different question, and it was answered formally by Natschläger. Working from the observation that BPMN control flow constrains which tasks can be skipped and which cannot, Natschläger demonstrates that tasks on every execution path imply obligations, tasks reachable only through an exclusive gateway branch imply permissions, and the absence of reachability from a given role implies a prohibition. The result is proven by a graph transformation system shown to be terminating, confluent, and behaviour-preserving. This is the formal foundation on which the present paper rests: the deontic content is not added to a BPMN model, it is extracted from one.
BPMN formalisation and process semantics
Algorithmic extraction of any kind over BPMN requires that the notation carry a well-defined formal semantics. Dijkman, Dumas and Ouyang provide this through a modular mapping of BPMN constructs to Petri nets, covering tasks, all gateway types, events, and sub-processes, and identifying deficiencies in the standard’s own informal characterisation of its constructs. This Petri-net semantics establishes that BPMN process graphs are amenable to static analysis, including the reachability checks on which the present pipeline relies for duty-versus-permission classification. Subsequent work has explored richer formalisation through ontologisation: Annane, Aussenac-Gilles and Kamel present BBO, an OWL 2 DL ontology covering BPMN 2.0 elements with reasoning support and SPARQL queryability over instantiated process models. Di Martino et al. demonstrate semantic annotation and Prolog-based validation of BPMN models for regulatory purposes. Neither approach produces output in a standardised policy language, and neither operates without manual annotation effort.
ODRL as a compliance policy language
The Open Digital Rights Language was designed for digital rights management but its primitive vocabulary, odrl:Permission, odrl:Prohibition, and odrl:Duty, maps cleanly onto the deontic modalities that Natschläger demonstrates are present in BPMN by construction. De Vos, Kirrane, Padget and Satoh first demonstrated that ODRL can represent regulatory obligations and permissions beyond the DRM domain, introducing the ODRL Regulatory Compliance Profile (ORCP) and a compliance-checking pipeline that translates ODRL policies into Answer Set Programming for automated verification against GDPR fragments. That paper establishes ODRL as a viable compliance language but requires all policies to be authored manually. The supply problem this creates has grown more acute as ODRL has been adopted as a normative component of major European data infrastructure. The International Data Spaces Association mandates ODRL for all usage-control policies in the Dataspace Protocol, and Gaia-X adopts the ODRL information model as its generic policy representation. Golpayegani et al. introduce AIUP, an ODRL profile for expressing intended and precluded uses of AI systems under the EU AI Act. ODRL is advancing toward ISO standardisation, and the breadth of profiles now targeting GDPR, the EU AI Act, and data space governance collectively confirm it as the reference language for machine-readable regulatory policy in the European data ecosystem.
The gap
The compliance-checking literature takes norms and process models as two independently authored artefacts and asks whether the second satisfies the first. Natschläger shows that deontic modalities are structurally present in the second artefact already, but maps them to a custom notation rather than to a standardised policy language. ODRL is now that standardised language, adopted normatively by multiple regulatory and governance frameworks, but its policies must still be written by hand, a bottleneck that Hashmi et al. had identified as a persistent open problem in the compliance literature. The present paper closes this triangle: it extracts ODRL policies automatically from BPMN models, grounding the extraction in Natschläger’s formal result and producing artefacts that are immediately consumable by the ODRL ecosystem without any manual policy-authoring step.
Mapping and Pipeline
We depart from Natschläger on two points. First, she reads the parallel gateway split as permission, on the grounds that it introduces branching. We do not. A parallel gateway forces all branches to execute; the participant has no choice about which branches to take or whether to take them, and where there is no choice, there is no permission. Each parallel branch is classified as an odrl:Duty. Second, and more substantially, Natschläger does not address intermediate catch events. Prior work has treated them as transparent pass-through nodes, dropping their normative content or attaching it as an ad hoc constraint on downstream tasks. We argue that neither treatment is correct. An intermediate catch event encodes a conditional prohibition on proceeding: the participant is forbidden from executing the downstream task until the triggering condition is satisfied. This is not a duty, because waiting is not an action the participant performs, and it is not a permission, because the participant has no choice about waiting. It is a prohibition on continuation, lifted when the event fires, and it maps onto odrl:Prohibition with a constraint encoding the lifting condition.
Evaluation
Dispatch of Goods is a single-participant process with an inclusive gateway, making it the most structurally constrained of the five models. The pipeline correctly identifies one unconditional duty (preparing goods for pickup), two constrained duties within the special handling branch, and four permissions, two of which carry gateway conditions. No intermediate catch events are present, and no cross-role prohibitions arise from a single-pool process.
Recourse is also a single-participant process but contains three intermediate catch events, making it the primary test case for the wait-as-prohibition treatment. The pipeline emits three odrl:Prohibition rules, one for each catch event, correctly identifying that the clerk is prohibited from proceeding to check reasoning until a disagreement letter is received, from proceeding to hand over to collection agency until a reminder is due, and from proceeding to make booking until payment is received. Five constrained duties and three constrained permissions are also correctly extracted within the XOR branches conditioned on recourse possibility.
Across all five models, every task is assigned to the correct party, every gateway condition is correctly qualified, and every intermediate catch event produces a wait prohibition with the correct lifting condition. The one structural limitation encountered is the cycle in the restaurant model, which is handled safely but not semantically faithfully, consistent with the known open problem discussed in the following section.
Limitations and Open Problems
The first concerns cycles. When Tarjan’s algorithm collapses a strongly connected component into a meta-node, the iterative structure of the original subgraph is lost. The collapsed node is emitted as an unconditional duty, which is safe but semantically impoverished: it does not distinguish a task performed once from a task performed repeatedly while a condition holds. Resolving it faithfully would require either an ODRL profile extension for iteration semantics or a preprocessing step that unfolds statically bounded loops into conditional branches before traversal.
The second concerns unnamed pools. BPMN does not require pools to carry a name attribute, and several models in the wild, including the credit scoring benchmark, omit pool names entirely. Where a pool name is absent, the pipeline falls back to the raw XML participant identifier as the odrl:Party label, producing strings such as Participant_1x9bm3q in the policy output. The structural correctness of the extracted rules is unaffected, but the policy becomes unreadable without reference to the source model. A fallback strategy using lane names or process names as substitutes is straightforward and is deferred to the next version.
The third concerns AND and OR gateways. The current implementation restricts the branch-local classification pass to XOR and event-based gateways; AND and OR branches are handled by the global reachability check alone, which is correct in the majority of cases but does not guarantee accurate ConstrainedDuty detection within complex parallel structures. The inclusive OR gateway carries an additional difficulty: its state-dependent merge semantics cannot be determined from local structure alone, and its deontic interpretation remains an open research question regardless of implementation.
The fourth concerns expressiveness boundaries in core ODRL. Temporal sequencing, the requirement that obligation A complete before obligation B may begin, is partially captured through the dominance tree but has no native ODRL expression. Similarly, two duties generated from an AND split are emitted as independent odrl:Duty rules, losing the requirement that they execute concurrently. Both cases are handled correctly within what core ODRL can express; the gap is in the target language, not the extraction, and points toward a profile extension as the appropriate resolution.
Conclusion
Policy infrastructure needs ODRL. Organisations have BPMN. The gap between them is not a gap in content but a gap in representation: the obligations, permissions, and prohibitions that ODRL policies express are already encoded in process models, structurally, by virtue of how BPMN control flow works. What has been missing is a principled, automatic route from one representation to the other.
The pipeline presented here provides that route. It is grounded in a formal structural correspondence, implemented as a graph traversal over BPMN XML, and produces valid ODRL policies in JSON-LD without requiring any policy authoring expertise from the process modeller. Evaluated on five benchmark models covering single and multi-party processes, optional and mandatory paths, event-based synchronisation, and cyclic structure, it correctly extracts duties, permissions, and prohibitions in all cases within the expressive reach of core ODRL.
The novel contribution beyond prior work is the treatment of intermediate catch events as odrl:Prohibition rules with lifting constraints, capturing waiting semantics that earlier approaches discarded. This is not a minor implementation detail. It reflects a principled reading of what these events mean normatively, and it makes the extracted policies semantically faithful in a way that bolted-on constraints cannot achieve.


