W3C home > Mailing lists > Public > public-cwm-talk@w3.org > January to March 2006

problems with a

From: marcos rebelo <oleber@gmail.com>
Date: Sat, 11 Mar 2006 09:02:16 +0000
Message-ID: <319d96980603110102r14455e00yfca9db2199cdd905@mail.gmail.com>
To: "public-cwm-talk@w3.org" <public-cwm-talk@w3.org>

This command is not recognized

:pat @is @a @of :Human .

I got this error

#Processed by Id: cwm.py,v 1.176 2005/08/10 17:03:22 syosi Exp
        #    using base file:/cygdrive/d/projects/FCT/notation_3/src/test.n3
        Traceback (most recent call last):
  File "/cygdrive/d/software/cwm-1.1.0rc1/cwm", line 711, in ?
    doCommand()
  File "/cygdrive/d/software/cwm-1.1.0rc1/cwm", line 433, in doCommand
    referer="")
  File "/cygdrive/d/software/cwm-1.1.0rc1/swap/webAccess.py", line 190, in load
    p.feed(buffer)
  File "/cygdrive/d/software/cwm-1.1.0rc1/swap/notation3.py", line 237, in feed
    i = self.directiveOrStatement(str,j)
  File "/cygdrive/d/software/cwm-1.1.0rc1/swap/notation3.py", line
250, in directiveOrStatement
    j = self.statement(str, i)
  File "/cygdrive/d/software/cwm-1.1.0rc1/swap/notation3.py", line
377, in statement
    j = self.property_list(str, i, r[0])
  File "/cygdrive/d/software/cwm-1.1.0rc1/swap/notation3.py", line
679, in property_list
    j = self.verb(str, i, v)
  File "/cygdrive/d/software/cwm-1.1.0rc1/swap/notation3.py", line 410, in verb
    if i < 0: raise BadSyntax(self._thisDoc, self.lines, str, j,
"expected <property> after 'is'")
swap.notation3.BadSyntax: Line 2 of
<file:/cygdrive/d/projects/FCT/notation_3/src/test.n3>: Bad syntax
(expected <property> after 'is') at ^ in:
"
:pat @is^ @a @of :Human .






Isn't 'a' need inside the @keywords to work without '@'

:pat a :Human .

--
Marcos Rebelo
http://oleber.awardspace.com/
Received on Saturday, 11 March 2006 09:02:24 GMT

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