Question: Which has the smaller area, Delaware County, an administrative division of Indiana, or Allen County, which contains Fort Wayne?
Choices:
Franklin County
Hancock County
Marion County
Lake County
Delaware County
Howard County
Wayne County
Madison County
Monroe County
Allen County
Answer: Delaware County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Indiana" .   } UNION { ?e <pred:name> "Allen County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Fort Wayne" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Indiana
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Delaware County
function: And
dependencies: 1
2
function: Find
inputs: Fort Wayne
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Allen County
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less