W3C home > Mailing lists > Public > public-rif-wg@w3.org > September 2008

RE: PS grammar question

From: Hassan Ait-Kaci <hak@ilog.com>
Date: Sat, 20 Sep 2008 18:15:25 -0700
Message-ID: <9FC9C6B2EA71ED4B826F55AC7C8B9AAB01F33696@mvmbx01.ilog.biz>
To: <kifer@cs.sunysb.edu>
Cc: "harold boley" <Harold.Boley@nrc-cnrc.gc.ca>, "RIF WG" <public-rif-wg@w3.org>
> Looks like a typo. Should be <http:...> or the full "..."^^rif:iri

I surmised so, but wanted to check. Harold should confirm or explain.

What about the following remark (which is really causing me a problem):

> PS/ BTW, the PS grammar's tokenizing is now complexified due to using PS
>     to declare Prefix and Base pragmas not using double-quoted strings
>     around the IRI's. The alternative would be to parse IRI's - which is
>     beyond such a prototype's goal. In the canonical PS, all such IRI's
>     are double-quoted strings which greatly simplifies the tokenizing.
>     It'd be as simple and as easy to do so for the Prefix and Base pragmas.

Can we change the PS syntax to require double-quotes around the IRI's
in the pragmas Prefix and Base? (I call them pragmas because all they do
is declare the IRI name spaces used in CURIE shorthands.) It would be a
simple amendment to the PS BNF and would immensely simplify implementing
a lexer for the PS.

Thanks.

-hak
--
Hassan At-Kaci  *  ILOG, Inc. - Product Division R&D
http://koala.ilog.fr/wiki/bin/view/Main/HassanAitKaci



-----Original Message-----
From: Michael Kifer [mailto:kifer@cs.sunysb.edu]
Sent: Sun 9/21/2008 2:40 AM
To: Hassan Ait-Kaci
Cc: harold boley; RIF WG
Subject: Re: PS grammar question
 


On Sat, 20 Sep 2008 17:32:51 -0700
"Hassan Ait-Kaci" <hak@ilog.com> wrote:

> > (* "http://sample.org"^^rif:iri pd[dc:publisher -> http://www.w3.org/
> >                                    dc:date -> "2008-04-04"^^xs:date] *)  
> 
> Can you please explain to me how http://www.w3.org/ can be derived as a
> TERM according to the EBNF rules cited above?

Looks like a typo. Should be <http:...> or the full "..."^^rif:iri

m
Received on Sunday, 21 September 2008 01:16:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:54 GMT