What is the {college library} with the {MAX(collection or exhibition size)} ?
What is the identify of the university library with the biggest collection?
What is the name of the college library with the largest collection?
SELECT ?s WHERE { ?s rdf:type ontology:college_library . ?s property:collection_or_exhibition_size ?k }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1622062>.
?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/P1436>.
?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:Q1622062 . ?ent wdt:P1436 ?obj } ORDER BY DESC(?obj)LIMIT 5 
German National Library of Science and Technology National Library of the Czech Republic Jagiellonian Library National and University Library of Slovenia Communication, Information, Media Centre of the University of Konstanz