Question: Among the administrative territorial entities located in Wales, which has the largest area?
Choices:
Lee County
African Union
Newport
Monmouthshire
Gwynedd
Delaware County
Washoe County
Orange County
Greene County
Cass County
Program:
function: Find
inputs: Wales
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Wales" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Gwynedd