# filename: ex164.rq PREFIX e: SELECT ?description (SUM(?amount) AS ?mealTotal) WHERE { ?meal e:description ?description ; e:amount ?amount . } GROUP BY ?description HAVING (SUM(?amount) > 20)