Question: Does the higher elevation belong to Harbin or to London, where the plot of Bridget Jones's Diary is set?
Choices:
Kilkenny
Abidjan
Chihuahua
Harbin
Dundee
Bergen
Santo Domingo
Trieste
Kingston
Cork
Program:
function: Find
inputs: Harbin
function: Find
inputs: Bridget Jones's Diary
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harbin" .  } UNION { ?e <pred:name> "London" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Bridget Jones's Diary" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Harbin