W3C home > Mailing lists > Public > public-cwm-talk@w3.org > July to September 2004

N3QL initial support

From: Jos De_Roo <jos.deroo@agfa.com>
Date: Thu, 1 Jul 2004 22:09:16 +0200
To: timbl <timbl@w3.org>
Cc: public-cwm-talk@w3.org
Message-ID: <OFC6C9CA5E.35EE6869-ONC1256EC4.006D4BEA-C1256EC4.006EA3E8@agfa.com>

N3QL initial support works fine i.e. for test case
  "tell me the name, latitude and longitude of
   everything within 50 miles of Cambridge, MA"
Cwm gives

$ python /w3ccvs/WWW/2000/10/swap/cwm.py \
  http://eulersharp.sourceforge.net/2004/04test/danP.n3 -think \
  -query=http://eulersharp.sourceforge.net/2004/04test/danQ.n3

#Processed by Id: cwm.py,v 1.155 2004/06/30 20:04:57 timbl Exp
        #    using base 
http://eulersharp.sourceforge.net/2004/04test/danP.n3

#  Notation3 generation by
#       notation3.py,v 1.157 2004/06/30 20:27:54 syosi Exp

#   Base was: http://eulersharp.sourceforge.net/2004/04test/danP.n3
     @prefix : <http://www.w3.org/2004/ql#> .

    :result     :is  (
        "Boston"
        42.19
        -71.05  ),
                 (
        "Cambridge"
        42.3
        -71.1  ) .

#ENDS


which is what we also get with Euler
http://eulersharp.sourceforge.net/2004/04test/danE.n3

so it looks good :)


-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
Received on Thursday, 1 July 2004 16:09:51 GMT

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