Question: Is there a greater elevation above sea level in Culver City or in Irvine, the headquarter location of Blizzard Entertainment?
Choices:
Columbus
Compton
Lansing
Irvine
Greenville
Boulder
Waukegan
Franklin
Culver City
New Haven
Program:
function: Find
inputs: Culver City
function: Find
inputs: Blizzard Entertainment
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Irvine
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Culver City" .  } UNION { ?e <pred:name> "Irvine" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Blizzard Entertainment" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Culver City