Question: Among the counties of the country is Ireland (which contains the administrative division County Meath), which has the smallest area?
Choices:
County Kilkenny
County Limerick
County Cork
County Tipperary
County Meath
County Mayo
County Dublin
County Sligo
County Roscommon
County Kerry
Answer: County Dublin
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 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "County Meath" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: County Meath
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: SelectAmong
dependencies: 5
inputs: area
smallest