Re: Issue 5.17 XML presentation syntax for OWL (in UML)

I have confirmed that there was no problem for the latest version of the
XML Schema for OWL [1] to parse a sample document [2] with XML Schema
validation by using Xerces Java v2.2.0 XML parser [3].  Attached below is a
PDF file that includes UML class diagrams of the XML Schema for OWL [1].
The mappings from XML Schema to UML are for the most part followed by the
ways proposed in [4].

(See attached file: OWL-Schema-in-UML.pdf)


[1] http://www-db.research.bell-labs.com/user/pfps/owl/schema-2.xsd
[2] http://www-db.research.bell-labs.com/user/pfps/owl/schema-2-example.xml
[3] http://xml.apache.org/xerces2-j/index.html
[4] http://www.xml.com/lpt/a/2002/08/07/wxs_uml.html

Masahiro Hori, Ph.D.
Group Leader, Programming Models & Tools,
IBM Tokyo Research Laboratory
Tel: +81-46-215-4667 / Fax: +81-46-274-4282
Email: horim@jp.ibm.com


                                                                                                                   
                      "Peter F.                                                                                    
                      Patel-Schneider"          To:       Masahiro Hori/Japan/IBM@IBMJP                            
                      <pfps@research.bel        cc:       www-webont-wg@w3.org                                     
                      l-labs.com>               Subject:  Re: Issue 5.17 XML presentation syntax for OWL           
                      Sent by:                                                                                     
                      www-webont-wg-requ                                                                           
                      est@w3.org                                                                                   
                                                                                                                   
                                                                                                                   
                      2002/11/06 05:19                                                                             
                                                                                                                   
                                                                                                                   




From: "Masahiro Hori" <HORIM@jp.ibm.com>
Subject: Re: Issue 5.17 XML presentation syntax for OWL
Date: Wed, 6 Nov 2002 03:38:22 +0900

>
> Comments on the XML Schema of OWL [as of Oct 23, 2003] (just for small
> points... )
> http://www-db.research.bell-labs.com/user/pfps/owl/schema-2.xsd
>
>
> --(a)--------------------------------------------------
> 1: <xsd:complexType name="PropertiesTypeNE">
> 2:   <xsd:sequence>
> 3:   <xsd:element name="property" type="owl:PropertyType"
> 4:                 minOccurs="1" maxOccurs="unbounded" />
> 5:   </xsd:sequence>
> 6: </xsd:complexType>
>
> "owl:PropertyType" in the line 3 ==> "owl:PropertyIDType"
> ("owl:PropertyType" is not defined in the XML Schema).

Fixed.

> --(b)--------------------------------------------------
> 1: <xsd:complexType name="IndividualRestrictionType">
> 2:   <xsd:sequence minOccurs="0" maxOccurs="unbounded">
> 3:    <xsd:choice>
> 4:     <xsd:element name="allValuesFrom" type="owl:DescriptionsType" />
> 5:     <xsd:element name="someValueFrom" type="owl:DescriptionsType" />
> 6:     <xsd:element name="value"         type
="owl:IndividualReferenceType"
> />
> 7:    </xsd:choice>
> 8:   </xsd:sequence>
>
> "owl:IndividualReferenceType" in the line 6 ==> "owl:IndividualIDType"
> ("owl:IndividualReferenceType" is not defined in the XML Schema)

Fixed.

> --(c)--------------------------------------------------
>  <xsd:complexType name="DatatypeIDType">
>   <xsd:attribute name="name" type="owl:DatatypeName" use="required" />
>  </xsd:complexType>
>
> The "DatatypeIDType" might be left out, because it is not referred to at
> all.

I'm leaving this in for now, for purposes of symmetry.

> ------
>
> Regards,
> -Masahiro Hori
>
> Masahiro Hori, Ph.D.
> Group Leader, Programming Models & Tools,
> IBM Tokyo Research Laboratory
> Tel: +81-46-215-4667 / Fax: +81-46-274-4282
> Email: horim@jp.ibm.com
>

Thanks for the corrections.

peter

Received on Monday, 11 November 2002 13:44:48 UTC