Ontological model for s-forms. Repository was moved to https://github.com/kbss-cvut/s-forms-model.
Miroslav Blasko
2022-06-10 6d246ed5fa098a552f421934ce18cbb60d3d3c3e
commit | author | age
f3da6c 1 @prefix : <http://onto.fel.cvut.cz/ontologies/form/> .
18683d 2 @prefix dc: <http://purl.org/dc/terms/> .
f3da6c 3 @prefix doc: <http://onto.fel.cvut.cz/ontologies/documentation/> .
MB 4 @prefix form: <http://onto.fel.cvut.cz/ontologies/form/> .
5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
6 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
7 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8 @prefix xml: <http://www.w3.org/XML/1998/namespace> .
9 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
10
311be0 11 doc:answer a owl:Class ;
MB 12     rdfs:subClassOf form:entity .
f3da6c 13
311be0 14 doc:todo a owl:DatatypeProperty .
MB 15
16 <http://onto.fel.cvut.cz/ontologies/form> a owl:Ontology ;
17     rdfs:comment "Represent form data." ;
18     owl:imports <http://onto.fel.cvut.cz/ontologies/documentation> .
19
27c8f2 20 form:has-comment a owl:ObjectProperty ;
MB 21     rdfs:domain form:question ;
22     rdfs:range form:comment ;
23 .
24
25 form:comment a owl:Class ;
26 .
27 form:author a  owl:Class ;
28 .
29
30 form:has-author a owl:ObjectProperty ;
960d45 31     rdfs:label "has author" ;
27c8f2 32     rdfs:domain form:comment ;
MB 33     rdfs:range form:author ;
34 .
35
36 form:has-timestamp a owl:ObjectProperty ;
960d45 37     rdfs:label "has timestamp" ;
27c8f2 38     rdfs:domain form:comment ;
MB 39 .
40
960d45 41 form:has-comment-value a owl:DatatypeProperty ;
MB 42     rdfs:label "has comment value" ;
43     rdfs:domain form:comment ;
44     rdfs:range xsd:string ;
45 .
46
6d246e 47 form:textual-view a owl:DataProperty ;
MB 48     dc:description "Defines a view on the question in textual form, which may also include textual views of its subquestions recursively."
49     rdfs:domain doc:question ;
50     rdfs:range xsd:string ;
51 .
52
311be0 53 form:accepts a owl:ObjectProperty ;
18683d 54     rdfs:label "accepts" ;
MB 55     rdfs:domain form:condition ;
56     rdfs:range form:question-type .
311be0 57
MB 58 form:accepts-answer-value a owl:AnnotationProperty ;
18683d 59     rdfs:label "accepts value" ;
MB 60     rdfs:domain form:condition .
311be0 61
MB 62 form:accepts-validation-value a owl:DatatypeProperty ;
63     rdfs:label "accepts validation value" ;
01786a 64     dc:description "Defines which validation values (true/false) are permitted for the tested question." ;
311be0 65     rdfs:domain form:condition ;
MB 66     rdfs:range xsd:boolean .
67
18683d 68 form:and-condition a owl:Class ;
MB 69     rdfs:label "And condition" ;
70     dc:description "Operator to combine different conditions. If all of its sub-conditions are true this condition is evaluated as true." ;
71     rdfs:subClassOf form:condition .
72
311be0 73 form:answer-origin a owl:Class ;
MB 74     rdfs:label "Answer origin" ;
01786a 75     dc:description "Class of objects that are used to reconstruct how was a answer created." .
311be0 76
18683d 77 form:answered-question a form:question-type,
MB 78         owl:Class,
79         owl:NamedIndividual ;
80     rdfs:label "Represent question that was answered"@en ;
311be0 81     rdfs:subClassOf doc:question .
MB 82
83 form:has-answer-origin a owl:ObjectProperty ;
84     rdfs:label "has answer origin" ;
01786a 85     dc:description "Defines entity from which this answer was created." ;
311be0 86     rdfs:domain doc:question ;
MB 87     rdfs:subPropertyOf form:has-origin .
88
89 form:has-datatype a owl:DatatypeProperty ;
90     rdfs:label "has datatype" .
91
92 form:has-origin-path a owl:DatatypeProperty ;
93     rdfs:label "has origin path" ;
94     rdfs:range xsd:string .
95
96 form:has-origin-path-id a owl:DatatypeProperty ;
97     rdfs:label "has origin path id" ;
98     rdfs:range xsd:string .
99
100 form:has-origin-type a owl:ObjectProperty ;
101     rdfs:label "has origin" ;
01786a 102     dc:description "Defines type of entity from which this template was created." .
311be0 103
MB 104 form:has-possible-value a owl:ObjectProperty ;
105     rdfs:label "has possible value" ;
106     rdfs:domain doc:question .
107
108 form:has-possible-values-query a owl:DatatypeProperty ;
109     rdfs:label "has possible value query" ;
110     rdfs:domain doc:question .
111
112 form:has-preceding-question a owl:ObjectProperty ;
113     rdfs:label "has preceding question" ;
01786a 114     dc:description "Defines that this question follows (typicaly chronologically) specified question." ;
311be0 115     rdfs:domain doc:question ;
MB 116     rdfs:range doc:question .
117
118 form:has-preceding-template a owl:ObjectProperty ;
119     rdfs:label "has preceding question template" ;
01786a 120     dc:description "Defines that this question template follows (typicaly chronologically) specified question template." ;
311be0 121     rdfs:domain form:question-template ;
MB 122     rdfs:range form:question-template .
123
124 form:has-preceding-value a owl:ObjectProperty ;
125     rdfs:label "has preceding question" ;
01786a 126     dc:description "Defines that this answer value follows (typicaly chronologically) specified answer value." .
311be0 127
MB 128 form:has-question-origin a owl:ObjectProperty ;
129     rdfs:label "has question origin" ;
01786a 130     dc:description "Defines entity from which this question was created." ;
311be0 131     rdfs:domain doc:question ;
MB 132     rdfs:subPropertyOf form:has-origin .
133
18683d 134 form:has-sub-condition a owl:ObjectProperty ;
MB 135     rdfs:label "has sub-condition" ;
136     rdfs:domain form:condition ;
137     rdfs:range form:condition .
138
311be0 139 form:has-subsection a owl:ObjectProperty ;
18683d 140     rdfs:label "has subsection" .
311be0 141
MB 142 form:has-subtemplate a owl:ObjectProperty ;
143     rdfs:domain form:section ;
144     rdfs:range form:question-template .
145
146 form:has-template a owl:ObjectProperty ;
18683d 147     rdfs:label "has template" .
311be0 148
MB 149 form:has-template-origin a owl:ObjectProperty ;
150     rdfs:label "has template origin" ;
01786a 151     dc:description "Defines entity from which this template was created." ;
311be0 152     rdfs:domain form:question-template ;
MB 153     rdfs:subPropertyOf form:has-origin .
154
155 form:has-template-relation a owl:ObjectProperty ;
18683d 156     rdfs:label "has template relation" .
311be0 157
MB 158 form:has-tested-question a owl:ObjectProperty ;
159     rdfs:label "has tested question" ;
01786a 160     dc:description "Determine which questions are tested for this condition. Multiple questions can be tested." ;
311be0 161     rdfs:domain form:condition ;
MB 162     rdfs:range doc:question .
163
164 form:has-unit a owl:DatatypeProperty ;
165     rdfs:label "has unit" ;
166     rdfs:range xsd:string .
167
168 form:inherits-template-from a owl:ObjectProperty ;
01786a 169     dc:description "Subject inherits properties from its object, i.e. any question created by subject template must also have properties of object template." ;
311be0 170     rdfs:domain form:question-template ;
MB 171     rdfs:range form:question-template .
172
173 form:is-clone-of-question a owl:ObjectProperty ;
01786a 174     dc:description "Question within subject of this relation is unmodifiable clone of question within object of this relation." ;
311be0 175     rdfs:domain doc:question ;
MB 176     rdfs:range doc:question .
177
178 form:is-link-template-of a owl:ObjectProperty ;
01786a 179     dc:description "Subject of this relation is a template relation (?s_qts_rel) that defines contract how any of its question should be created. Every question created using ?s_qts_rel must be only reference to other question created from ?o_qts_rel, i.e. template relation within object of this relation. Domain and range of this relation is of type reification of ?qt1 has-subtemplate ?qt2." .
311be0 180
MB 181 form:is-relevant-if a owl:ObjectProperty ;
182     rdfs:label "is relevant if" ;
01786a 183     dc:description "States in which context is statement relevant." ;
311be0 184     rdfs:domain doc:question ;
MB 185     rdfs:range form:condition .
186
187 form:is-valid-answer a owl:ObjectProperty ;
188     rdfs:label "has valid answer" ;
01786a 189     dc:description "Defines  set of answers that need to be valid in order for condition to hold." ;
311be0 190     rdfs:domain form:condition ;
MB 191     rdfs:range doc:question .
192
18683d 193 form:not-answered-question a form:question-type,
MB 194         owl:Class,
195         owl:NamedIndividual ;
196     rdfs:label "Represent question that was not answered"@en ;
311be0 197     rdfs:subClassOf doc:question .
18683d 198
MB 199 form:not-condition a owl:Class ;
200     rdfs:label "Not condition" ;
201     dc:description "Operator negates related conditions. If sub-condition evaluates to true it evaluates to false and vice versa." ;
202     rdfs:subClassOf form:condition .
311be0 203
MB 204 form:or-condition a owl:Class ;
205     rdfs:label "Or condition" ;
18683d 206     dc:description "Operator to combine different conditions. If any of its sub-conditions is true this condition is evaluated as true." ;
311be0 207     rdfs:subClassOf form:condition .
MB 208
209 form:positive-validation-condition a owl:Class ;
01786a 210     dc:description "Indicates that accept answer value is only  \"true\" of this condition." ;
311be0 211     rdfs:subClassOf form:validation-result-condition .
MB 212
213 form:question-origin a owl:Class ;
214     rdfs:label "Question origin" ;
01786a 215     dc:description "Class of objects that are used to reconstruct how was a question created." .
311be0 216
MB 217 form:requires-answer a owl:ObjectProperty ;
218     rdfs:label "requires answer" ;
01786a 219     dc:description "Indicates that question requires answer." ;
311be0 220     rdfs:domain doc:question .
MB 221
222 form:requires-answer-description-if a owl:ObjectProperty ;
223     rdfs:label "requires answer description" ;
01786a 224     dc:description "Answer requires descripton." ;
311be0 225     rdfs:domain doc:question ;
MB 226     rdfs:range form:condition .
227
18683d 228 dc:description a owl:AnnotationProperty .
MB 229
311be0 230 form:entity a owl:Class ;
MB 231     rdfs:label "entity" ;
232     rdfs:subClassOf owl:Thing .
233
234 form:section a owl:Class ;
235     rdfs:subClassOf form:question-template .
236
237 form:template-entity a owl:Class ;
18683d 238     rdfs:label "template entity" ;
311be0 239     rdfs:subClassOf owl:Thing .
MB 240
241 form:validation-result-condition a owl:Class ;
18683d 242     dc:description "" ;
311be0 243     rdfs:subClassOf form:condition .
MB 244
245 form:has-origin a owl:ObjectProperty ;
246     rdfs:label "has origin" ;
01786a 247     dc:description "Defines entity from which this template was created." .
311be0 248
18683d 249 form:question-type a owl:Class .
311be0 250
MB 251 form:question-template a owl:Class ;
252     rdfs:subClassOf form:template-entity .
253
18683d 254 form:condition a owl:Class ;
MB 255     rdfs:label "Condition" ;
256     rdfs:subClassOf owl:Thing .
257
27c8f2 258 form:has-first-question a owl:ObjectProperty ;
MB 259     rdfs:domain form:question-precedence ;
260     rdfs:range doc:question ;
261 .
262
263 form:has-second-question a owl:ObjectProperty ;
264     rdfs:domain form:question-precedence ;
265     rdfs:range doc:question ;
266 .
267
268 form:question-precedence a owl:Class, owl:NamedIndividual ;
6d246e 269     rdfs:label "Relator of a precedence between two questions." ;
27c8f2 270 .
MB 271
272 form:direct-precedence a owl:Class, owl:NamedIndividual ;
6d246e 273     rdfs:label "Relator defining precedence between two questions based on explicit has-preceding-question relation." ;
27c8f2 274     rdfs:subClassOf form:question-precedence ;
MB 275 .
276
277 form:language-variant-precedence a owl:Class, owl:NamedIndividual ;
6d246e 278     rdfs:label "Relator defining precedence between two questions based on same question having different language variants." ;
27c8f2 279     rdfs:subClassOf form:question-precedence ;
MB 280 .
281
282 form:relator-multiplicity-precedence a owl:Class, owl:NamedIndividual ;
6d246e 283     rdfs:label "Relator defining precedence between two questions based on relator question with higher cardinality." ;
27c8f2 284     rdfs:subClassOf form:question-precedence ;
MB 285 .
286
287 form:meta-question-precedence a owl:Class, owl:NamedIndividual ;
6d246e 288     rdfs:label "Relator defining precedence between two questions where one of them is meta-question." ;
27c8f2 289     rdfs:subClassOf form:question-precedence ;
MB 290 .
291
292 form:object-identification-precedence a owl:Class, owl:NamedIndividual ;
6d246e 293     rdfs:label "Relator defining precedence between two questions where one of them is identifying trope of an entity." ;
27c8f2 294     rdfs:subClassOf form:question-precedence ;
MB 295 .
296
297 form:object-description-precedence a owl:Class, owl:NamedIndividual ;
6d246e 298     rdfs:label "Relator defining precedence between two questions where one of them is trope providing description of an entity." ;
27c8f2 299     rdfs:subClassOf form:question-precedence ;
MB 300 .
301
302 form:aspect-type-precedence a owl:Class, owl:NamedIndividual ;
6d246e 303     rdfs:label "Relator defining precedence between two questions that are either relator or intrinsic trope." ;
27c8f2 304     rdfs:subClassOf form:question-precedence ;
MB 305 .
306
307 form:temporal-precedence a owl:Class, owl:NamedIndividual ;
6d246e 308     rdfs:label "Relator defining precedence between two questions based on temporal properties of entities." ;
27c8f2 309     rdfs:subClassOf form:question-precedence ;
MB 310 .
311
312 form:alphabethical-precedence a owl:Class, owl:NamedIndividual ;
6d246e 313     rdfs:label "Relator defining precedence between two questions based on alphabethical order of its labels." ;
27c8f2 314     rdfs:subClassOf form:question-precedence ;
MB 315 .
316
317 form:has-higher-priority-precedence a owl:ObjectProperty ;
318     rdfs:label "Defines priority of precedence types, the higher priority precedence should be ordered before the lower one." ;
319 .
320
321 form:object-identification-question a owl:Class ;
322     rdfs:subClassOf form:trope-question ;
323 .
324
325 form:object-identification-coordinate-question a owl:Class ;
326     rdfs:subClassOf form:trope-question ;
327 .
328
329 form:object-description-question a owl:Class ;
330     rdfs:subClassOf form:trope-question ;
331 .
332
333 form:trope-question a owl:Class ;
334     rdfs:subClassOf doc:question ;
335 .
336
337 form:multilingual-question a owl:Class ;
338     rdfs:subClassOf form:trope-question ;
339 .
340
341 form:multirelator-question a owl:Class ;
342     rdfs:subClassOf form:relator-question ;
343 .
344
345 form:relator-question a owl:Class ;
346     rdfs:subClassOf doc:question ;
347 .
348
349 form:meta-question a owl:Class ;
350     rdfs:subClassOf doc:question ;
351 .
352
353 form:temporally-related-question a owl:Class ;
354     rdfs:subClassOf doc:question ;
355 .