added more options to sparql method