Question: Is the population of Fayetteville, at 204,408, or Kokomo lower?
Choices:
Boulder
Greenville
New Haven
Compton
Oakland
Lansing
Kokomo
Fayetteville
Columbus
Waukegan
Answer: Kokomo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fayetteville" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "204408"^^xsd:double . } UNION { ?e <pred:name> "Kokomo" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Fayetteville
function: FilterNum
dependencies: 0
inputs: population
204408
=
function: Find
inputs: Kokomo
function: SelectBetween
dependencies: 1
2
inputs: population
less