What is the {directory service} with the {MAX(port)} ?
Give me the name of the directory service with the highest number of port.
Which directory service has the highest number of port?
SELECT ?c WHERE { ?c rdf:type ontology:directory_service . ?c property:port ?t }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q756230>.
?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/P1641>.
?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:Q756230 . ?ent wdt:P1641 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Lightweight Directory Access Protocol