workarround for sparql queries