OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] About OWL syntax

[ Lists Home | Date Index | Thread Index ]

Didier PH Martin wrote:

>Does it mean that I can serialize a valid OWL statement as below?
>owl:Class rdf:ID="ConsumableThing">
>   <owl:ObjectProperty rdf:ID="madeFromFruit">
>      <rdfs:range rdf:resource="#Fruit" /> 
>   </owl:ObjectProperty>
>   .... other property definition ....
> </owl:class>
>Would that statement still a valid OWL document as specified in the
>recommendation? If yes, this could be suggested as a good practice.
Unfortunately not. You could certainly look at the OWL _Abstract Syntax_ 
and decide that a better XML encoding might be:

<owl:Class rdf:ID="ConsumableThing">
    <owlx:hasLocalProperty owlx:id="madeFromFruit">
          <rdfs:range rdf:resource="#Fruit" />

This was the specific reason that the WG decided to allow for the 
possibility of different _Presentation Syntaxes_ while the OWL _Transfer 
Syntax_ is specified to be RDF/XML. Indeed the OWL XML Presentation 
Syntax was defined for just this reason. Note that another such 
presentation syntax for OWL is *UML* (which captures a subset of OWL).



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS