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

Re: Issue 5.17 XML presentation syntax for OWL

From: Masahiro Hori <HORIM@jp.ibm.com>
Date: Wed, 27 Nov 2002 22:59:34 +0900
To: www-webont-wg@w3.org
Message-ID: <OFD7B5189F.A057C088-ON49256C7E.000ECFA7@LocalDomain>

In the following examples, (a) is written in RDF
syntax, while (a-1), (a-2), and (a-3) are in the
XML syntax [1][2] with 'owls' as a namespace prefix.

[1] http://lists.w3.org/Archives/Public/www-webont-wg/2002Oct/0155.html
[2] http://www-db.research.bell-labs.com/user/pfps/owl/schema-2.xsd

My (naive) questions/comments are as follows:

(1) Is it correct to say (a) and (a-1) are
    equivalent definition of a Wine class?

(2) How owls:complete="false" in (a-1) can be
    represented in (a) as RDF ?

(3) As given in (a-2), the XML Schema [2] allows to
    have a ClassIDType as a child of ClassAxiomType.
    Is the (a-2) equivalent with (a)?  If not, what
    does (a-2) mean?

(4) In the second line of (a-2), 'owls:name' attribute
    of 'owls:Class' element might be confusing.
    How about changing the 'owls:name' of ClassIDType
    to be something like 'owls:ref' ?

(5) Why 'owls:SubClassOf' comes as an immediate child
    the document root element (i.e., owls:Ontology)?
    Are there any problem to represent (a) like (a-3)
    in XML syntax?

<!-- **(a)** Wine class in RDF syntax -->
<owl:Class rdf:ID="Wine">
  <rdfs:subClassOf rdf:resource="#PotableLiquid" />

<!-- **(a-1)** Wine class in XML syntax -->
<owls:Class owls:name="Wine" owls:complete="false" />
    <owls:Class owls:name="PotableLiquid" />
    <owls:Class owls:name="Wine" />

<!-- **(a-2)** another Wine class in XML syntax -->
<owls:Class owls:name="Wine">
  <owls:Class owls:name="PotableLiquid" />

<!-- **(a-3)** another SubClassOf syntax in XML -->
<owls:Class owls:name="Wine" owls:complete="false">
  <owls:SubClassOf owls:ref="PotableLiquid" />

-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
Received on Wednesday, 27 November 2002 08:59:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:56:49 UTC