What is the {archive} with the {MAX(data size)} whose {owned by} is {Wikimedia Foundation, Inc.}  ?
Which archive that's owned by Wikimedia Foundation, Inc. has the largest data size?
What is the archive with the  most data size whose owned by is  Wikimedia Foundation, Inc.?
SELECT ?d WHERE { ?d rdf:type ontology:archives . ?d property:owned_by resource:Wikimedia_Foundation . ?d property:data_size ?w }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q166118>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q166118 . ?ent wdt:P3575 ?obj . ?ent wdt:P127 wd:Q180 } ORDER BY DESC(?obj)LIMIT 5 
Wikimedia Commons Wikimedia Commons Wikimedia Commons Wikimedia Commons