What is the {military museum} with the {MAX(visitors per year)} whose {location} is {Les Invalides}  ?
Which military museum in Les Invalides has the highest number of visitors per year?
Tell the name of military museum with the highest number of visitors per year whose location is les invalides?
SELECT ?x WHERE { ?x property:visitors_per_year ?n . ?x property:location resource:Les_Invalides . ?x rdf:type ontology:military_museum }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q2772772>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q2772772 . ?ent wdt:P1174 ?obj . ?ent wdt:P276 wd:Q188977 } ORDER BY DESC(?obj)LIMIT 5 
Musée de l'Armée Musée de l'Armée Musée de l'Armée Musée de l'Armée Musée de l'Armée