3 <!-- Rdf Schema definition for theory files:
4 xmlns:hth="http://www.cs.unibo.it/~schena/schema-hth#" -->
7 <!ENTITY rdfns 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
8 <!ENTITY rdfsns 'http://www.w3.org/2000/01/rdf-schema#'>
9 <!ENTITY dcns 'http://www.cs.unibo.it/~schena/dces#'>
10 <!ENTITY dcqns 'http://www.cs.unibo.it/~schena/dcq#'>
11 <!ENTITY dctns 'http://www.cs.unibo.it/~schena/dctype#'>
12 <!ENTITY xschemans 'http://www.w3.org/1999/XMLSchema-datatypes#'>
13 <!ENTITY hthns 'http://www.cs.unibo.it/~schena/schema-hth#'>
14 <!ENTITY hns 'http://www.cs.unibo.it/~schena/schema-h#'>
17 <rdf:RDF xml:lang="en"
23 xmlns:xs="&xschemans;">
25 <!-- RICORDA: specificare i contenuti dei dc elements: problemi con RSSDB -->
26 <!-- RICORDA: aggiungi euler properties -->
28 <!-- Description of Schema -->
30 <rdf:Description rdf:about="&hthns;">
31 <rdfs:label>The HELM Element Set v0.1</rdfs:label>
32 <dc:title>The HELM Theory Element Set v0.1</dc:title>
33 <dc:publisher>The HELM Project</dc:publisher>
34 <dc:description>The HELM metadata vocabulary is a simple vocabulary
35 intended to facilitate discovery of mathematical resources.
37 <dc:language>English</dc:language>
38 <dc:relation rdf:resource="http://www.cs.unibo.it/helm/"/>
39 <dcq:isRequiredBy rdf:resource="&hns;"/>
40 <dcq:conformsTo rdf:resource="http://www.w3.org/RDF/"/>
41 <dcq:issued>2000-6-3</dcq:issued>
42 <dcq:modified>2002-9-6</dcq:modified>
43 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
49 <rdfs:Class rdf:about="&hthns;MathResource">
50 <rdfs:comment>Mathematical resources</rdfs:comment>
51 <rdfs:subClassOf rdf:resource="&rdfsns;Resource"/>
52 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
55 <rdfs:Class rdf:about="&hthns;Theory">
56 <rdfs:comment>Mathematical resources represented by theories</rdfs:comment>
57 <rdfs:subClassOf rdf:resource="&hthns;MathResource"/>
58 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
61 <rdfs:Class rdf:about="&hthns;TheoryItem">
62 <rdfs:comment>Theory items represented by: axiom, fact, definition, theorem, lemma, corollary, variable, specified by a XPath expression</rdfs:comment>
63 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
66 <rdfs:Class rdf:about="&hthns;Contact">
67 <rdfs:comment>Creator contact information</rdfs:comment>
68 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
71 <!-- Subclass of dct:Text and dct:Software -->
73 <!-- Non necessario: uso direttamente la MathResource interessata per non
74 intendere implicitamente le stesse entita' (introduco cicli espliciti). -->
75 <!--<rdfs:Class rdf:about="&hthns;HelmURI">
76 <rdfs:comment>HELM URIs of a mathematical resource. Subclass of dcq:URI
77 which is an instance of the IdentifierScheme class</rdfs:comment>
78 <rdfs:subClassOf rdf:resource="&dcqns;URI"/>
79 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
82 <rdfs:Class rdf:about="&hthns;HELMText">
83 <rdfs:comment>HELM File text types of a mathematical resource (possible
84 values of the Dublin Core property type). Possible values of the rdf:about
85 attribute can be: Abstract, Paper, Bibliography, HomePage, LectureNotes,
86 Monograph, PatentSpec, Preprints, Proceedings, Review, Separatum, Serial,
87 TechReport, Thesis, Enclosure, General. General describes a document not of
88 the previous types. A helm theory has no type per se. Subclass of dcq:Text
89 which is an instance of the TypeScheme class</rdfs:comment>
90 <rdfs:subClassOf rdf:resource="&dctns;Text"/>
91 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
94 <rdfs:Class rdf:about="&hthns;HELMSoftware">
95 <rdfs:comment>HELM File software types of a mathematical resource
96 (possible values of the Dublin Core property type). Possible values of the
97 rdf:about attribute can be: Exec, Source. Subclass of dcq:Software
98 which is an instance of the TypeScheme class</rdfs:comment>
99 <rdfs:subClassOf rdf:resource="&dctns;Software"/>
100 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
103 <!-- Instances of dcq:FormatScheme and dcq:IdentifierScheme -->
104 <!-- Instances are only for typing classes not for using. -->
106 <dcq:FormatScheme rdf:about="&hthns;HelmFormat">
107 <rdfs:comment>Instance of the class FormatScheme to describe HELM File
108 formats of a mathematical resource (possible values of the Dublin Core property
109 format). Possible values of the rdf:about
110 attribute can be XML.cic, XML.hol, XML.mizar. Each Helm format describes
111 a logical framework. The class dcq:IMT contains values as text/xml, text/xhtml,
112 text/mml, text/ps, text/tex, text/pdf.</rdfs:comment>
113 <rdf:type rdf:resource="&rdfsns;Class"/>
114 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
117 <dcq:IdentifierScheme rdf:about="&hthns;HelmID">
118 <rdfs:comment>Instance of the class IdentifierScheme to describe HELM
119 identifiers</rdfs:comment>
120 <rdf:type rdf:resource="&rdfsns;Class"/>
121 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
122 </dcq:IdentifierScheme>
124 <!-- SubProperties of dc:description, dc:creator, dc:relation and
127 <!-- SubProperty of dc:title -->
128 <rdf:Property rdf:about="&hthns;shortName">
129 <rdfs:comment>Short name (alias) of the mathematical resource</rdfs:comment>
130 <rdfs:subPropertyOf rdf:resource="&dcns;title"/>
131 <rdfs:domain rdf:resource="&hthns;MathResource"/>
132 <rdfs:range rdf:resource="&xschemans;string"/>
133 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
137 <!-- There are also dcq:created and dcq:modified dc:date subProperties -->
138 <rdf:Property rdf:ID="firstVersion">
139 <rdfs:comment>Any additional information about the first version of the
140 mathematical resource</rdfs:comment>
141 <rdfs:subPropertyOf rdf:resource="&dcns;description"/>
142 <rdfs:domain rdf:resource="#MathResource"/>
143 <rdfs:range rdf:resource="&xschemans;string"/>
146 <rdf:Property rdf:ID="modified">
147 <rdfs:comment>Any additional information about the modified version of the
148 mathematical resource</rdfs:comment>
149 <rdfs:subPropertyOf rdf:resource="&dcns;description"/>
150 <rdfs:domain rdf:resource="#MathResource"/>
151 <rdfs:range rdf:resource="&xschemans;string"/>
154 <rdf:Property rdf:about="&hthns;institution">
155 <rdfs:comment>Affiliated institution of the creator of the mathematical
156 resource</rdfs:comment>
157 <rdfs:subPropertyOf rdf:resource="&dcns;creator"/>
158 <rdfs:domain rdf:resource="&hthns;MathResource"/>
159 <rdfs:range rdf:resource="&xschemans;string"/>
160 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
163 <rdf:Property rdf:about="&hthns;contact">
164 <rdfs:comment>Contact of the creator of the mathematical
165 resource</rdfs:comment>
166 <rdfs:subPropertyOf rdf:resource="&dcns;creator"/>
167 <rdfs:domain rdf:resource="&hthns;MathResource"/>
168 <rdfs:range rdf:resource="#Contact"/>
169 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
172 <rdf:Property rdf:about="&hthns;isBasedOn">
173 <rdfs:comment>A relation between mathematical resources</rdfs:comment>
174 <rdfs:subPropertyOf rdf:resource="&dcns;relation"/>
175 <rdfs:domain rdf:resource="&hthns;MathResource"/>
176 <rdfs:range rdf:resource="&hthns;MathResource"/>
177 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
180 <rdf:Property rdf:about="&hthns;isBasisFor">
181 <rdfs:comment>A relation between mathematical resources</rdfs:comment>
182 <rdfs:subPropertyOf rdf:resource="&dcns;relation"/>
183 <rdfs:domain rdf:resource="&hthns;MathResource"/>
184 <rdfs:range rdf:resource="&hthns;MathResource"/>
185 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
188 <rdf:Property rdf:about="&hthns;isSourceFor">
189 <rdfs:comment>A relation between mathematical resources</rdfs:comment>
190 <rdfs:subPropertyOf rdf:resource="&dcns;relation"/>
191 <rdfs:domain rdf:resource="&hthns;MathResource"/>
192 <rdfs:range rdf:resource="&hthns;MathResource"/>
193 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
196 <rdf:Property rdf:about="&hthns;hasSource">
197 <rdfs:comment>A relation between mathematical resources</rdfs:comment>
198 <rdfs:subPropertyOf rdf:resource="&dcns;relation"/>
199 <rdfs:domain rdf:resource="&hthns;MathResource"/>
200 <rdfs:range rdf:resource="&hthns;MathResource"/>
201 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
204 <rdf:Property rdf:about="&hthns;uses">
205 <rdfs:comment>A dependence between theory items (for instance: between a theorem or anything else and a variable)</rdfs:comment>
206 <rdfs:subPropertyOf rdf:resource="&hthns;dependence"/>
207 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
210 <rdf:Property rdf:about="&hthns;isUsedBy">
211 <rdfs:comment>A dependence between theory items (for instance: between a variable and
212 a theorem or anything else)</rdfs:comment>
213 <rdfs:subPropertyOf rdf:resource="&hthns;dependence"/>
214 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
217 <rdf:Property rdf:about="&hthns;hasConsequence">
218 <rdfs:comment>A dependence between theory items (for instance: between a theorem and
219 a corollary)</rdfs:comment>
220 <rdfs:subPropertyOf rdf:resource="&hthns;dependence"/>
221 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
224 <rdf:Property rdf:about="&hthns;isConsequenceOf">
225 <rdfs:comment>A dependence between theory items (for instance: between a corollary
226 and a theorem). Alternatively: IsResultOf</rdfs:comment>
227 <rdfs:subPropertyOf rdf:resource="&hthns;dependence"/>
228 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
231 <rdf:Property rdf:about="&hthns;hasPremise">
232 <rdfs:comment>A dependence between theory items (for instance: between a theorem
233 and a lemma)</rdfs:comment>
234 <rdfs:subPropertyOf rdf:resource="&hthns;dependence"/>
235 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
238 <rdf:Property rdf:about="&hthns;isPremiseOf">
239 <rdfs:comment>A dependence between theory items (for instance: between a lemma
240 and a theorem)</rdfs:comment>
241 <rdfs:subPropertyOf rdf:resource="&hthns;dependence"/>
242 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
247 <rdf:Property rdf:about="&hthns;theoryItem">
248 <rdfs:comment>Theory item</rdfs:comment>
249 <rdfs:domain rdf:resource="&hthns;Theory"/>
250 <rdfs:range rdf:resource="&hthns;TheoryItem"/>
251 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
254 <rdf:Property rdf:about="&hthns;dependence">
255 <rdfs:comment>Dependence between theory items</rdfs:comment>
256 <rdfs:domain rdf:resource="&hthns;TheoryItem"/>
257 <rdfs:range rdf:resource="&hthns;HelmID"/>
258 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
261 <rdf:Property rdf:about="&hthns;itemType">
262 <rdfs:comment>Axiom, Fact, Definition, Theorem, Lemma, Corollary,
263 Variable. Redundant info: it is already captured by the corresponding xml data</rdfs:comment>
264 <rdfs:domain rdf:resource="&hthns;TheoryItem"/>
265 <rdfs:range rdf:resource="&xschemans;string"/>
266 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
269 <rdf:Property rdf:about="&hthns;label">
270 <rdfs:comment>Description of the kind of objects: data type,
271 algorithm, specification, theorem containing algorithm, verification (that the
272 implementation satisfies the specification), predicate/relation, proposition</rdfs:comment>
273 <rdfs:domain rdf:resource="&hthns;TheoryItem"/>
274 <rdfs:range rdf:resource="&xschemans;string"/>
275 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
278 <!-- ex. f:N->Z => N>->Z and n:Nat => n:Z -->
279 <rdf:Property rdf:about="&hthns;isCoercion">
280 <rdfs:comment>A Definition item can be a coercion</rdfs:comment>
281 <rdfs:domain rdf:resource="&hthns;TheoryItem"/>
282 <rdfs:range rdf:resource="&xschemans;boolean"/>
283 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
286 <!-- The id info is no more contained in the theory xml doc, so there isn't
287 redundant info between metadata and data -->
288 <rdf:Property rdf:about="&hthns;ident">
289 <rdfs:comment>Identifier of a theory item</rdfs:comment>
290 <rdfs:domain rdf:resource="&hthns;TheoryItem"/>
291 <rdfs:range rdf:resource="&hthns;HelmID"/>
292 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
295 <rdf:Property rdf:about="&hthns;email">
296 <rdfs:comment>E-mail of the creator of the mathematical
297 resource</rdfs:comment>
298 <rdfs:domain rdf:resource="&hthns;Contact"/>
299 <rdfs:range rdf:resource="&xschemans;string"/>
300 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
303 <rdf:Property rdf:about="&hthns;address">
304 <rdfs:comment>Address of the creator of the mathematical
305 resource</rdfs:comment>
306 <rdfs:domain rdf:resource="&hthns;Contact"/>
307 <rdfs:range rdf:resource="&xschemans;string"/>
308 <rdfs:isDefinedBy rdf:resource = "&hthns;" />
311 <!-- HELM: Constraining an external (dc) property to a particular range and
312 domain (hth:MathResource) should be possible. VRP gives a Warning when
313 constraining (extending, adding constraints to) the range of a property
314 defined in another schema (Consistency problems?No because it's an error
315 modifying the original constraints): but where is the extensibility and
316 reusability of RDF schemas? It's ok specializing a property with a
317 subProperty. Anyway if the range of a property is not defined, VRP validates
318 both if the property value is a resource, a class or a Literal.
319 <rdf:Description rdf:about = "&dcns;type">
320 <rdfs:domain rdf:resource="&hthns;MathResource"/>
321 </rdf:Description> -->