Re: N3 syntax

From: Arjohn Kampman <arjohn.kampman_at_aduna.biz>
Date: Tue, 27 Sep 2005 14:39:21 +0200

Alf Eaton wrote:
> On 26 Sep 2005, at 21:41, Ryan Lee wrote:
>
>> Alf Eaton wrote:
>>
>>> I haven't dealt much with N3 syntax before, but is there an obvious
>>> reason why Piggy Bank doesn't find any typed data from the following
>>> example (served as a separate file at <http://
>>> hublog.hubmed.org/archives/001212.n3>)?:
>>>
>>
>> Piggy Bank technically only does Turtle, not full N3. You use the
>> Python-esque triple quote for a string in your file, which, as far as
>> I understand, is not part of Turtle's syntax. This Java exception is
>> thrown when I try to view the data in PB:
>>
>> Fatal error: Expected '.', found '"' at http://hublog.hubmed.org/
>> archives/001212.n3 [9,-1]
>>
>> Keep an eye on the Java error log, that usually helps in
>> understanding a situation.
>
>
> Thanks for the Java Console hint, that's useful. In this case I'm not
> sure the file is actually invalid though: the Turtle doc at http://
> www.dajobe.org/2004/01/turtle/ uses triple quotes in one of its
> examples (<http://www.dajobe.org/2004/01/turtle/example3.ttl>), which
> Piggy Bank also fails to import, with the same error message.

Appologies for interrupting.

The """long literal""" strings were only recently added to the Turtle
specification. Sesame's Turtle parser which, judging the error message,
is used by Piggy Bank, does not include the most recently added features
yet.

Hope this clears things up,

Arjohn

-- 
arjohn.kampman_at_aduna.biz
Aduna BV - http://aduna.biz/
Prinses Julianaplein 14-b, 3817 CS Amersfoort, The Netherlands
tel. +31-(0)33-4659987
Received on Tue Sep 27 2005 - 12:35:02 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT