This SUM aggregate function is not working. It gives no result.
select (SUM(?p) as ?prcc) ?sune
where {
?inl Sp:hasp ?p.
?inl Sp:hassuid ?supid.
?supid Sp:hassune ?sune.
}
GROUP BY ?sune
The data in "p" is in double format. So when i change my query to
select (SUM(xsd:double(?p)) as ?prcc) ?sune
or select (SUM(xsd:integer(?p)) as ?prcc) ?sune
It does not perform SUM on values with decimal point.