W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > June 2006

<syntax/neg-literal-predicate.n3> vs n3.n3

From: Dan Connolly <connolly@w3.org>
Date: Fri, 16 Jun 2006 10:49:23 -0500
To: public-cwm-bugs@w3.org
Message-Id: <1150472963.19088.30.camel@dirk.w3.org>

Is this an N3 formula?

 :a "hello" :c .

n3.n3 says verb can be expression which can be pathitem which can be
literal.

The tests say this is not allowed.

Which is right?

n3.n3 revision 1.28 date: 2006/02/15 15:49:00

:n3_20004 a n3test:NegativeParserTest;
    n3test:description    "A predicate cannot be a literal, I hope";
    n3test:inputDocument  <syntax/neg-literal-predicate.n3> .


As TimBL and I discussed, I actually prefer to keep the RDF
version of the N3
  http://www.w3.org/2000/10/swap/grammar/notation3.bnf

and converted to RDF:
  http://www.w3.org/2000/10/swap/grammar/notation3.n3
  http://www.w3.org/2000/10/swap/grammar/notation3.rdf
  http://www.w3.org/2000/10/swap/grammar/notation3

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Friday, 16 June 2006 15:49:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT