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