Solved an issue with encodings in SPARQL queries.