Question: Is Tokyo, birthplace of Shin-ichiro Miki, or Parma lower in elevation?
Choices:
Chihuahua
Parma
Tokyo
Kingston
Kilkenny
Dundee
Trieste
Cork
Abidjan
Santo Domingo
Answer: Tokyo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tokyo" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Shin-ichiro Miki" .   } UNION { ?e <pred:name> "Parma" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Shin-ichiro Miki
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Tokyo
function: And
dependencies: 1
2
function: Find
inputs: Parma
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less