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