[redland-dev] [Rasqal RDF Query Library 0000568]: Filter expression with division does not work

Mantis Bug Tracker mantis-bug-sender at librdf.org
Thu Feb 27 06:50:54 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=568 
====================================================================== 
Reported By:                aharth
Assigned To:                
====================================================================== 
Project:                    Rasqal RDF Query Library
Issue ID:                   568
Category:                   query engine
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     new
Query Language:             sparql 
====================================================================== 
Date Submitted:             2014-02-27 11:50
Last Modified:              2014-02-27 11:50
====================================================================== 
Summary:                    Filter expression with division does not work
Description: 
PREFIX ex: <http://example.org/baz#> 
PREFIX : <http://harth.org/andreas/2014/ldhd/astro-graph.ttl#> 

SELECT ?x
FROM :
WHERE {
 ?x ex:radius ?r .
 FILTER ( (4/3 * 3.1416927 * ?r * ?r * ?r) > 2e10)
}

doesn't work

Steps to Reproduce: 
PREFIX ex: <http://example.org/baz#> 
PREFIX : <http://harth.org/andreas/2014/ldhd/astro-graph.ttl#> 

SELECT ?x
FROM :
WHERE {
 ?x ex:radius ?r .
 FILTER ( (1.33 * 3.1416927 * ?r * ?r * ?r) > 2e10)
}

works (note the substitution of 4/3 with 1.33)

Additional Information: 
I have installed rasqal-utils amd64 0.9.32-1

$ roqet -v
0.9.31
$
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-02-27 11:50 aharth         New Issue                                    
======================================================================



More information about the redland-dev mailing list