Question: Which one is higher above sea level, Syracuse (the one that is the birthplace of Tom Cruise) or Schenectady?
Choices:
Syracuse
Troy
Auburn
Long Beach
Glens Falls
Yonkers
Elmira
Schenectady
Utica
Glen Cove
Answer: Syracuse
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Syracuse" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tom Cruise" .   } UNION { ?e <pred:name> "Schenectady" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tom Cruise
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Syracuse
function: And
dependencies: 1
2
function: Find
inputs: Schenectady
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater