Question: Does the higher elevation belong to Liverpool, headquarters of SCE Studio Liverpool, or to Parma?
Choices:
Santo Domingo
Dundee
Kilkenny
Abidjan
Chihuahua
Kingston
Cork
Liverpool
Bergen
Trieste
Answer: Liverpool
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Liverpool" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "SCE Studio Liverpool" .   } UNION { ?e <pred:name> "Parma" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: SCE Studio Liverpool
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Liverpool
function: And
dependencies: 1
2
function: Find
inputs: Parma
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater