W3C home > Mailing lists > Public > semantic-web@w3.org > February 2010

Re: mapping from Turtle grammar to RDF graph

From: Eric Prud'hommeaux <eric@w3.org>
Date: Tue, 2 Feb 2010 16:50:18 -0500
To: Dave Beckett <dave@dajobe.org>
Cc: pfps@research.bell-labs.com, semantic-web@w3.org
Message-ID: <20100202215016.GB19751@w3.org>
* Dave Beckett <dave@dajobe.org> [2010-02-02 07:54-0800]
> Eric Prud'hommeaux wrote:
> > Peter, all, anyone interested in debugging a mapping from a turtle
> > grammar to triple production rules?
> >   http://www.w3.org/2010/01/31-Turtle#⋈
> > 
> > I still need to stick encoding issues in there (like \"),
> > but this should serve as a start.
> 
> I'm interested and it seems the right direction but I'm finding this a
> little hard to understand.

I'm certainly sympathetic to that. Any ideas gratefully investigated.

>                              I'd hope that we can get out a strong
> mapping (like this) which is sufficiently formal that it addresses the
> concerns Peter raised in 2008 [1]

yeah, that's what motivated this. pfps outlines a recipe and i need to
test my recipe against his. his target is ntriples, while i prefer to
map to RDF terms and count on the ntriples spec to turn escaped URIs
into IRIs.

> It also might be worth starting to consider whether to align the terminals
> (qnames) more with sparql first.

the productions ref'd in http://www.w3.org/2010/01/31-Turtle#⋈ are
from a yacker mockup of "TurtleS" (Turtle using SPARQL terminals and
productions, where applicable). it may still be too liberal -- needs
some thought and testing against bad-\d\d.ttl.

> Dave
> 
> [1] http://lists.w3.org/Archives/Public/semantic-web/2008Jan/0128.html
> via my Turtle issue list
> http://github.com/dajobe/turtle/blob/master/ISSUES.md
-- 
-ericP
Received on Tuesday, 2 February 2010 21:50:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:34 GMT