Update gems
Fix SPARQL query