W3C home > Mailing lists > Public > public-cwm-talk@w3.org > April to June 2008

SPARQLing maths?

From: Henry Story <Henry.Story@Sun.COM>
Date: Fri, 02 May 2008 06:20:32 -0700
To: public-cwm-talk@w3.org
Message-id: <FD55B8CA-1784-4207-8059-D1282C2B6182@Sun.COM>

Hi I wanted to use cwm to do some maths.

So I wrote out the following query

PREFIX math: <http://www.w3.org/2000/10/swap/math#>
SELECT ?p
WHERE {
  ( 2 4 ) math:product ?p .
}

then I tried running it through cwm

hjs@bblfish:0$ cwm --sparql=addition.sparql --think --sparqlResults < / 
dev/null
loaded from file  0.163625955582
<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
     <head>
          <variable name="p"/>
      </head>
      <results>
      </results>
</sparql>

I tried placing --think a little bit everywhere but with no success.
Is there a way to do this?

Henry


Home page: http://bblfish.net/
Received on Friday, 2 May 2008 13:21:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 May 2008 13:21:19 GMT