code: def anyont_fetch_label(id):
      
      iri = expand_uri(id, strict=False)
      query = """
      SELECT ?label WHERE {{
      <{iri}> rdfs:label ?label
      }}
      """.format(iri=iri)
      bindings = run_sparql(query)
      rows = [r['label']['value'] for r in bindings]
      return rows[0]
docs: fetch all rdfs:label assertions for a URI