Question: Which Ireland county that is an administrative division of Ireland (that is the country of Galway) has the smallest area?
Choices:
County Galway
County Kildare
County Dublin
County Donegal
County Limerick
County Monaghan
County Kerry
County Cork
County Tipperary
County Waterford
Answer: County Dublin
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Ireland" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> "Galway" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Galway
function: Relate
dependencies: 0
inputs: country
forward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: SelectAmong
dependencies: 5
inputs: area
smallest