On 09/10/15 11:37, Rob Vesse wrote:
FYI this is certainly not in Jena 2.x and although it is in master I'm not
sure it has yet been in a 3.x release
Works from 2.11.0 onwards for me :-)
(this is your original function work - not the aggregates)
Andy
Rob
On 09/10/2015 09:17, "Andy Seaborne" <[email protected]> wrote:
On 08/10/15 19:49, Maria Jackson wrote:
Dear All,
select ?a?b?c?r where{ graph ?graph1{?a ?b <object1>} graph ?graph21{?a
?c
<object2>} graph ?graph2{?a <time> ?r}} order by asc(?r+(1.1*10^(11)))
limit 1
If I write the above expression to denote: ?r + (1.1 x (pow(10,11)))
then
will it be a correct expression in Jena. I am struggling to find how to
express power in Jena?
PREFIX lfn: <http://www.dotnetrdf.org/leviathan#>
SELECT ( lfn:pow(10,2) AS ?X ) {}
==>
-------
| X |
=======
| 100 |
-------
Andy