-
Notifications
You must be signed in to change notification settings - Fork 0
/
dtou-policy-data1.n3s
91 lines (73 loc) · 1.68 KB
/
dtou-policy-data1.n3s
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
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix : <http://example.org/ns#>.
######
# Data Policy
######
:attr1 a :Attribute;
:name :ada-p;
:class :person;
:value :ada.
:attr2 a :Attribute;
:name :test;
:class :testClass;
:value :testValue.
:sec-attr1 a :Attribute;
:name :sec-attr;
:class :secure;
:value :nil.
:per-attr1 a :Attribute;
:name :per-attr;
:class :personal;
:value :nil.
:compl-attr1 a :Attribute;
:name :compl-attr;
:class :complete;
:value :nil.
:sec-tag1 a :Security;
:attribute_ref :sec-attr1;
:validity_binding :attr1, :attr2.
:per-tag1 a :Security;
:attribute_ref :per-attr1;
:validity_binding :attr1.
:compl-tag1 a :Integrity;
:attribute_ref :compl-attr1.
:ob1 a :Obligation;
:obligation_class :acknowledge;
:argument (:attr1);
:activation_condition [
:purpose :research
].
:pr1 a :Prohibition;
:mode :Use;
:activation_condition [
:app <urn:dtou:appoint-booking>;
:purpose <urn:dtou:purpose-verify-identity>;
].
:pr2 a :Prohibition;
:mode :Use;
:activation_condition [
:app <https://gh.app/clinic>;
:purpose <urn:dtou:purpose-booking>;
].
:data1 a :Data;
:uri <https://ada.site/id>;
:policy :policy1.
:policy1 a :DataPolicy;
:attribute :attr1, :sec-attr1, :per-attr1, :compl-attr1, :attr2;
:requirement :sec-tag1, :per-tag1;
# :tag :compl-tag1;
:prohibition :pr1, :pr2;
:obligation :ob1.
:data2 a :Data;
:uri <https://ada.site/email>;
:policy :policy2.
:policy2 a :DataPolicy;
:attribute :any-purpose-attr1;
:tag :any-purpose.
:any-purpose a :Purpose;
:attribute_ref :any-purpose-attr1.
:any-purpose-attr1 a :Attribute;
:name _:a;
:class :Purpose;
:value :nil.