What is the {house} with the {MIN(floors above ground)} whose {heritage designation} is {ERROR1}  ?
Which house from error1 is the shortest
Which house from error1 is the shortest
SELECT ?h WHERE { ?h property:floors_above_ground ?i . ?h rdf:type ontology:house . ?h property:heritage_designation resource:list_of_heritage_sites_in_North_Macedonia }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3947>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1101>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1435> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q25553650> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q3947 . ?ent wdt:P1101 ?obj . ?ent wdt:P1435 wd:Q25553650} ORDER BY ASC(?obj)LIMIT 5 