Give precedence to @vocab over CURIEs when compacting IRIs.