Question: Which has lower elevation above sea level, San Pedro or Hollywood (the one that is the headquarter location of Walt Disney Animation Studios)?
Choices: Astoria
Monte Carlo
Roxbury
Woodland Hills
San Pedro
Jamaica
Hollywood
Pacific Palisades
Sherman Oaks
Encino
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Pedro" .  } UNION { ?e <pred:name> "Hollywood" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Walt Disney Animation Studios" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: San Pedro
function: Find
inputs: Walt Disney Animation Studios
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Hollywood
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
Answer: San Pedro