<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def normalize_uri(u: URI) -> URIRef: """ Return a URIRef for a str or URIRef """

    return u if isinstance(u, URIRef) else URIRef(str(u))