What is the {isotope of indium} with the {MAX(atomic number)} whose {instance of} is {nuclear isomer}  ?
What is the atomic number of the nuclear isomer that is indium's isotope?
Which nuclear isomer that is an isotope of indium has the highest atomic number ?
SELECT ?a WHERE { ?a rdf:type ontology:nuclear_isomer . ?a rdf:type ontology:isotope_of_indium . ?a property:atomic_number ?g }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q785466>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q785466 . ?ent wdt:P1086 ?obj . ?ent wdt:P31 wd:Q846110 } ORDER BY DESC(?obj)LIMIT 5 
indium-98m indium-99m indium-101m indium-103m indium-104m