Question: Is Quadrophenia, located in Brighton, or Domino, shot in Santa Monica shorter in length?
Choices:
A Prairie Home Companion
The Fifth Element
Quadrophenia
Pleasantville
Curse of the Golden Flower
Training Day
Domino
Rebecca
Talk to Her
The Towering Inferno
Program:
function: Find
inputs: Brighton
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Quadrophenia
function: And
dependencies: 1
2
function: Find
inputs: Santa Monica
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: Domino
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quadrophenia" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Brighton" .   } UNION { ?e <pred:name> "Domino" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Santa Monica" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Quadrophenia