fix: use URIRef only when available