RE: [xml-dev] What is RDF for? (Was: What are Web Services for?)

From
Manos Batsis <>
To
Matthew Gertner <>
Date
2002-04-29T13:22:46Z
ID
<>
Thread
RE: [xml-dev] What is RDF for? (Was: What are Web Services for?)
RDF Schema checks the validity of RDF statement semantics; XSD just
cannot and should not (be enhanced to) do that.

Of course the triple model is serialized in, essentially, XML. Mapping
what RDF does in vanilla XML+ XSD + enhancements does not make much
sense in my eyes; XSD validates the structure of an XML document, it
does not check if a subject of type Person can have a model property :-)

However, if you do manage to do this by injecting custom annotations in
XSD, it would be like embedding RDF in it (perhaps ending up with
something that feels even more awkward and produces even more
dependencies on the XSD), which does not provide any benefits.

A nice overview of the differences between XML and RDF is at [1].

[1] http://www.w3.org/DesignIssues/RDF-XML.html


Kindest regards,

Manos

> -----Original Message-----
> From: Matthew Gertner [mailto:] 
> Sent: Monday, April 29, 2002 3:14 PM
> To: 'John Cowan'; 
> Cc: 
> Subject: RE: [xml-dev] What is RDF for? (Was: What are Web 
> Services for?)
> 
> 
> John Cowan wrote:
> > Almost true already.  Show me any random XML without mixed content
> > in it, and I can interpret it as RDF for you.  It may not make much
> > *sense* as RDF, but it will be legal, except for corner cases.
> 
> So like SOAP and REST, or XML and its infoset, RDF and XML 
> are basically
> isomorphic, right? So what is the argument for using RDF 
> instead of plain
> vanilla XML? In particular, wouldn't it make more sense to 
> annotate the XML
> schema (in a separate file, perhaps):
> 
> Instance:
> 
> <movie>
> 	<name>Jay and Silent Bob Strike Back</name>
> 	<director>Kevin Smith</director>
> 	...
> </movie>
> 
> Annotation (of the schema used by above instance):
> 
> <element which="movie/name">
> 	<role>dc:Title</role>
> </element>
> 
> <element which="movie/director">
> 	<role>dc:Creator</roel>
> </element>
> 
> The advantages are the same as for REST (i.e. we stay 
> completely within the
> XML paradigm).
> 
> Matt
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
>