abstract sparql command