What is the {legislature} with the {MAX(number of constituencies)} whose {applies to jurisdiction} is {County Wexford}  ?
In Wexford constituency what is the largest County?
What is the largest County Wexford constituency?
SELECT ?v WHERE { ?v property:number_of_constituencies ?h . ?v rdf:type ontology:legislature . ?v property:applies_to_jurisdiction resource:County_Wexford }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q11204>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q11204 . ?ent wdt:P4253 ?obj . ?ent wdt:P1001 wd:Q184599 } ORDER BY DESC(?obj)LIMIT 5 
legislative body of Wexford County Council