Question: Between San Pedro and Hollywood (the one that is the residence of Laurence Fishburne) which has a greater elevation (above sea level)?
Choices:
Encino
Monte Carlo
Jamaica
Roxbury
San Pedro
Astoria
Northridge
Hollywood
Pacific Palisades
Sherman Oaks
Program:
function: Find
inputs: San Pedro
function: Find
inputs: Laurence Fishburne
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Hollywood
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Pedro" .  } UNION { ?e <pred:name> "Hollywood" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Laurence Fishburne" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hollywood