What is the {shipwrecking} with the {MIN(number of casualties)} whose {vessel} is {RMS Titanic}  ?
Identify the shipwreck that had more casualties than the RMS Titanic?
Which shipwreck had more casualties than the RMS Titanic?
SELECT ?i WHERE { ?i property:vehicle resource:RMS_Titanic . ?i rdf:type ontology:shipwrecking . ?i property:number_of_casualties ?l }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q906512>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q906512 . ?ent wdt:P1590 ?obj . ?ent wdt:P1876 wd:Q25173} ORDER BY ASC(?obj)LIMIT 5 
sinking of the RMS Titanic