Hi, I have following query for aggregated results.
select ?par4 (AVG(?par1) as ?avgPar1) (AVG(?par2) as ?avgPar2) (AVG(?par3) as ?avgpar3) where{ ?response survey:par1 ?par1 .
?response survey:par2 ?par2 .
?response survey:par3 ?par3 .
?response survey:par4 ?par4.
}
where I am getting avg of par1, par2 and par3 for mutiple ?response but par4 is boolean and I want to return true for that if even one of the response contains true else if all value is false then return false. Please let me know how can I do it.