-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocessing-power.ttl
35 lines (30 loc) · 1.06 KB
/
processing-power.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
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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/provider> ;
odrl:assignee <https://www.example.com/consumer> ;
odrl:action <http://example.com/policies#action1> ;
odrl:constraint <http://example.com/policies#constraint1> .
<http://example.com/policies#action1>
a odrl:Action ;
rdf:value odrl:read ;
odrl:refinement [
odrl:leftOperand odrl:unitOfCount ;
odrl:operator odrl:eq ;
odrl:rightOperand "CPUCycles"
] .
<http://example.com/policies#constraint1>
a odrl:Constraint ;
odrl:leftOperand odrl:meteredTime ;
odrl:operator odrl:lteq ;
odrl:rightOperand "1000" .
<http://example.com/files/file1>
a odrl:Asset ;
dc11:title "File 1" .