Fix RDF generation for constant nodes to handle URI