Here is sample scenario:
SQL> SPARQL INSERT INTO GRAPH <http://mygraph.com> { `iri (bif:concat ('http://dbpedia.org/resource/Raiders_of_the_', '"Lost"', '_Car_Park'))` a `iri (<http://dbpedia.org/class/yago/1994Novels> )` . `iri (bif:concat ('http://dbpedia.org/resource/Raiders_of_the_', '"Found"', '_Car_Park'))` a `iri (<http://dbpedia.org/class/yago/1995Novels> )` . }; Done. -- 78 msec.
iri
function:
SQL> SPARQL SELECT * FROM <http://mygraph.com> WHERE { {`iri('http://dbpedia.org/resource/Raiders_of_the_"Lost"_Car_Park')` ?a ?b} }; a b VARCHAR VARCHAR _______________________________________________________________________________ http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/1994Novels 1 Rows. -- 47 msec.