]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/schemas/schema-h
ocaml 3.09 transition
[helm.git] / helm / schemas / schema-h
index f26e003e1125b4694a192165937b8581e0a27748..c852385f4364bd53f50aa80e12210ef158f99a26 100644 (file)
@@ -16,16 +16,18 @@ xmlns:h="http://www.cs.unibo.it/~schena/schema-h#" -->
 <rdf:RDF xml:lang="en"
        xmlns:rdf="&rdfns;"
        xmlns:rdfs="&rdfsns;"
-       xmlns:hth="&hthns;"
-       xmlns:h="&hns;"
        xmlns:xs="&xschemans;"
        xmlns:dc="&dcns;"
-       xmlns:dcq="&dcqns;">
+       xmlns:dcq="&dcqns;"
+       xmlns:hth="&hthns;">
 
 <!-- RICORDA: metadati solo su oggetto (come teoria ma piu' specifici) (non 
 distinzione tipi di body) e non ridondanze se non riducono il numero di doc 
 da parsare  -->
 
+<!-- Versione con rdf:parseType="resource" per le proprieta' strutturate
+     refObj e backPointer. Il valore di occurrence e' solo di tipo URI. -->
+
 <!-- Description of Schema -->
        
 <rdf:Description rdf:about="&hns;">
@@ -36,12 +38,12 @@ da parsare  -->
       intended to facilitate discovery of mathematical resources. 
   </dc:description>
   <dc:language>English</dc:language>
-  <dc:relation rdf:resource="http://ww.cs.unibo.it/helm/"/>
+  <dc:relation rdf:resource="http://www.cs.unibo.it/helm/"/>
   <dcq:isRequiredBy rdf:resource="&hns;"/>
   <dcq:conformsTo rdf:resource="http://www.w3.org/RDF/"/>
   <dcq:issued>2000-6-3</dcq:issued>
   <dcq:modified>2002-9-6</dcq:modified>
-  <rdfs:isDefinedBy rdf:resource = "&hthns;" />
+  <rdfs:isDefinedBy rdf:resource = "&hns;" />
 </rdf:Description>
 
 
@@ -72,10 +74,10 @@ of CIC XML files, contained in the tree that has the dir as root </rdfs:comment>
      <rdfs:isDefinedBy rdf:resource = "&hns;" />
 </rdfs:Class>
 
-<rdfs:Class rdf:about="&hns;Occurrence">
+<!--<rdfs:Class rdf:about="&hns;Occurrence">
      <rdfs:comment>Occurrences of an object inside an object</rdfs:comment>
      <rdfs:isDefinedBy rdf:resource = "&hns;" />
-</rdfs:Class>
+</rdfs:Class>-->
 
 <rdfs:Class rdf:about="&hns;Position">
      <rdfs:comment>Positions of occurrences of an object inside an object</rdfs:comment>
@@ -109,40 +111,40 @@ of CIC XML files, contained in the tree that has the dir as root </rdfs:comment>
 
 <!-- Instances of the class h:Position -->
 
-<h:Position rdf:about="&hns;MainHypothesis">
+<rdfs:Class rdf:about="&hns;MainHypothesis">
     <rdfs:comment>Occurrences of an object in head position of some hypothesis 
      of an object statement</rdfs:comment>
-    <rdf:type rdf:resource="&rdfsns;Class"/>
+    <rdf:type rdf:resource="&hns;Position"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
-</h:Position>
+</rdfs:Class>
 
-<h:Position rdf:about="InHypothesis">
+<rdfs:Class rdf:about="&hns;InHypothesis">
     <rdfs:comment>Occurrences of an object in the hypotheses of an object 
      statement</rdfs:comment>
-    <rdf:type rdf:resource="&rdfsns;Class"/>
+    <rdf:type rdf:resource="&hns;Position"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
-</h:Position>
+</rdfs:Class>
 
-<h:Position rdf:about="&hns;MainConclusion">
+<rdfs:Class rdf:about="&hns;MainConclusion">
     <rdfs:comment>Occurrences of an object in head position of the 
      conclusion of an object statement</rdfs:comment>
