- From: David Wood <david@3roundstones.com>
- Date: Wed, 9 May 2012 10:23:17 -0400
- To: Sandro Hawke <sandro@w3.org>
- Cc: public-rdf-wg <public-rdf-wg@w3.org>
On May 9, 2012, at 09:35, Sandro Hawke wrote: > Following the general outcry against the term "layers", and Guus' > endorsement of "spaces", I've renamed it for now. So the ED is now > here: > > http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-spaces/index.html# > > It's not yet clear to me what to discuss, on this topic, if we get there > in today's agenda. One thing does seem a little pressing, because it > relates to Turtle: > > I think it would be great if one could use Turtle in HTML as a dataset > language not just a graph language. The easy way to do this would be > to say *if* there's an "id" attribute on any of the script elements > containing turtle, the triples parsed from that element go into a named > graph and the rest goes into the default graph (along with any RDFa and > microdata). In spite of others' objections, I'll express some support for this idea in general (but understand that the details would need to change). My company currently needs to jump through some hoops by converting RDF into JSON either on the server side or client side in order to perform simple operations on RDF results. I would *love* to be able to embed Turtle as a dataset to avoid unnecessary coding. Of course, my needs could be met by other means and by other WGs, but the motivation is sound. Regards, Dave > > It would also be nice to have a way to say one wants the triples to > *also* go into the default graph -- so if what you're doing is graph > annotation you don't have to repeat all the triples in the annotated > graph. Maybe class="included" or something; I'm not sure how the > namespaces of HTML classes works these days. > > I know this touches on something Steve said yesterday about getting > quads when you're expecting triples; I'll reply to that separately. > > -- Sandro > > > > > >
Received on Wednesday, 9 May 2012 14:23:50 UTC