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