W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > February 2011

Re: PROPOSAL to address RDFa Profiles - ISSUE-73 and ISSUE-78

From: Ivan Herman <ivan@w3.org>
Date: Thu, 10 Feb 2011 18:39:44 +0100
Cc: Manu Sporny <msporny@digitalbazaar.com>, W3C RDFa WG <public-rdfa-wg@w3.org>
Message-Id: <32D790D5-A392-4FC6-8A47-14FE10A3EC9E@w3.org>
To: nathan@webr3.org

On Feb 10, 2011, at 18:33 , Nathan wrote:

> Ivan Herman wrote:
>> On Feb 10, 2011, at 18:13 , Nathan wrote:
>>> Manu Sporny wrote:
>>>> XML+RDFa
>>> so what happens when you use RDF/XML and RDFa/XML together?
>> I do not understand the question
> It might not be a question (hopefully, but is there a case where you may find rdf/xml and rdfa in the same document? If so, how do you process?

Ah. Yes, it happens, namely in SVG. SVG has the <metadata> element and SVG does not specify what is in the subtree. It can be anything, including RDF/XML. On the other hand, an SVG file can have RDFa all over the place.

What I do in my distiller, and I think this is the only way to do it, is to separate the two. For SVG files I first try to find the RDF/XML portions, extract it from the SVG file, and parse it into a graph. I then parse the same file with the RDFa parser, produce another graph. I then merge the two graphs before outputting it to the caller.

Bottom line: from an RDFa point of view, the situation does not exist. The two encoding are independent that a tool can choose to understand and merge.


> Best,
> Nathan

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 10 February 2011 17:39:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:24 UTC