ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
[xml-dev] RDF and XML was Re: [xml-dev] What are Web Services for? ...
by Jonathan Borden other posts by this author
May 1 2002 1:42AM messages near this date
Re: [xml-dev] New XSLT, XPath, and XQuery drafts | Re: [xml-dev] Normalizing XML [was: XML information modeling best practices]
John Cowan wrote:


>  Paul Prescod scripsit:
> 
>  > Possibly, but bear in mind that there is a distinction between RDF
>  > syntax and model. The RDF people probably have to figure out how to
>  > allow ANY arbitrary XML syntax to be mapped into the RDF model. Then it
>  > won't be a choice between XML features and RDF features.
> 
>  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.
> 

Right. There seems to be alot of misunderstanding about the relationship
between RDF and XML. XML is about syntax. The RDF model theory defines a
specific semantics for any RDF/XML i.e. a document serialized in the RDF/XML
syntax. The semantics that is defined relates to the 'graph' that represents
the RDF/XML document. This graph has a precise semantics because what is a
node and what is an arc (or link) is unambiguous and the names of the nodes
and arcs (predicates) are unambiguous. The RDF 'graph' doesn't itself define
the semantics of the URI references that are the names of the nodes and arcs
but at least this is a start (i.e. there can be layers of semantics). Note
that RDF does not use the term 'semantics' in some willy nilly goofy pie in
the sky fashion, rather there is a very precise mathematical definition of
its semantics, namely the RDF model theory (which is in WD).

To define the semantics of URI reference terms, one might use RDF Schema or
more generally OWL (Ontology on the Web Language). One might also use XML
Schema or the XQuery formal language!

All of the above define type hierarchies which at the end of the day are
compatible. In particular the XQuery formal semantics language can define
the type of any particular piece of well-formed XML, so it all works out. By
integrating the XQuery/XML Schema type hierarchies with OWL/RDFS class
hierarchies one can _actually_ define the semantics of any piece of XML.***

I've elaborated more on this approach in:
http://www.openhealth.org/WOWG/IssueStructuredDatatypes or
http://lists.w3.org/Archives/Public/www-webont-wg/2002Apr/0096.html

Jonathan

*** assuming we use the same precise definition of 'semantics'




-----------------------------------------------------------------
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> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved