Fixed invalid SPARQL syntax. Fixes #25