Question: Which has more area, Omaha or Berkeley where Joshua Redman was born?
Choices:
Oakland
Compton
Omaha
Waukegan
New Haven
Boulder
Franklin
Columbus
Greenville
Berkeley
Program:
function: Find
inputs: Omaha
function: Find
inputs: Joshua Redman
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Berkeley
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Omaha" .  } UNION { ?e <pred:name> "Berkeley" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Joshua Redman" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Omaha