fixed syntax error in sparql
Merge fixes