-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbandwidth.ttl
42 lines (35 loc) · 1.26 KB
/
bandwidth.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
38
39
40
41
42
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix ds: <http://www.w3id.org/dataspaces-policies/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<http://example.com/policies#policy>
a odrl:Policy ;
odrl:profile ds:v1 ;
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/provider> ;
odrl:assignee <https://www.example.com/consumer> ;
odrl:action odrl:read ;
odrl:obligation <http://example.com/policies#obligation1> .
<http://example.com/policies#obligation1>
a odrl:Obligation ;
odrl:action <http://example.com/policies#bandwith> ;
odrl:constraint <http://example.com/policies#constraint1> .
<http://example.com/policies#bandwith>
a odrl:Action ;
rdf:value ds:bandwithUsage ;
odrl:refinement [
odrl:leftOperand odrl:unitOfCount ;
odrl:operator odrl:eq ;
odrl:rightOperand "MBit/s"
] .
<http://example.com/policies#constraint1>
a odrl:Constraint ;
odrl:leftOperand ds:bandwidth ;
odrl:operator odrl:lteq ;
odrl:rightOperand 20 .
<http://example.com/files/file1>
a odrl:Asset ;
dc11:title "File 1" .