- From: Danny Ayers <danny666@virgilio.it>
- Date: Fri, 04 Jun 2004 13:07:23 +0200
- To: www-rdf-interest@w3.org
Something that just occurred to me, here half-baked before I forget. By way of example. Say there are two RDF/XML vocabularies, each of which has a literal date property. They are the same in meaning except one uses the RFC 822 email format, the other ISO 8601, i.e. <r1:date>2004-06-04</r1:date> <r2:date>4th June 2004</r2:date> Does the following look a feasible way of using the two together: <r1:date> <xxx:transform rdf:resource="http://example.org/r2-to-r1.xsl" /> <rdf:value>4th June 2004</rdf:value> </r1:date> Where r2-to-r1.xsl will be an XSLT transformation applied to the document: <rdf:value xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">4th June 2004</rdf:value> It should be possible to express this kind of mapping at a schema/ontology level, but I'm not sure how to do it without treating the property as an individual and breaking out of OWL DL. There may be easier ways of doing the conversion than XSLT, but it seems to me that it offers simple compatibility with RDF/XML, and nicely reflects the GRDDL approach to RDF in XML. It's also Turing-complete ;-) I'm not sure how this would run alongside xsd datatypes. Cheers, Danny. -- Raw http://dannyayers.com
Received on Friday, 4 June 2004 07:08:45 UTC