W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2003

Embedded RDF

From: Max Froumentin <mf@w3.org>
Date: Mon, 28 Apr 2003 20:43:31 +0200
To: www-rdf-interest@w3.org
Message-ID: <86vfwycvjg.fsf@sophia.inria.fr>

[originally wrongly sent to rdfweb-dev, but not sure it made it]


I know that the question of RDF within XML and XHTML in particular has
been discussed a lot, but I haven't found the particular case below

The problem is to have RDF statements that describe can any part of the
language it's embedded in. for instance,

  <quote author="Louis XV">L'etat c'est moi</quote>
  <rdf:Resource rdf:about="??" s:comment="wrong"/>

I want the RDF statement to be about the value of the bar attribute.
(it could be about the foo element too).  Therefore it seems that in
the rdf:about I need to provide the URI of it. What's that URI?

The only way I know of would be to write: 


the problem is that I only want to refer to elements and attributes, and
xpointer can return node sets, ranges, strings, etc. which I don't need.
I see two ways out of this:

- define my own subset of XPointer
- ask the XML Core WG to write an attribute() xpointer scheme. There
  already is an xpointer element() scheme. Apparently the WG have no
  current plans to do so.

Since I imagine that this problem is not that specific, I suspect that
others may have run into it (I'm thinking of Annotea perhaps), so
suggestions are welcome.

Received on Monday, 28 April 2003 15:01:55 UTC

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