SPARQL parser for JavaScript