W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2006

IRI production from about/id and base

From: Benjamin Nowack <bnowack@appmosphere.com>
Date: Mon, 8 May 2006 22:37:58 +0200
To: public-rdf-in-xhtml-tf@w3.org
Message-ID: <PM-EH.20060508223758.43937.1.1D@>


Just a question/confirmation:

I was wondering which IRIs would be generated from the RDFa below:

URL of the page: http://example.org/mybase/sub/page
<html ...>
    <base href="http://example.org/mybase/" />
    <div id="res1">
      <span property="dc:creator">John Doe</span>
      created <a about="#john" rev="foaf:maker" href="sub/page/#res1">.

Is it
  <http://example.org/mybase/sub/page#res1> dc:creator "John Doe" .
  <http://example.org/mybase/sub/page#res1> foaf:maker
  <http://example.org/mybase/#res1> dc:creator "John Doe" .
  <http://example.org/mybase/sub/page#res1> foaf:maker

i.e. does the base defined in html affect the base of the IRIs
of the generated RDF? The "href" surely does, but I wasn't sure
about "id" and "about".

Many WCMSs/template-based publishing tools use a fixed <base
href /> to simplify inclusion of graphical elements, css and
js files etc.

This means that using id attributes in those pages may
generate overloaded IRIs if the RDFa is partly generated

A related question would be, if there are both an id and an
about attribute on some element, does the about override the
id? This could basically solve the problem and would also
allow to use ids for css hooks, without the implied resource


Benjamin Nowack

Kruppstr. 100
45145 Essen, Germany
Received on Monday, 8 May 2006 20:37:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:20 UTC