Question: Which has fewer people, Columbia (the one whose population is 108500) or Oxnard?
Choices:
Lansing
Columbia
Waukegan
Greenville
Columbus
Boulder
Oxnard
Franklin
Compton
Oakland
Program:
function: Find
inputs: Columbia
function: FilterNum
dependencies: 0
inputs: population
108500
=
function: Find
inputs: Oxnard
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "108500"^^xsd:double . } UNION { ?e <pred:name> "Oxnard" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Columbia