Question: Which has higher elevation above sea level, Regina (the one that is the birthplace of Kyle McCulloch) or Brandon?
Choices:
Kilkenny
Cork
Trieste
Bergen
Kingston
Chihuahua
Abidjan
Santo Domingo
Dundee
Regina
Program:
function: Find
inputs: Kyle McCulloch
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Regina
function: And
dependencies: 1
2
function: Find
inputs: Brandon
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Regina" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Kyle McCulloch" .   } UNION { ?e <pred:name> "Brandon" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Regina