Question: Which Ireland county belonging to the country of Ireland (whose population is 2828600) has the largest area?
Choices:
County Limerick
County Meath
County Kildare
County Sligo
County Kerry
County Cork
County Dublin
County Waterford
County Mayo
County Wicklow
Answer: County Cork
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e <country> ?e_1 . ?e_1 <pred:name> "Ireland" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2828600"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ireland
function: FilterNum
dependencies: 0
inputs: population
2828600
=
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: county of Ireland
function: SelectAmong
dependencies: 3
inputs: area
largest