always cast graph as RDF::URI