Question: Which one has more area between Savannah (the one that is the death place of Gregg Allman) and Yakima?
Choices:
Greenville
Columbus
Franklin
Yakima
Savannah
Waukegan
Boulder
Lansing
Compton
New Haven
Program:
function: Find
inputs: Gregg Allman
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Savannah
function: And
dependencies: 1
2
function: Find
inputs: Yakima
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savannah" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Gregg Allman" .   } UNION { ?e <pred:name> "Yakima" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Savannah