GH/13 Refactor 'sparql-query to take value params

'sparql-query now accepts value parameters and constructs the SPARQL
itself, instead of expecting the query to have been written for it.

'get-triples-list had to be updated accordingly.