Question: Which area is smaller, Wayne County (the one whose population is 68917) or Porter County?
Choices:
Delaware County
Wayne County
Monroe County
Franklin County
Johnson County
Lake County
Porter County
Allen County
Marion County
Hancock County
Program:
function: Find
inputs: Wayne County
function: FilterNum
dependencies: 0
inputs: population
68917
=
function: Find
inputs: Porter County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wayne County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "68917"^^xsd:double . } UNION { ?e <pred:name> "Porter County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wayne County