Question: Among the Ireland counties whose country is Ireland (the one whose population is 3539690), which one has the smallest area?
Choices:
County Dublin
County Monaghan
County Roscommon
County Sligo
County Limerick
County Clare
County Galway
County Mayo
County Donegal
County Wicklow
Program:
function: Find
inputs: Ireland
function: FilterNum
dependencies: 0
inputs: population
3539690
=
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: county of Ireland
function: SelectAmong
dependencies: 3
inputs: area
smallest
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> "3539690"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: County Dublin