- From: Hausenblas, Michael <michael.hausenblas@joanneum.at>
- Date: Tue, 30 Sep 2008 14:36:06 +0200
- To: "Dan Brickley" <danbri@danbri.org>, "RDFa" <public-rdf-in-xhtml-tf@w3.org>, <www-tag@w3.org>
- Cc: "Ed Summers" <ehs@pobox.com>
Dan, Glad you asked ;) We kinda had that discussion some time ago and one outcome was the Wiki page [1] (see 'Discussion' section). Feel free to add your comments/suggestions/etc. there as well, please. Cheers, Michael [1] http://esw.w3.org/topic/RDFa_vs_RDFXML ---------------------------------------------------------- Dr. Michael Hausenblas Institute of Information Systems & Information Management JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, A-8010 Graz, AUSTRIA <office> phone: +43-316-876-1193 (fax:-1191) e-mail: michael.hausenblas@joanneum.at web: http://www.joanneum.at/iis/ <https://webmail.joanneum.at/exchweb/bin/redir.asp?URL=http://www.joanneum.at/iis/> <private> mobile: +43-660-7621761 web: http://sw-app.org/ <http://sw-app.org/> upcoming: http://webofdata.info <http://webofdata.info/> ---------------------------------------------------------- ________________________________ From: public-rdf-in-xhtml-tf-request@w3.org on behalf of Dan Brickley Sent: Tue 2008-09-30 12:50 To: RDFa; www-tag@w3.org WG Cc: Ed Summers Subject: lcsh.info RDFa SKOS and content negotiation - use of RDF-style # IDs in RDFa? Looks like http-range-14 still haunts us. I'm looking for some best practice advice for using "#blahblah" URI IDs in RDFa content... Backstory - Edd Summers has put up a great site at http://lcsh.info/ It has one page for each concept listed in the Library of Congress Subject Headings, eg. http://lcsh.info/sh85112589 is a URI for a document about the LCSH heading "Religion and the Humanities". There is RDFa in the HTML page, as well as a complete NTriples zip-file download of the dataset. The RDFa uses a #concept URI to identify the abstract concept that the document is describing with SKOS. <div class="concept" about="http://lcsh.info/sh85112589#concept" typeof="skos:Concept"> The document also has an RDF/XML representation available by content negotiation. While the triples differ a little (Ed - is this a bug?), they all talk about the SKOS concepts via identifiers that take the main page's URI and append '#concept'. Is it TAG-acceptable to use a URI in this manner, when http://lcsh.info/sh85112589 is the URI for a document available in RDFa XHTML rather than RDF/XML? What does "http://lcsh.info/sh85112589#concept" name? How do we 'follow our nose' here? Should the media type definition for RDFa allow the assignation of URIs to things other than chunks of markup? Does anyone have a suggestion for how if at all this should be done differently? My sense is that the HTML spec as-is doesn't license us to assign URIs in this way. And since #foo is to be interpreted w.r.t. to the (set of?) media types we get back as HTTP representations, there seems to be a tension here between using conneg and using rdfa and avoiding having to do http 303 redirects... cheers, Dan curl -s http://lcsh.info/sh85112589 | rapper -i rdfa - file: rapper: Parsing file <stdin> with parser rdfa and base URI file: rapper: Serializing with serializer ntriples and base URI file: <file:> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://lcsh.info/sh85112589.rdf> . <file:> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://lcsh.info/sh85112589.n3> . <file:> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://lcsh.info/sh85112589.json> . <http://lcsh.info/sh85112589#concept> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> . <http://lcsh.info/sh85112589#concept> <http://www.w3.org/2004/02/skos/core#prefLabel> "Religion and the humanities" . <http://lcsh.info/sh85112589#concept> <http://www.w3.org/2004/02/skos/core#altLabel> "Humanities and religion" . <http://lcsh.info/sh85112589#concept> <http://purl.org/dc/terms/created> "1986-02-11" . <http://lcsh.info/sh85112589#concept> <http://purl.org/dc/terms/modified> "1986-02-11T00:00:00" . rapper: Parsing returned 8 triples curl -H "Accept: application/rdf+xml" -s http://lcsh.info/sh85112589 | rapper -i rdfxml - file: rapper: Parsing file <stdin> with parser rdfxml and base URI file: rapper: Serializing with serializer ntriples and base URI file: <http://lcsh.info/sh85112589#concept> <http://www.w3.org/2004/02/skos/core#altLabel> "Humanities and religion"@en . <http://lcsh.info/sh85112589#concept> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> . <http://lcsh.info/sh85112589#concept> <http://purl.org/dc/terms/created> "1986-02-11"^^<http://www.w3.org/2001/XMLSchema#date> . <http://lcsh.info/sh85112589#concept> <http://www.w3.org/2004/02/skos/core#prefLabel> "Religion and the humanities"@en . <http://lcsh.info/sh85112589#concept> <http://www.w3.org/2004/02/skos/core#broader> <http://lcsh.info/sh85062913#concept> . <http://lcsh.info/sh85112589#concept> <http://purl.org/dc/terms/modified> "1986-02-11T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> . <http://lcsh.info/sh85112589#concept> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lcsh.info/> . rapper: Parsing returned 7 triples
Received on Tuesday, 30 September 2008 12:37:49 UTC