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#>
  ( 2 4 ) math:product ?p .

then I tried running it through cwm

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

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


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:01:05 UTC