What is the {earthquake} with the {MAX(earthquake magnitude on the Richter magnitude scale)} whose {country} is {Taiwan}  ?
What was the strongest earthquake in Taiwan?
What was the strongest earthquake ever in Taiwan?
SELECT ?u WHERE { ?u rdf:type ontology:earthquake . ?u property:earthquake_magnitude_on_the_Richter_magnitude_scale ?g . ?u property:country resource:Taiwan }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7944>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q7944 . ?ent wdt:P2528 ?obj . ?ent wdt:P17 wd:Q865 } ORDER BY DESC(?obj)LIMIT 5 
2002 Taiwan earthquake 2019 Hualien earthquake 2019 Yilan earthquake 2018 Hualien earthquake