W3C home > Mailing lists > Public > www-webont-wg@w3.org > November 2002

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

From: Masahiro Hori <HORIM@jp.ibm.com>
Date: Tue, 12 Nov 2002 03:44:06 +0900
To: www-webont-wg@w3.org
Cc: "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>
Message-ID: <OFA2B1B6F0.F9B0AD71-ON49256C6E.005C1A03@LocalDomain>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:57:55 GMT