Support SPARQL aggregates

Close #20