Question: Which one has the smallest area among the counties of Ireland?
Choices:
County Dublin
County Donegal
County Wicklow
County Sligo
County Tipperary
County Kerry
County Roscommon
County Kildare
County Waterford
County Limerick
Program:
function: Find
inputs: Ireland
function: FilterStr
dependencies: 0
inputs: ISO 3166-1 alpha-3 code
IRL
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 <ISO_3166-1_alpha-3_code> ?pv_1 . ?pv_1 <pred:value> "IRL" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: County Dublin