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