Question: tell me the one with the biggest area in the county of Ireland that has an administrative division of Ireland (which Bob Geldof is a citizen of)
Choices:
County Limerick
County Galway
County Wicklow
County Clare
County Kilkenny
County Dublin
County Donegal
County Cork
County Kerry
County Roscommon
Program:
function: Find
inputs: Bob Geldof
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> "Bob Geldof" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: County Cork