Fixed variable usage in rdf:resource