Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[p4-feedback] Reasonableness of Ontology

mjk mariokofler at gmx.at
Thu Apr 22 04:10:41 PDT 2010


Hello,

as this is one of the most active user lists on the net i try to post my question here and hope someone can answer it. it is a fundamental question:

i am trying to map some XML-Schema to an OWL document and have the following issue.. lets take a look at one of the elements in the XML-Schema:

	<xsd:element name="Dimensions">
		<xsd:complexType>
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element ref="Height" minOccurs="0"/>
				<xsd:element ref="Width" minOccurs="0"/>
				<xsd:element ref="Length" minOccurs="0"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>

so this means in the element Dimensions there can be one or more optional elements of type Height,Width and Length.

This element goes to the following element in OWL (Manchester Syntax converter is down, so i have to post the full owl code, sorry):

   <owl:Class rdf:about="#Dimensions">
      <rdfs:subClassOf>
         <owl:Class>
            <owl:unionOf rdf:parseType="Collection">
               <owl:Restriction>
                  <owl:onProperty rdf:resource="#containsHeight"/>
                  <owl:someValuesFrom rdf:resource="#Height"/>
               </owl:Restriction>
               <owl:Restriction>
                  <owl:onProperty rdf:resource="#containsWidth"/>
                  <owl:someValuesFrom rdf:resource="#Width"/>
               </owl:Restriction>
               <owl:Restriction>
                  <owl:onProperty rdf:resource="#containsLength"/>
                  <owl:someValuesFrom rdf:resource="#Length"/>
               </owl:Restriction>
            </owl:unionOf>
         </owl:Class>
      </rdfs:subClassOf>
   </owl:Class>

does this make sense? can the reasoner infer something out of this class? 
especially the "unionOf" connection between the superclasses? in my opinion it is not possible to make an "intersectionOf" because the XML element does allow optional occurrence of the element. is there another possibility to model optional occurrence in owl?

i am thankful for any tip and explanations on this topic. 

best regards,

mario

-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser



More information about the p4-feedback mailing list