1. Introduction
TODO: write full text Mention ODRL [ODRL-model] [odrl-vocab]Formal Semantics spec [odrl-formal-semantics]
1.1. Terminology
TODO
1.2. Namespaces
Commonly used namespace prefixes used in this specification:
@prefix dcterms: <http://purl.org/dc/terms/> . @prefix odrl: <http://www.w3.org/ns/odrl/2/> . @prefix odrl3proposal: <https://w3id.org/force/odrl3proposal#> . @prefix report: <https://w3id.org/force/compliance-report#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix skos: <http://www.w3.org/2004/02/skos/core#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
2. Use Cases
2.1. UC1 - Dynamic Asset Collection Materialization
In ODRL terms, an Asset Collection is defined as a single resource representing a set of member resources,
considering that all members of the set are subject to a rule if this rule is defined with the asset collection as its target.
To materialise which Assets belong to an Asset Collection, ODRL has the partOf property.
However, if this materialisation is still to be done to enforce policies over a collection,
i.e., there is still no information in the state of the world of which Assets are partOf the Asset Collection,
a solution is required to materialise which resources are members of the collection
depending on the relation between said resources and the collection.
2.2. UC2 - ...
TODO3. Requirements
3.1. R1 - Define Asset Collection membership relation
To solve UC1, there is the need to describe the relation between the Asset Collection and its Asset members,
which is needed to materialise which Assets belong to an Asset Collection using ODRL’s partOf property.
For example, if we have an Asset Collection
@prefix ldp: <http://www.w3.org/ns/ldp#> . ex : assetCollection a odrl : AssetCollection ; odrl : source <http://localhost:3000/container/> ; odrl3proposal : relation ldp : contains .
the term odrl3proposal:relation can be used to describe the relation of an Asset Collection with its members,
which in this example is classified by the ldp:contains property.
In this case, when the members of the Asset Collection, whose source is <http://localhost:3000/container/>,
need to be materialised using the ldp:contains relation, if
@prefix ldp: <http://www.w3.org/ns/ldp#> . <http://localhost:3000/container/> a ldp : Container ; ldp : contains <http://localhost:3000/container/resource1.ttl> ; ldp : contains <http://localhost:3000/container/resource2.txt> ; ldp : contains <http://localhost:3000/container/resource3.png> .
then the following ODRL’s partOf memberships can be materialised
<http://localhost:3000/container/resource1.ttl> odrl : partOf <http://localhost:3000/container/> . <http://localhost:3000/container/resource2.txt> odrl : partOf <http://localhost:3000/container/> . <http://localhost:3000/container/resource3.png> odrl : partOf <http://localhost:3000/container/> .
3.2. R2 - ...
TODO4. ODRL 3.0 Proposal
4.1. Adding new terms to the ODRL vocabulary
4.1.1. Relation
| IRI | https://w3id.org/force/odrl3proposal#relation |
|---|---|
| Label | relation |
| Type | rdf:Property, skos:Concept |
| Definition | The relation property is used to classify the relation between the odrl:Assets that are odrl:partOf a odrl:AssetCollection and the odrl:source of said collection.
|
| Domain | odrl:AssetCollection |
| Range | rdf:Property |
4.1.2. Scope
| IRI | https://w3id.org/force/odrl3proposal#scope |
|---|---|
| Label | scope |
| Type | rdf:Property, skos:Concept |
| Definition | The scope property indicates the actions on which a odrl:Policy, with the subject odrl:Asset as odrl:target, can be defined.
|
| Domain | odrl:Asset |
| Range | odrl:Action |
4.2. Changing existing terms of the ODRL vocabulary
UID identifier in ODRL: UID needs to be out of ODRL somehow, it is not nice
<urn:uuid:e30bcd34-0d5c-43d1-b229-bf68afcae5ae> a odrl : Set ; odrl : uid <urn:uuid:e30bcd34-0d5c-43d1-b229-bf68afcae5ae>
5. Supporting Materials
-
FORCE: https://w3id.org/force/
-
ODRL Compliance Report: https://w3id.org/force/compliance-report
-
repo: https://w3id.org/force/compliance-report/repo
-
-
test suite: https://w3id.org/force/test-suite
-
repo: https://w3id.org/force/test-suite/repo
-
-
github repository for an ODRL Evaluator: https://w3id.org/force/evaluator