- From: Benjamin Nowack <bnowack@appmosphere.com>
- Date: Mon, 8 May 2006 22:37:58 +0200
- To: public-rdf-in-xhtml-tf@w3.org
Hi, 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 ...> <head> <base href="http://example.org/mybase/" /> </head> <body> <div id="res1"> <span property="dc:creator">John Doe</span> created <a about="#john" rev="foaf:maker" href="sub/page/#res1">. </div> </body> </html> ]] 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/sub/page#john> ]] or [[ <http://example.org/mybase/#res1> dc:creator "John Doe" . <http://example.org/mybase/sub/page#res1> foaf:maker <http://example.org/mybase/#john> ]] 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 automatically. 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 identification. Thanks, Benjamin -- Benjamin Nowack Kruppstr. 100 45145 Essen, Germany http://www.bnode.org/
Received on Monday, 8 May 2006 20:37:38 UTC