Question: Of the counties in Ireland that share a border with County Wexford, which covers the least amount of area?
Choices:
County Kildare
County Galway
County Sligo
County Tipperary
County Limerick
County Donegal
County Kilkenny
County Dublin
County Wicklow
County Meath
Program:
function: Find
inputs: County Wexford
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: county of Ireland
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "County Wexford" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: County Wicklow