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