Question: Is there a greater are in Hilo or Rochester, where Agnes Moorehead died?
Choices:
Rochester
Compton
Boulder
Hilo
Oakland
Columbus
New Haven
Waukegan
Lansing
Franklin
Program:
function: Find
inputs: Hilo
function: Find
inputs: Agnes Moorehead
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Rochester
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hilo" .  } UNION { ?e <pred:name> "Rochester" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Agnes Moorehead" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hilo