/
wd.owl
287 lines (246 loc) · 7.92 KB
/
wd.owl
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
@prefix wd: <http://vocab.deri.ie/wd#> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix sioct: <http://rdfs.org/sioc/types#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
wd: a owl:Ontology ;
owl:versionInfo "Revision .85"@en ;
dcterms:creator <http://jodischneider.com/> ;
dcterms:contributor <http://apassant.net/> ;
dcterms:created "2012-11-07"^^xsd:date ;
dcterms:title "WD, the Wikipedia Deletion Discussion Ontology"@en ;
dcterms:description "WD, the Wikipedia Deletion Discussion Ontology,
is an ontology for characterizing Wikipedia deletion discussions"@en ;
cc:license <http://creativecommons.org/licenses/by/3.0/> .
#Properties
wd:has_decision_factor a owl:ObjectProperty ;
rdfs:comment "indicates a decision factor"@en ;
rdfs:domain wd:Message ;
rdfs:range wd:DecisionFactor .
# @@TODO: document that model differs slightly from reality
#We model this as at most one vote per message
#but in reality votes are VERY #OCCASIONALLY not exclusive
#e.g. "<b>Delete</b>, or <b>Merge</b> (with redirect)"
sioc:has_vote a owl:ObjectProperty ;
rdfs:comment "indicates the DecisionType outcome from the DeletionCase"@en ;
rdfs:domain wd:Message ;
rdfs:range wd:Outcome .
# @@TODO: discuss with sioc list, push an inverse of has_discussion into SIOC
wd:is_discussion_of a owl:ObjectProperty ;
owl:inverseOf sioc:has_discussion ;
rdfs:comment "The Item that is related to this discussion."@en ;
rdfs:range sioc:Item ;
rdfs:isDefinedBy wd: ;
rdfs:label "is discussion of"@en.
#Classes
# @@TODO: document facts about __instances of wd:DeletionCase__, e.g.:
# sioc:has_container sioct:Wiki ;
# wd:is_discussion_of sioct:WikiArticle .
#
wd:DeletionCase rdfs:subClassOf sioc:Forum ;
rdfs:comment "A deletion discussion in a wiki."@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Deletion Case"@en ;
rdfs:subClassOf [
owl:minCardinality 1;
owl:onProperty wd:is_discussion_of] .
# @@TODO: document that we do not expect wd:DecisionFactor(s) to be explicit.
# We classify messages to determine these.
#
wd:DecisionFactor a owl:Class ;
rdfs:comment "A decision factor raised in an argumentative discussion"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Decision Factor"@en ;
owl:disjointWith
wd:DeletionCase ,
wd:Message ,
wd:Outcome ,
sioc:UserAccount .
# @@TODO: document facts about __instances of wd:Message__, e.g.:
# sioc:has_container wd:DeletionCase ;
# sioc:has_creator wd:commenter .
#
wd:Message rdfs:subClassOf sioc:Post ;
rdfs:comment "A message in a deletion discussion"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Message"@en ;
owl:disjointWith
wd:DeletionCase ,
wd:DecisionFactor ,
wd:Outcome ,
sioc:UserAccount.
wd:Outcome a rdfs:Class ;
owl:disjointWith
wd:DeletionCase ,
wd:DecisionFactor ,
wd:Message ,
sioc:UserAccount .
wd:has_decided_outcome a rdfs:Property ;
rdfs:comment "The decision made following an argumentative discussion"@en ;
rdfs:label "Has Decided Outcome"@en ;
rdfs:range :Outcome .
wd:has_possible_outcome a rdfs:Property ;
rdfs:comment "A possible outcome for an argumentative discussion"@en ;
rdfs:label "Has Possible Outcome"@en ;
rdfs:range :Outcome .
wd:IP_AddressUserAccount rdfs:subClassOf sioc:UserAccount ;
# We need to make the relationship with sioc:ip_address clear.
# In SIOC, sioc:ip_address is a DataTypeProperty with Domain:sioc:Item
# But sioc:UserAccount is a subclass of foaf:OnlineAccount
# The lack of parallels seems problematic to me
# because when we want to point to the
# sioc:UserAccount associated with a wd:Message,
# we need an answer, even if a sioc:ip_address is listed.
owl:disjointWith wd:DeletionCase,
wd:Message,
wd:DecisionFactor ,
wd:Outcome ,
wd:AuthenticatedUserAccount .
wd:AuthenticatedUserAccount rdfs:subClassOf sioc:UserAccount ;
owl:disjointWith wd:DeletionCase,
wd:Message,
wd:DecisionFactor ,
wd:Outcome ,
wd:IP_AddressUserAccount .
# @@TODO: document facts about __instance of wd:Bot__, e.g.:
# sioc:has_owner wd:BotOperator .
wd:Bot rdf:subClassOf wd:AuthenticatedUserAccount .
# @@TODO: document that we assume (but do not model) that
# we are talking about ONE sioct:Wiki shared by both
# the administrator and the discussion.
wd:Administrator rdf:subClassOf wd:AuthenticatedUserAccount .
wd:Relist rdfs:subClassof wd:Message .
#Instances
# @@TODO: document that these are not comprehensive for votes
# e.g. we do not model weak_keep (use keep)
wd:Delete a wd:Outcome ;
rdfs:comment "delete decision"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "delete decision"@en ;
owl:differentFrom
wd:Keep ,
wd:Merge ,
wd:No_consensus ,
wd:Redirect ,
wd:Transwiki ,
wd:Userfy .
wd:Keep a wd:Outcome ;
rdfs:comment "keep decision"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "keep decision"@en ;
owl:differentFrom
wd:Delete ,
wd:Merge ,
wd:No_consensus ,
wd:Redirect ,
wd:Transwiki ,
wd:Userfy .
wd:merge a wd:Outcome ;
rdfs:comment "merge decision"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "merge decision"@en ;
owl:differentFrom
wd:Delete ,
wd:Keep ,
wd:No_consensus ,
wd:Redirect ,
wd:Transwiki ,
wd:Userfy .
wd:No_consensus a wd:Outcome ;
rdfs:comment "No consensus decision"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "No consensus"@en ;
owl:differentFrom
wd:Delete ,
wd:Keep ,
wd:Merge ,
wd:Redirect ,
wd:Transwiki ,
wd:Userfy .
wd:Redirect a wd:Outcome ;
rdfs:comment "Redirect decision"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Redirect decision"@en ;
owl:differentFrom
wd:Delete ,
wd:Keep ,
wd:Merge ,
wd:No_consensus ,
wd:Transwiki ,
wd:Userfy .
wd:Transwiki a wd:Outcome ;
rdfs:comment "Transwiki decision"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Transwiki decision"@en ;
owl:differentFrom
wd:Delete ,
wd:Keep ,
wd:Merge ,
wd:No_consensus ,
wd:Redirect ,
wd:Userfy .
wd:Userfy a wd:Outcome ;
rdfs:comment "Userfy decision"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Userfy decision"@en ;
owl:differentFrom
wd:Delete ,
wd:Keep ,
wd:Merge ,
wd:No_consensus ,
wd:Redirect ,
wd:Transwiki .
#DecisionFactorInstances
# For documentation: Multiple factors can apply; only "other" is disjoint.
wd:Bias a wd:DecisionFactor ;
rdfs:comment "Bias"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Bias"@en .
wd:Maintenance a wd:DecisionFactor ;
rdfs:comment "Maintenance"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Maintenance"@en .
wd:Sources a wd:DecisionFactor ;
rdfs:comment "Sources"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Sources"@en .
wd:Notability a wd:DecisionFactor ;
rdfs:comment "Notability"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Notability"@en .
wd:Other a wd:DecisionFactor ;
rdfs:comment "used when no listed factors apply"@en ;
rdfs:isDefinedBy wd: ;
rdfs:label "Other"@en ;
owl:differentFrom
wd:Bias ,
wd:Maintenance ,
wd:Sources ,
wd:Notability .
#Role Instances
wd:Nominator rdf:type sioc:Role ;
sioc:function_of wd:AuthenticatedUserAccount ;
sioc:has_scope wd:DeletionCase .
wd:Commenter rdf:type sioc:Role ;
sioc:function_of sioc:UserAccount ;
sioc:has_scope wd:DeletionCase .
# @@TODO: document that model differs slightly from reality
# usually but not always an administrator
# *always* an administrator if the outcome is delete
wd:Closer rdf:type sioc:Role ;
sioc:function_of wd:AuthenticatedUserAccount ;
sioc:has_scope wd:DeletionCase .
#Message Instances
# ArgumentativeMessage and Vote are neither disjoint nor synonymous.
# For documentation:
# sioc:has_creator sioc:commenter ;
# sioc:has_vote wd:PossibleOutcome .
wd:Vote rdfs:subClassOf wd:Message .
# For documentation:
# sioc:has_creator sioc:commenter ;
# sioc:has_argument wd:DecisionFactor .
wd:ArgumentativeMessage rdfs:subClassOf wd:Message .