W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2004

Re: Generated RDF conformant with good practise?

From: Eric Jain <Eric.Jain@isb-sib.ch>
Date: Fri, 17 Sep 2004 10:13:57 +0200
Message-ID: <414A9CC5.3010507@isb-sib.ch>
To: Howard Katz <howardk@fatdog.com>
CC: www-rdf-interest@w3.org

Howard Katz wrote:
> So in short (if I may): in XML the typing is built-in; the relationships are
> implied. In RDF, the typing might or might be present, and the relationships
> are (generally) explicit.

Here's a different point of view: XML Schema seems to suggest that XML 
element names are property names, not type names. The same element name 
can be used with different types in different places, and you can even 
do the following, assuming the "publication" element has been defined to 
be of type Publication (which has several subclasses):

   <publication xsi:type="Article">
     ...
   </publication>
   <publication xsi:type="Book">
     ...
   </publication>

In practice, I suspect element names are chosen to represent either 
types or properties, whatever seems most fitting to the author in each 
individual case...
Received on Friday, 17 September 2004 08:13:23 GMT

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