What is the {interacting galaxy} with the {MIN(distance from Earth)} whose {constellation} is {Cetus}  ?
what is the closest interacting galaxy to Earth?
Name the closest interacting galaxy from Earth whose constellation is known as Cetus.
SELECT ?k WHERE { ?k rdf:type ontology:interacting_galaxy . ?k property:distance_from_Earth ?x . ?k property:constellation resource:Cetus }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q644507>.

?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/P2583>.
?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/P59> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8839> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q644507 . ?ent wdt:P2583 ?obj . ?ent wdt:P59 wd:Q8839} ORDER BY ASC(?obj)LIMIT 5 
NGC 274 Arp 230 NGC 341 APG 309 NGC 541