def METHOD_NAME(endpoint):
    """
        Get all instantiated building IRIs which do not have UPRN information
        from UPRN agent
    """
    sparql = SPARQLWrapper(endpoint)
    sparql.setReturnFormat(JSON)
    query_string = f"""
    PREFIX ocgml: <http://www.theworldavatar.com/ontology/ontocitygml/citieskg/OntoCityGML.owl#>
    PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    PREFIX osid: <http://www.theworldavatar.com/ontology/ontocitygml/citieskg/OntoOSID.owl#>
    SELECT DISTINCT ?bldg ?uprns_old ?uprns_new
    WHERE {{ 
    GRAPH <{namespace}building/>                             
            {{ ?bldg ocgml:objectClassId 26 .
            BIND(IRI(REPLACE(str(?bldg), "building", "cityobject")) AS ?cityobj) 
            }}
    GRAPH <{namespace}identifiers>
            {{ FILTER NOT EXISTS {{ ?cityobj ^osid:intersectsFeature/osid:hasValue ?uprns_new }}
            }}
    }}
    ORDER BY ?bldg
    """
    sparql.setQuery(query_string)
    results = sparql.query().convert()
    # Get list of all buildings
    res = [r['bldg']['value'] for r in results['results']['bindings']]
    return res