Use SPARQL.js to parse SPARQL queries.
Correct code style.