Question: Which has higher elevation above sea level, Auburn (the one whose area is 155.021274 square kilometre) or Berkeley (the one that is the residence of Michael Chabon)?
Choices:
Berkeley
Franklin
Compton
Greenville
Lansing
Columbus
New Haven
Waukegan
Boulder
Auburn
Program:
function: Find
inputs: Auburn
function: FilterNum
dependencies: 0
inputs: area
155.021274 square kilometre
=
function: Find
inputs: Michael Chabon
function: Relate
dependencies: 2
inputs: residence
forward
function: Find
inputs: Berkeley
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Auburn" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "155.021274"^^xsd:double . } UNION { ?e <pred:name> "Berkeley" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Michael Chabon" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Auburn