1. Introduction
TODO: write full text Mention ODRL [ODRL-model] [odrl-vocab]Formal Semantics spec [odrl-formal-semantics]
1.1. Terminology
- ODRL Compliance Report
- A vocabulary that is used to elaborate the result of an evaluation of an ODRL Policy, (optionally) ODRL Request and the State of the World. It elaborates not only whether a rule from a policy is active, but also why.
- ODRL Evaluator
- A system that determines whether the Rules of an ODRL Policy expression have meet their intended action performance.
- State of the World
- A set of knowledge representing real-world information aiding the evaluation of ODRL Policies.
2. State of the World Representation
Minimal set of information that needs to be represented in the SotW and existing terms that can be reused to represent it:
-
current time: dcterms:issued
Example: ex:currentTime dct:issued "2024-01-01T00:00:00"^^xsd:dateTime .
-
location: DPV’s location extension models locations based on the ISO 3166 and UN M49 standards.
Example: ex:location dpv:hasLocation loc:BE .
-
asset/party collections: odrl:partOf
Example:
ex:asset odrl:partOf ex:assetCollection .
ex:alice odrl:partOf ex:partyIdentifier.
-
performed actions: extracted from existing Compliance Reports
Example:
ex:policyReport a report:PolicyReport ;
dcterms:created "2024-02-12T11:20:10.999Z"^^xsd:dateTime ;
report:policy ex:policy ;
report:ruleReport ex:dutyReport .
ex:dutyReport a report:DutyReport ;
report:attemptState report:Attempted ;
report:rule ex:duty ;
report:performanceState report:Performed ;
report:deonticState report:Fulfilled .
ex:duty a odrl:Duty ;
odrl:action odrl:compensate ;
odrl:assignee ex:alice .
Note: Should we be explicit about the context on which this SotW is valid?
First thought to make this happen is to model SotW as a concept and have properties to connect an instance of SotW with
contextual information that describes that SotW.
Example:
ex:sotw a sotw:SotW ;
sotw:currentTime ex:currentTime ;
sotw:location ex:location ;
sotw:assetCollection ex:assetCollection ;
...
3. Supporting Materials
-
FORCE: https://w3id.org/force
-
ODRL Compliance Report: https://w3id.org/force/compliance-report
-
test suite: https://w3id.org/force/test-suite
-
github repository for an ODRL Evaluator: https://w3id.org/force/evaluator
4. Namespaces
Commonly used namespace prefixes used in this specification:
@prefix dcterms: <http://purl.org/dc/terms/> . @prefix dpv: <https://w3id.org/dpv#> . @prefix ex: <http://example.org/> . @prefix loc: <https://w3id.org/dpv/loc#> . @prefix odrl: <http://www.w3.org/ns/odrl/2/> . @prefix report: <https://w3id.org/force/compliance-report#> . @prefix sotw: <https://w3id.org/force/sotw#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .