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] XML Schema and ontologies

[ Lists Home | Date Index | Thread Index ]

Murali Mani wrote:

>I had a question:
>What role does XML Schema play in semantic web?
>In specific, do you think search engines will use XML Schemas at all?? Or
>are there other applications of semantic web that will use XML schemas??
The specific area where RDF and OWL use XML Schemas is for datatypes and 
owl:DatatypeProperty's -- currently only for simple datatypes, but 
hopefully in the future for complex i.e. XML datatypes.

The current problem in integrating XML Schema with RDF/OWL _XML_ 
datatypes is that RDF is entirely based on naming things with URIrefs 
(and hence OWL), whereas XML Schema names things (i.e. schema 
components) with QNames. A reasonable integration requires a coherent 
QName -> URI mapping.

If such a mapping were to exist, there is no reason why RDF literals 
might not be typed by their XML Schema type name (the URIref version 
:-), and hence no reason why a Semantic Web query might not be 
constained by XML Schema types e.g.

<owl:DatatypeProperty rdf:ID="foo">
rdf:resource="http://example.org/XMLSchema/someXMLtype"; />

where http://example.org/XMLSchema/someXMLtype identifies a complex type 
in an XML Schema. One might similarly use XPointers to create datatypes 
that match patterns.

In any case there have been discussions of this on the WebOnt WG lists 
e.g. around 
http://lists.w3.org/Archives/Public/www-webont-wg/2002Nov/0037.html .
I've written up some of the issues at: 
as well as the discussion on www-rdf-comments: (around) 

So, I'd say the answer is that there is no great technical impediment to 
better integrating XML Schema (and RELAXNG for that matter) with the 
Semantic Web via RDF datatypes, but unless there is an interest voiced 
(other than mine) in the proper forums, that the (perhaps) relatively 
small amount of work to accomplish this might not get done.



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

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