[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: About OWL syntax
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" /> </owlx:hasLocalProperty> </owl:Class> 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). Jonathan
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|