Question: Which is longer, The Secret in Their Eyes featuring Chiwetel Ejiofor or Tangled, filmed in Toronto?
Choices:
Tangled
The Towering Inferno
The Secret in Their Eyes
Pleasantville
A Prairie Home Companion
Talk to Her
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
Training Day
Answer: The Secret in Their Eyes
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Secret in Their Eyes" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Chiwetel Ejiofor" .   } UNION { ?e <pred:name> "Tangled" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Toronto" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chiwetel Ejiofor
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Secret in Their Eyes
function: And
dependencies: 1
2
function: Find
inputs: Toronto
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: Tangled
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater