W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2005

Re: xml without rdf, but with an ontology [0]

From: Ian Davis <iand@internetalchemy.org>
Date: Thu, 13 Jan 2005 14:37:29 +0000
Message-ID: <41E687A9.5010801@internetalchemy.org>
To: atom-owl@googlegroups.com
CC: www-rdf-interest@w3.org, bloged <users@bloged.dev.java.net>

On 13/01/2005 13:37, Henry Story wrote:
> I am not sure how to model xml fragments correctly. But there may be 
> transformations one can make
> if one knew how to do that correctly. I think there will have to be a 
> list of string and nodes in it.
> There must be some solution to this...

I'm not convinced that there is a general solution (to the problem of 
converting arbitrary XML to useful triples).

There are various approaches, all of which appear to have problems. I've 
thought in the past about heuristics such as "if the the tag contains 
any character data then the object of the triple is a Literal or 
XMLLiteral, otherwise it's a blank node". However, all of the following 
need to be handled consistently and my heuristic fails:


    <extension>some content</extension>

    <extension>some <term>mixed</term> content</extension>


    <extension />


I think the only way is to use an annotated schema to provide the 
transformation hints.

Received on Thursday, 13 January 2005 14:37:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:54 UTC