Question: Which has fewer people, El Paso or Bloomington (the one whose postal code is 47401–47408)?
Choices:
Boulder
El Paso
Bloomington
Waukegan
New Haven
Compton
Oakland
Greenville
Franklin
Columbus
Answer: Bloomington
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "El Paso" . } UNION { ?e <pred:name> "Bloomington" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "47401–47408" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: El Paso
function: Find
inputs: Bloomington
function: FilterStr
dependencies: 1
inputs: postal code
47401–47408
function: SelectBetween
dependencies: 0
2
inputs: population
less