Question: Delaware County contains the capital of Muncie and Allen County has a population of 355833, but which one has the smaller area?
Choices:
Wayne County
Howard County
Monroe County
Marion County
Franklin County
Allen County
Hancock County
Delaware County
Madison County
Johnson County
Program:
function: Find
inputs: Muncie
function: Relate
dependencies: 0
inputs: capital of
forward
function: Find
inputs: Delaware County
function: And
dependencies: 1
2
function: Find
inputs: Allen County
function: FilterNum
dependencies: 4
inputs: population
355833
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Muncie" . } UNION { ?e <pred:name> "Allen County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "355833"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Delaware County