improved sparql error handling
sparql queries connected to new header and param configuration options