/
index.html
277 lines (215 loc) · 9.63 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<meta name="generator" content="HTML Tidy for HTML5 (experimental) for Linux https://github.com/w3c/tidy-html5/tree/c63cc39" />
<meta content="width=device-width,initial-scale=1" name="viewport" />
<title>ODRL Vocabulary & Expression</title>
<script class="remove" src="https://www.w3.org/Tools/respec/respec-w3c-common"></script>
<script class="remove" src="config.js"></script>
<style>
.nanotabs > ul li { float:left; list-style:none; }
.nanotabs > ul li a { display:block; padding:4px 6px; margin-right: 3px; border-left: 1px solid #b9ab2d; border-right: 1px solid #b9ab2d; border-top: 1px solid #b9ab2d; border-collapse: collapse; background:#fcfaee; color:#b9ab2d; font-family: sans-serif;
text-decoration:none; }
.nanotabs > ul li a:hover { background:#FFFCE5; color:#550; }
.nanotabs > ul li a.selected { background:#555; color:#FFF; }
</style>
</head>
<body>
<section id="abstract">
<div class="issue">
<p class="issue-title marker"><span>DO NOT QUOTE</span></p>
<p>This document is currently experimental</p>
</div>
</section>
<section id="sotd">
<p>
<b>This is a work in progress. No section should be considered final, and the absence of any content does not imply that such content is out of scope, or may not appear in the future. If you feel something should be covered, please <a href="mailto:public-poe-commenst@w3.org">tell us!</a></b>
</p>
<p>
This specification was derived from the ODRL Community Group's outcomes, and details of the differences between the two are maintained in the <a href="#acknowledgements">Acknowledgement</a> appendix.
</p>
</section>
<section id="intro" class="informative">
<h2>Introduction</h2>
</section>
<section id="vocab">
<h2>Vocabulary</h2>
<p>The Namespace URI to identify the ODRL model and vocabulary is <code>http://www.w3.org/ns/odrl/2/</code></p>
<section id="model">
<h3>Model Concepts</h3>
<section id="Asset">
<h4>Asset</h4>
<p class="advisement"><b>Label: </b>Asset<br/>
<b>Identifier: </b><a href="http://www.w3.org/ns/odrl/2/Asset">http://www.w3.org/ns/odrl/2/Asset</a><br/>
<b>Definition: </b>Asset is anything which can be subject to a policy<br/>
<b>Comment: </b>Asserting that something the target of a policy implies that it is an Asset</p>
<p class="advisement"><i>Ontology</i><br/>
<b>Type: </b>owl:Class<br/>
<b>SubClass Of: </b><a href="#Policy">Policy</a><br/>
<b>In Range Of: </b>output, relation, target</p>
</section>
<section id="Policy">
<h4>Policy</h4>
<p class="advisement"><b>Label: </b>Policy<br/>
<b>Identifier: </b><a href="http://www.w3.org/ns/odrl/2/Policy">http://www.w3.org/ns/odrl/2/Policy</a><br/>
<b>Definition: </b>A top level entity for describing policies</p>
<div class="example">
<p class="example-title marker"><span>Ontology</span></p>
<p>
<b>Type: </b>owl:Class<br/>
<b>Parent Class: </b><a href="#Asset">Asset</a><br/>
<b>SubClass Of: </b>Agreement, Offer, Privacy, Request, Set, Ticket<br/>
<b>In Range Of: </b>inheritFrom<br/>
<b>Properties: </b>conflict, inheritAllowed, inheritFrom, permission, profile, prohibition, undefined</p>
</div>
</section>
<section id="parties">
<h3>Parties</h3>
</section>
</section>
<section id="action">
<h3>Actions</h3>
<p>For permissions and prohibitions, and duties</p>
<section id="use">
<h4>Use</h4>
<p class="advisement"><b>Label: </b>use<br/>
<b>Identifier: </b><a href="http://www.w3.org/ns/odrl/2/use">http://www.w3.org/ns/odrl/2/use</a><br/>
<b>Definition: </b>The Assigner permits/prohibits the Assignee to use the Asset as agreed<br/>
<b>Comment: </b>More details may be defined in the applicable agreements or under applicable commercial laws. Refined types of actions can be expressed by the narrower actions.</p>
<div class="example">
<p class="example-title marker"><span>Ontology</span></p>
<p>
<b>Type: </b>owl:Class<br/>
<b>SubClass Of: </b>Action<br/>
<b>In SKOS Concept Scheme: </b>actions<br/>
<b>Narrower SKOS Concepts: </b>aggregate, annotate, anonymize, archive, concurrentUse, derive, digitize, distribute, execute, grantUse, index, install, modify, move, present, read, reproduce, textToSpeech, transform, translate, writeTo</p>
</div>
</section>
<section id=print>
<h4>Print</h4>
<p class="advisement"><b>Label: </b>print<br/>
<b>Identifier: </b><a href="http://www.w3.org/ns/odrl/2/print">http://www.w3.org/ns/odrl/2/print</a><br/>
<b>Definition: </b>The Assigner permits/prohibits the Assignees to print an Asset onto paper or to create a hard copy<br/>
<b>Comment: </b>For example, creating a permanent, fixed (static), and directly perceivable representation of the Asset</p>
<div class="example">
<p class="example-title marker"><span>Ontology</span></p>
<p>
<b>Type: </b>owl:Class<br/>
<b>SubClass Of: </b>Action<br/>
<b>In SKOS Concept Scheme: </b>actions<br/>
<b>Broader SKOS Concepts: </b>present</p>
</div>
</section>
</section>
<section id="constraints">
<h3>Constraints</h3>
</section>
</section>
<section>
<h2>Encoding Expressions</h2>
<section>
<h3>JSON</h3>
</section>
<section>
<h3>RDF/OWL </h3>
</section>
<section>
<h3>XML</h3>
</section>
</section>
<section class="informative">
<h2>Scenarios - Encoding Examples</h2>
<section>
<h3>Scenario - Set</h3>
<p>The following shows an instance of a Set Policy. The Set shows a policy expression, stating that the Asset <i>http//example.com/asset:9898</i> is the target of the Permission reproduce and the Prohibition to modify. No parties or other elements are involved. This Set could be used, for example, as a template or an instant license.
</p>
<div class="nanotabs">
<ul>
<li><a href="#sc01-json" class="selected">JSON</a></li>
<li><a href="#sc01-rdfxml" class="selected">RDF/XML</a></li>
<li><a href="#sc01-turtle" class="selected">Turtle</a></li>
<li><a href="#sc01-xml" class="selected">XML</a></li>
</ul>
<div id="sc01-json" style="display: block;">
<pre class="example highlight json">
{
"policytype": "http://www.w3.org/ns/odrl/2/Set",
"policyid": "http://example.com/policy:0099",
"permissions": [{
"target": "http://example.com/asset:9898",
"action": "http://www.w3.org/ns/odrl/2/reproduce"
}],
"prohibitions": [{
"target": "http://example.com/asset:9898",
"action": "http://www.w3.org/ns/odrl/2/modify"
}]
}
</pre>
</div>
<div id="sc01-rdfxml" style="display: none;">
<pre class="example highlight html">
<rdf:RDF xmlns:odrl="http://www.w3.org/ns/odrl/2/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<odrl:Set rdf:about="http://example.com/policy:0099">
<odrl:permission>
<odrl:Permission>
<odrl:action rdf:resource="http://www.w3.org/ns/odrl/2/reproduce"/>
<odrl:target rdf:resource="http://example.com/asset:9898"/>
</odrl:Permission>
</odrl:permission>
<odrl:prohibition>
<odrl:Prohibition>
<odrl:action rdf:resource="http://www.w3.org/ns/odrl/2/modify"/>
<odrl:target rdf:resource="http://example.com/asset:9898"/>
</odrl:Prohibition>
</odrl:prohibition>
</odrl:Set>
</rdf:RDF>
</pre>
</div>
<div id="sc01-turtle" style="display: none;">
<pre class="example highlight turtle">
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
<http://example.com/policy:0099>
a odrl:Set;
odrl:permission [
a odrl:Permission ;
odrl:target <http://example.com/asset:9898> ;
odrl:action odrl:reproduce
] ;
odrl:prohibition [
a odrl:Prohibition ;
odrl:target <http://example.com/asset:9898> ;
odrl:action odrl:modify
] .
</pre>
</div>
<div id="sc01-xml" style="display: none;">
<pre class="example highlight html">
<o:Policy xmlns:o="http://www.w3.org/ns/odrl/2/" type="http://www.w3.org/ns/odrl/2/Set"
uid="http://example.com/policy:0099">
<o:permission>
<o:asset uid="http://example.com/asset:9898"
relation="http://www.w3.org/ns/odrl/2/target"/>
<o:action name="http://www.w3.org/ns/odrl/2/reproduce"/>
</o:permission>
<o:prohibition>
<o:asset uid="http://example.com/asset:9898"
relation="http://www.w3.org/ns/odrl/2/target"/>
<o:action name="http://www.w3.org/ns/odrl/2/modify"/>
</o:prohibition>
</o:Policy>
</pre>
</div>
</div>
</section>
</section>
<script type="text/javascript" src="http://www.w3.org/scripts/nanotabs/0.9/nanotabs.js">
</script>
<script type="text/javascript">
nanotabs({c:"cell",e:"click",d:-1,f:function(){ return false; }});
nanotabs({c:"cell",e:"mouseover",s:"active"});
</script>
</body>
</html>