- From: Ivan Herman <ivan@w3.org>
- Date: Sun, 13 Nov 2011 10:12:41 +0100
- To: Gavin Carothers <gavin@topquadrant.com>
- Cc: Eric Prud'hommeaux <eric@w3.org>, Manu Sporny <msporny@digitalbazaar.com>, W3C RDF WG <public-rdf-wg@w3.org>, Jeni Tennison <jeni@jenitennison.com>, Sandro Hawke <sandro@w3.org>
Hi Gavin, I was looking at [1] again, but now with an RDFa goggle on. If I author and RDFa file, it would be perfectly ok to put some parts into an embedded turtle portion and mix the two ways of making RDF statements. There might be RDF statements that do not necessarily make sense as a visible HTML portion on the screen and the current approach in RDFa is to put those into a <div style="display:none"> statement which is really hacking. Ie, the Turtle in HTML feature really comes as a welcome addition imho. However. I wonder whether it makes sense for the surrounding RDFa content to have some effect on the turtle portion. Namely: - base setting in HTML (which is also the base for the generated RDF from RDFa) would be a @base for the encoded turtle. AFAIK we discussed that at some point, but I have not found it in [1] - maybe more importantly: if RDFa sets a bunch of prefix declarations (and in RDFa there are even some defaults, eg, for rdf or foaf), I wonder whether those prefix declarations should not be valid as @prefix declarations in the embedded turtle. I think that would really be useful for HTML+RDFa authors. - SVG already has a way to add RDF/XML as metadata, as well as the possibility to add RDFa statements[2]. More interestingly, it also has a script element[3]. I think the Turtle syntax should allow for the same style of turtle embedding for SVG, too. B.t.w., I think it would be good to publish a Turtle draft soon with those features. This Turtle-in-HTML would be an important addition to the current approaches of embedding RDF data into HTML... Thoughts? Ivan [1] http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html#in-html [2] http://www.w3.org/TR/SVG11/metadata.html [3] http://www.w3.org/TR/SVG11/script.html#ScriptElement ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Sunday, 13 November 2011 09:10:18 UTC