Added toSparqlUrn method.