Replace sparql query with an open one