- From: Tim Berners-Lee <timbl@w3.org>
- Date: Mon, 2 Aug 2010 18:04:00 -0400
- To: Jonathan Rees <jar@creativecommons.org>
- Cc: public-cwm-bugs@w3.org
SIgh. A random and unnecessary departure of turtle from N3 IMHO. Changed the code anyway. Almost 10 years on Tim total revisions: 6; selected revisions: 6 description: ---------------------------- revision 1.6 date: 2010/08/02 22:01:22; author: timbl; state: Exp; lines: +31 -8 See mail from JAR to public-cwm-talk mid:AANLkTingr3WLyjOFVQqz-v5AASMe4sFbqkhn4ap26DiG@mail.gmail.com ---------------------------- revision 1.5 date: 2007/10/18 20:55:41; author: timbl; state: Exp; lines: +38 -17 doublequote escaping ---------------------------- revision 1.4 date: 2007/06/26 02:36:15; author: syosi; state: Exp; lines: +55 -55 fix tabs ---------------------------- revision 1.3 date: 2000/11/10 23:04:18; author: timbl; state: Exp; lines: +1 -1 Starting basis for qualifiers ---------------------------- revision 1.2 date: 2000/11/02 20:48:45; author: timbl; state: Exp; lines: +10 -0 first schema hack ---------------------------- revision 1.1 date: 2000/10/31 15:56:37; author: timbl; state: Exp; Hacked TabDelimted-windows format to n3 converter ============================================================================= On 2010-08 -02, at 16:37, Jonathan Rees wrote: > I'm trying to use http://www.w3.org/2000/10/swap/tab2n3.py > and have discovered the hard way that it doesn't generate Turtle... > not that it claims to, but I felt like complaining. > > Apparently the Turtle grammar requires a predicate and object > following each subject, and in the output of tab2n3 there are subjects > with no predicate and object. E.g. > > # headings found: 3 ['strain_id', 'strain_name', 'strain_type'] > [ > :strain_id "MGI:2164743"; > :strain_name "(C57BL/6JEiJ x C3Sn.BLiA-Pde6b<+>)F1"; > :strain_type "Not Specified"; > ] . > > Here's what the Turtle submission says: > > [6] triples ::= subject predicateObjectList > [7] predicateObjectList ::= verb objectList ( ';' verb objectList )* ( ';')? > > To generate correct Turtle is possible but awkward. You could say > tab2n3 is working as designed, and was never meant to generate Turtle, > only N3, but... wouldn't it be nice? > > Jonathan >
Received on Monday, 2 August 2010 22:04:09 UTC