-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbilling.ttl
30 lines (25 loc) · 940 Bytes
/
billing.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
@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/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 odrl:compensate ;
odrl:constraint <http://example.com/policies#constraint1> .
<http://example.com/policies#constraint1>
a odrl:Constraint ;
odrl:leftOperand odrl:payAmount ;
odrl:operator odrl:eq ;
odrl:rightOperand 500.0 .
<http://example.com/files/file1>
a odrl:Asset ;
dc11:title "File 1" .