What is the {tugboat} with the {MAX(net tonnage)} whose {use} is {museum ship}  ?
What tugboat found in a museum weighs the most?
Which museum tugboat has the most net tonnage ?
SELECT ?b WHERE { ?b rdf:type ontology:tug . ?b property:net_tonnage ?u . ?b property:use resource:museum_ship }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q191826>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q191826 . ?ent wdt:P2790 ?obj . ?ent wdt:P366 wd:Q575727 } ORDER BY DESC(?obj)LIMIT 5 
Edna G