-    <rdf:type rdf:resource="&rdfsns;Class"/>
+    <rdf:type rdf:resource="&hns;Position"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
-</h:Position>
+</rdfs:Class>
 
-<h:Position rdf:about="&hns;InConclusion">
+<rdfs:Class rdf:about="&hns;InConclusion">
     <rdfs:comment>Occurrences of an object in the conclusion of an object
      statement</rdfs:comment>  
-    <rdf:type rdf:resource="&rdfsns;Class"/>
+    <rdf:type rdf:resource="&hns;Position"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
-</h:Position>
+</rdfs:Class>
 
-<h:Position rdf:about="&hns;InBody">
+<rdfs:Class rdf:about="&hns;InBody">
     <rdfs:comment>Occurrences of an object only in an object body (not in the 
      statement)</rdfs:comment>
-    <rdf:type rdf:resource="&rdfsns;Class"/>
+    <rdf:type rdf:resource="&hns;Position"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
-</h:Position>
+</rdfs:Class>
 
 <!-- Properties -->
 
@@ -192,7 +194,14 @@ of CIC XML files, contained in the tree that has the dir as root </rdfs:comment>
 <rdf:Property rdf:about="&hns;refObj">
     <rdfs:comment>Reference to an object</rdfs:comment>
     <rdfs:domain rdf:resource="&hns;Object"/>
-    <rdfs:range rdf:resource="&hns;Occurrence"/>
+<!--    <rdfs:range rdf:resource="&hns;Occurrence"/>-->
+    <rdfs:isDefinedBy rdf:resource = "&hns;" />
+</rdf:Property>
+
+<rdf:Property rdf:about="&hns;occurrence">
+    <rdfs:comment>Position of an occurrence</rdfs:comment>
+<!--    <rdfs:domain rdf:resource="&hns;Occurrence"/>-->
+    <rdfs:range rdf:resource="&hns;Object"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
 </rdf:Property>
 
@@ -220,25 +229,17 @@ of CIC XML files, contained in the tree that has the dir as root </rdfs:comment>
 <rdf:Property rdf:about="&hns;backPointer">
     <rdfs:comment>Backwards pointer: who points the object</rdfs:comment>
     <rdfs:domain rdf:resource="&hns;Object"/>
-    <rdfs:range rdf:resource="&hns;Occurrence"/>
-    <rdfs:isDefinedBy rdf:resource = "&hns;" />
-</rdf:Property>
-
-<rdf:Property rdf:about="&hns;occurrence">
-    <rdfs:comment>URI of an object</rdfs:comment>
-    <rdfs:domain rdf:resource="&hns;Occurrence"/>
-    <rdfs:range rdf:resource="&hthns;HelmURI"/>
+<!--    <rdfs:range rdf:resource="&hns;Occurrence"/> -->
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
 </rdf:Property>
 
 <rdf:Property rdf:about="&hns;position">
     <rdfs:comment>Position of an occurrence</rdfs:comment>
-    <rdfs:domain rdf:resource="&hns;Occurrence"/>
+<!--    <rdfs:domain rdf:resource="&hns;Occurrence"/>-->
     <rdfs:range rdf:resource="&hns;Position"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
 </rdf:Property>
 
-
 <rdf:Property rdf:about="&hns;postit">
     <rdfs:comment>Postit</rdfs:comment>
     <rdfs:domain rdf:resource="&hns;Object"/>
@@ -257,7 +258,7 @@ of CIC XML files, contained in the tree that has the dir as root </rdfs:comment>
     <rdfs:comment>Identifies the object fragment (Xpointer) which Postit
 refers to</rdfs:comment>
     <rdfs:domain rdf:resource="&hns;Postit"/>
-    <rdfs:range rdf:resource="&hthns;HelmURI"/>
+    <rdfs:range rdf:resource="&hns;Object"/>
     <rdfs:isDefinedBy rdf:resource = "&hns;" />
 </rdf:Property>