Added ability to sparql database (currently only SELECT)