Question: Is there more area in Wales or Scotland (the one that is the narrative location of Greystoke: The Legend of Tarzan, Lord of the Apes)?
Choices:
Wales
Bicentennial Man
killed in action
Faroe Islands
Scotland
Tom Hollander
War and Peace
Cook Islands
Greenland
Netherlands
Answer: Scotland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wales" .  } UNION { ?e <pred:name> "Scotland" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Greystoke: The Legend of Tarzan, Lord of the Apes" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wales
function: Find
inputs: Greystoke: The Legend of Tarzan, Lord of the Apes
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Scotland
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater