Hi,
there are two options, as long as I know. 

The first one is to try BIND((?a * ?a) AS ?aSquared)

The second one could be to implement own Sesame SPARQL function(if you need 
complex math function as logarithms etc.). It is quite easy to implement and 
then insert into lib folder in server :
http://rivuli-development.com/further-reading/sesame-cookbook/creating-custom-sparql-functions/

Hope this helps.

Best regards,
Marek



________________________________
 From: Fabian Cretton <fabian.cret...@hevs.ch>
To: owlim-discussion@ontotext.com 
Sent: Wednesday, 21 November 2012, 15:59
Subject: [Owlim-discussion] OWLIM 5.3 - SPARQL and math functions
 

Hi,
 
Is there anyway to use math functions (as square root) in SPARQL queries with 
OWLIM 5.3 ?
 
If not, is it something planned or not to count on in a near future ?
 
Thanks for the information
Fabian
_______________________________________________
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion
_______________________________________________
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion

Reply via email to