-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathencryption-by-provider.ttl
37 lines (31 loc) · 1.17 KB
/
encryption-by-provider.ttl
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
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
<http://example.com/policies#policy>
a odrl:Policy ;
odrl:profile odrl:core ;
odrl:permission <http://example.com/policies#permission1> .
<http://example.com/policies#permission1>
a odrl:Permission ;
odrl:target <http://example.com/files/file1> ;
odrl:assigner <https://www.example.com/consumer> ;
odrl:assignee <https://www.example.com/provider> ;
odrl:action odrl:distribute ;
odrl:obligation <http://example.com/policies#obligation1> ;
odrl:constraint <http://example.com/policies#constraint2> .
<http://example.com/policies#obligation1>
a odrl:Obligation ;
odrl:action odrl:transform ;
odrl:constraint <http://example.com/policies#constraint1> .
<http://example.com/policies#constraint1>
a odrl:Constraint ;
odrl:leftOperand odrl:purpose ;
odrl:operator odrl:eq ;
odrl:rightOperand "encryption" .
<http://example.com/policies#constraint2>
a odrl:Constraint ;
odrl:leftOperand odrl:recipient ;
odrl:operator odrl:eq ;
odrl:rightOperand <https://www.example.com/consumer> .
<http://example.com/files/file1>
a odrl:Asset ;
dc11:title "File 1" .