Created a refactored version of SPARQLClient