Question: Which part of an Irish county that is the administrative division of Ireland (with Allen Leech as the citizen), is the largest ?
Choices:
County Limerick
County Wexford
County Monaghan
County Meath
County Kilkenny
County Dublin
County Galway
County Tipperary
County Waterford
County Cork
Program:
function: Find
inputs: Allen Leech
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: SelectAmong
dependencies: 5
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Ireland" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Allen Leech" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: County Cork