Question: What county in Ireland is Jonathan Rhys Meyers a citizen of and the largest administrative division?
Choices:
County Donegal
County Sligo
County Roscommon
County Waterford
County Kildare
County Galway
County Kerry
County Cork
County Wexford
County Limerick
Program:
function: Find
inputs: Jonathan Rhys Meyers
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> "Jonathan Rhys Meyers" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: County Cork