entity-for-iri and entity-for-string functions added.