commit | author | age
|
f3da6c
|
1 |
# baseURI: http://onto.fel.cvut.cz/ontologies/form |
MB |
2 |
# imports: http://onto.fel.cvut.cz/ontologies/documentation |
|
3 |
|
|
4 |
@prefix : <http://onto.fel.cvut.cz/ontologies/form/> . |
|
5 |
@prefix doc: <http://onto.fel.cvut.cz/ontologies/documentation/> . |
|
6 |
@prefix form: <http://onto.fel.cvut.cz/ontologies/form/> . |
|
7 |
@prefix owl: <http://www.w3.org/2002/07/owl#> . |
|
8 |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
|
9 |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
|
10 |
@prefix xml: <http://www.w3.org/XML/1998/namespace> . |
|
11 |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
|
12 |
|
|
13 |
doc:answer |
|
14 |
rdf:type owl:Class ; |
|
15 |
rdfs:subClassOf form:entity ; |
|
16 |
. |
|
17 |
doc:todo |
|
18 |
rdf:type owl:DatatypeProperty ; |
|
19 |
. |
|
20 |
<http://onto.fel.cvut.cz/ontologies/form> |
|
21 |
rdf:type owl:Ontology ; |
|
22 |
rdfs:comment "Represent form data." ; |
|
23 |
owl:imports <http://onto.fel.cvut.cz/ontologies/documentation> ; |
|
24 |
. |
|
25 |
form:accepts-answer-value |
|
26 |
rdf:type owl:AnnotationProperty ; |
|
27 |
rdfs:label "accepts value"^^xsd:string ; |
|
28 |
. |
|
29 |
form:accepts-validation-value |
|
30 |
rdf:type owl:DatatypeProperty ; |
|
31 |
rdfs:comment "Defines which validation values (true/false) are permitted for the tested question." ; |
|
32 |
rdfs:domain form:condition ; |
|
33 |
rdfs:label "accepts validation value" ; |
|
34 |
rdfs:range xsd:boolean ; |
|
35 |
. |
|
36 |
form:answer-origin |
|
37 |
rdf:type owl:Class ; |
|
38 |
rdfs:comment "Class of objects that are used to reconstruct how was a answer created."^^xsd:string ; |
|
39 |
rdfs:label "Answer origin"^^xsd:string ; |
|
40 |
. |
|
41 |
form:condition |
|
42 |
rdf:type owl:Class ; |
|
43 |
rdfs:label "Condition"^^xsd:string ; |
|
44 |
rdfs:subClassOf owl:Thing ; |
|
45 |
. |
|
46 |
form:entity |
|
47 |
rdf:type owl:Class ; |
|
48 |
rdfs:label "entity"^^xsd:string ; |
|
49 |
rdfs:subClassOf owl:Thing ; |
|
50 |
. |
|
51 |
form:has-answer-origin |
|
52 |
rdf:type owl:ObjectProperty ; |
|
53 |
rdfs:comment "Defines entity from which this answer was created."^^xsd:string ; |
|
54 |
rdfs:domain doc:question ; |
|
55 |
rdfs:label "has answer origin"^^xsd:string ; |
|
56 |
rdfs:subPropertyOf form:has-origin ; |
|
57 |
. |
|
58 |
form:has-datatype |
|
59 |
rdf:type owl:DatatypeProperty ; |
|
60 |
rdfs:label "has datatype"^^xsd:string ; |
|
61 |
. |
|
62 |
form:has-origin |
|
63 |
rdf:type owl:ObjectProperty ; |
|
64 |
rdfs:comment "Defines entity from which this template was created."^^xsd:string ; |
|
65 |
rdfs:label "has origin"^^xsd:string ; |
|
66 |
. |
|
67 |
form:has-origin-path |
|
68 |
rdf:type owl:DatatypeProperty ; |
|
69 |
rdfs:label "has origin path"^^xsd:string ; |
|
70 |
rdfs:range xsd:string ; |
|
71 |
. |
|
72 |
form:has-origin-path-id |
|
73 |
rdf:type owl:DatatypeProperty ; |
|
74 |
rdfs:label "has origin path id"^^xsd:string ; |
|
75 |
rdfs:range xsd:string ; |
|
76 |
. |
|
77 |
form:has-origin-type |
|
78 |
rdf:type owl:ObjectProperty ; |
|
79 |
rdfs:comment "Defines type of entity from which this template was created."^^xsd:string ; |
|
80 |
rdfs:label "has origin"^^xsd:string ; |
|
81 |
. |
|
82 |
form:has-possible-value |
|
83 |
rdf:type owl:ObjectProperty ; |
|
84 |
rdfs:domain doc:question ; |
|
85 |
rdfs:label "has possible value"^^xsd:string ; |
|
86 |
. |
|
87 |
form:has-possible-values-query |
|
88 |
rdf:type owl:DatatypeProperty ; |
|
89 |
rdfs:domain doc:question ; |
|
90 |
rdfs:label "has possible value query"^^xsd:string ; |
|
91 |
. |
|
92 |
|
|
93 |
form:has-template-origin |
|
94 |
rdf:type owl:ObjectProperty ; |
|
95 |
rdfs:comment "Defines entity from which this template was created."^^xsd:string ; |
|
96 |
rdfs:domain form:question-template ; |
|
97 |
rdfs:label "has template origin"^^xsd:string ; |
|
98 |
rdfs:subPropertyOf form:has-origin ; |
|
99 |
. |
|
100 |
form:has-preceding-question |
|
101 |
rdf:type owl:ObjectProperty ; |
|
102 |
rdfs:comment "Defines that this question follows (typicaly chronologically) specified question."^^xsd:string ; |
|
103 |
rdfs:domain doc:question ; |
|
104 |
rdfs:label "has preceding question"^^xsd:string ; |
|
105 |
rdfs:range doc:question ; |
|
106 |
. |
|
107 |
form:has-preceding-template |
|
108 |
rdf:type owl:ObjectProperty ; |
|
109 |
rdfs:comment "Defines that this question template follows (typicaly chronologically) specified question template."^^xsd:string ; |
|
110 |
rdfs:domain form:question-template ; |
|
111 |
rdfs:label "has preceding question template"^^xsd:string ; |
|
112 |
rdfs:range form:question-template ; |
|
113 |
. |
|
114 |
form:has-preceding-value |
|
115 |
rdf:type owl:ObjectProperty ; |
|
116 |
rdfs:comment "Defines that this answer value follows (typicaly chronologically) specified answer value."^^xsd:string ; |
|
117 |
rdfs:label "has preceding question"^^xsd:string ; |
|
118 |
. |
|
119 |
form:has-question-origin |
|
120 |
rdf:type owl:ObjectProperty ; |
|
121 |
rdfs:comment "Defines entity from which this question was created."^^xsd:string ; |
|
122 |
rdfs:domain doc:question ; |
|
123 |
rdfs:label "has question origin"^^xsd:string ; |
|
124 |
rdfs:subPropertyOf form:has-origin ; |
|
125 |
. |
|
126 |
form:has-subsection |
|
127 |
rdf:type owl:ObjectProperty ; |
|
128 |
rdfs:label "has-subsection"^^xsd:string ; |
|
129 |
. |
|
130 |
form:has-subtemplate |
|
131 |
rdf:type owl:ObjectProperty ; |
|
132 |
rdfs:domain form:section ; |
|
133 |
rdfs:range form:question-template ; |
|
134 |
. |
|
135 |
form:has-template |
|
136 |
rdf:type owl:ObjectProperty ; |
|
137 |
rdfs:label "has-template"^^xsd:string ; |
|
138 |
. |
|
139 |
form:has-template-origin |
|
140 |
rdf:type owl:ObjectProperty ; |
|
141 |
rdfs:comment "Defines entity from which this template was created."^^xsd:string ; |
|
142 |
rdfs:domain form:question-template ; |
|
143 |
rdfs:label "has template origin"^^xsd:string ; |
|
144 |
rdfs:subPropertyOf form:has-origin ; |
|
145 |
. |
|
146 |
form:has-template-relation |
|
147 |
rdf:type owl:ObjectProperty ; |
|
148 |
rdfs:label "has-template-relation"^^xsd:string ; |
|
149 |
. |
|
150 |
form:has-tested-question |
|
151 |
rdf:type owl:ObjectProperty ; |
|
152 |
rdfs:comment "Determine which questions are tested for this condition. Multiple questions can be tested."^^xsd:string ; |
|
153 |
rdfs:domain form:condition ; |
|
154 |
rdfs:label "has tested question"^^xsd:string ; |
|
155 |
rdfs:range doc:question ; |
|
156 |
. |
|
157 |
form:has-unit |
|
158 |
rdf:type owl:DatatypeProperty ; |
|
159 |
rdfs:label "has unit"^^xsd:string ; |
|
160 |
rdfs:range xsd:string ; |
|
161 |
. |
|
162 |
form:inherits-template-from |
|
163 |
rdf:type owl:ObjectProperty ; |
|
164 |
rdfs:comment "Subject inherits properties from its object, i.e. any question created by subject template must also have properties of object template."^^xsd:string ; |
|
165 |
rdfs:domain form:question-template ; |
|
166 |
rdfs:range form:question-template ; |
|
167 |
. |
|
168 |
form:is-clone-of-question |
|
169 |
rdf:type owl:ObjectProperty ; |
|
170 |
rdfs:comment "Question within subject of this relation is unmodifiable clone of question within object of this relation."^^xsd:string ; |
|
171 |
rdfs:domain doc:question ; |
|
172 |
rdfs:range doc:question ; |
|
173 |
. |
|
174 |
form:is-link-template-of |
|
175 |
rdf:type owl:ObjectProperty ; |
|
176 |
rdfs:comment "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."^^xsd:string ; |
|
177 |
. |
|
178 |
form:is-relevant-if |
|
179 |
rdf:type owl:ObjectProperty ; |
|
180 |
rdfs:comment "States in which context is statement relevant."^^xsd:string ; |
|
181 |
rdfs:domain doc:question ; |
|
182 |
rdfs:label "is relevant if"^^xsd:string ; |
|
183 |
rdfs:range form:condition ; |
|
184 |
. |
|
185 |
form:is-valid-answer |
|
186 |
rdf:type owl:ObjectProperty ; |
|
187 |
rdfs:comment "Defines set of answers that need to be valid in order for condition to hold."^^xsd:string ; |
|
188 |
rdfs:domain form:condition ; |
|
189 |
rdfs:label "has valid answer"^^xsd:string ; |
|
190 |
rdfs:range doc:question ; |
|
191 |
. |
|
192 |
form:positive-validation-condition |
|
193 |
rdf:type owl:Class ; |
|
194 |
rdfs:comment "Indicates that accept answer value is only \"true\" of this condition." ; |
|
195 |
rdfs:subClassOf form:validation-result-condition ; |
|
196 |
. |
|
197 |
form:question-origin |
|
198 |
rdf:type owl:Class ; |
|
199 |
rdfs:comment "Class of objects that are used to reconstruct how was a question created." ; |
|
200 |
rdfs:label "Question origin" ; |
|
201 |
. |
|
202 |
form:question-template |
|
203 |
rdf:type owl:Class ; |
|
204 |
rdfs:subClassOf form:template-entity ; |
|
205 |
. |
|
206 |
form:requires-answer |
|
207 |
rdf:type owl:ObjectProperty ; |
|
208 |
rdfs:comment "Indicates that question requires answer."^^xsd:string ; |
|
209 |
rdfs:domain doc:question ; |
|
210 |
rdfs:label "requires answer"^^xsd:string ; |
|
211 |
. |
|
212 |
form:requires-answer-description-if |
|
213 |
rdf:type owl:ObjectProperty ; |
|
214 |
rdfs:comment "Answer requires descripton."^^xsd:string ; |
|
215 |
rdfs:domain doc:question ; |
|
216 |
rdfs:label "requires answer description"^^xsd:string ; |
|
217 |
rdfs:range form:condition ; |
|
218 |
. |
|
219 |
form:section |
|
220 |
rdf:type owl:Class ; |
|
221 |
rdfs:subClassOf form:question-template ; |
|
222 |
. |
|
223 |
form:template-entity |
|
224 |
rdf:type owl:Class ; |
|
225 |
rdfs:label "template-entity"^^xsd:string ; |
|
226 |
rdfs:subClassOf owl:Thing ; |
|
227 |
. |
|
228 |
form:validation-result-condition |
|
229 |
rdf:type owl:Class ; |
|
230 |
rdfs:subClassOf form:condition ; |
|
231 |
. |