What is the {campaign medal} with the {MAX(quantity)} ?
Which is the largest quantity of campaign medals
What is the largest quantity of campaign medals?
SELECT ?p WHERE { ?p rdf:type ontology:campaign_medal . ?p property:quantity ?a }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q973011>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1114>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q973011 . ?ent wdt:P1114 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" Honour Cross of the World War 1914/1918 Medal "For the Victory over Japan" Medal "For the Defence of Leningrad" Medal "For the Capture of Berlin"