Question: Which one has more running time between Love Story (the one whose narrative location is Boston) and 2001: A Space Odyssey?
Choices:
The Fifth Element
A Prairie Home Companion
Pleasantville
Talk to Her
Curse of the Golden Flower
2001: A Space Odyssey
Love Story
The Towering Inferno
Training Day
Rebecca
Program:
function: Find
inputs: Boston
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Love Story
function: And
dependencies: 1
2
function: Find
inputs: 2001: A Space Odyssey
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Love Story" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Boston" .   } UNION { ?e <pred:name> "2001: A Space Odyssey" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: 2001: A Space Odyssey