-
Notifications
You must be signed in to change notification settings - Fork 14
/
space.n3
140 lines (107 loc) · 4.63 KB
/
space.n3
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix s: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix gen: <http://www.w3.org/2006/gen/ont#> .
@prefix ui: <http://www.w3.org/ns/ui#>.
@prefix : <http://www.w3.org/ns/pim/space#> .
@prefix ws: <http://www.w3.org/ns/pim/space#> .
# @prefix dbp: <http://dbpedia.org/resource/>.
# @prefix cal: <http://www.w3.org/2002/12/cal/ical#>.
# @prefix foaf: <http://xmlns.com/foaf/0.1/>.
# @prefix q: <http://www.w3.org/2000/10/swap/pim/qif#> .
<> dc:title "Workspace Ontology";
doc:version "$Id: space.n3,v 1.18 2020/12/06 10:08:07 eric Exp $";
s:comment """This ontology is for use in describing
Workspaces. Workspaces are places where data is stored and associated policies of privacy.
A given application typically stores information in several different
workspaces, some being user private, some shared, and some public.
it is crucial that the user has easy control over the destiny of information.
Goals then are that the user can
- create workspaces
- easily understand which workspace data is going into
- understand what the implications of that are
- (later) set ACLS on them
- publish apropriate use policies for them
""".
:Workspace a s:Class; s:label "workspace";
s:comment """Workspaces are place where data is stored, and associated polices of privacy.
A given application typically stores information in several different
workspaces, some being user private, some shared, and some public.
""".
:Workspace owl:disjointUnionOf (:PrivateWorkspace :SharedWorkspace :PublicWorkspace).
:uriPrefix a rdf:Property, owl:DatatypeProperty;
s:label "URI prefix";
ui:prompt "Give the first part of the URis in this workspace";
s:comment """URIs which start with this string are in this workspace or storage.
This may be used for constructing URIs for new storage resources.
""".
:MasterWorkspace s:subClassOf :PrivateWorkspace;
s:label "Master Workspace"@en;
s:comment """This is a workspace for storing the
information about the other workspaces.
As a user, you normally don't have to worry about it.""".
:masterWorkspace a rdf:Property;
s:label "master workspace"@en;
s:domain foaf:Agent;
s:range :MasterWorkspace.
:workspace a rdf:Property;
s:label "workspace"@en;
# s:domain foaf:Agent;
s:range :Workspace.
:PrivateWorkspace s:subClassOf :Workspace;
s:label "Private workspace";
s:comment """Access only by the you, the user.""".
:SharedWorkspace s:subClassOf :Workspace;
s:label "Shared workspace";
s:comment """Access is to some but not all people.""".
:PublicWorkspace s:subClassOf :Workspace;
s:label "Public workspace";
s:comment """Aceess is open to the public. Anything in a public workspace
can be accesed by anyone.""".
:PreferencesWorkspace s:subClassOf :Workspace;
s:label "Preferences workspace";
s:comment """Aceess may not be open to the public. Contains preferences resources.""".
:storage a rdf:Property; s:label "storage";
s:range :Storage;
s:comment """The storage in which this workspace is, or the storage which
contains this resource, or a storage available to this agent to use.""".
##########################################
#
# Storage is a lump out of which workspaces may be carved
#
:Storage a s:Class; s:label "storage";
s:comment """A storage is a space of URIs in which you have access to data.
""".
:PublicStorage a s:Class; s:subClassOf :Storage; s:label "public storage";
s:comment """A public storage is a space of URIs in which you have access to data,
and all data is accessible to anyone without control.
""".
:PersonalStorage a s:Class; s:subClassOf :Storage; s:label "personal storage";
s:comment """A personal storage is a space of URIs in which you and only you have access to data,
you cannot give access to anyone else.
""".
:ControlledStorage a s:Class; s:subClassOf :Storage; s:label "access controlled storage";
s:comment """A storage is a space of URIs in which you can individually control for each resource
who has access to it.
""".
########################
#
# Registration
#
# Which apps I am using where
#
# TBD
#########################
#
# Configuration files
#
:ConfigurationFile s:subClassOf gen:InformationResource.
:preferencesFile a rdf:Property;
s:label "preferences file";
s:domain foaf:Agent;
s:range :ConfigurationFile.
# ends