add the SPARQL class and some simple unit tests