add SPARQL filter to shortcircuit the SPARQL query for non-IRI
statements