Question: Which one has the least area among the county of Ireland whose country is Ireland (the one whose demonym is Irish)
Choices:
County Kildare
County Wexford
County Monaghan
County Dublin
County Kerry
County Limerick
County Tipperary
County Kilkenny
County Meath
County Roscommon
Program:
function: Find
inputs: Ireland
function: FilterStr
dependencies: 0
inputs: demonym
Irish
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 <demonym> ?pv_1 . ?pv_1 <pred:value> "Irish" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: County Dublin