Question: Is the longer work The Wings of the Dove, produced by Harvey Weinstein, or 3:10 to Yuma, with Jean Louis as a costume designer?
Choices:
Rebecca
A Prairie Home Companion
3:10 to Yuma
The Towering Inferno
Training Day
Pleasantville
The Wings of the Dove
The Hunchback of Notre Dame
Talk to Her
Curse of the Golden Flower
Program:
function: Find
inputs: Harvey Weinstein
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Wings of the Dove
function: And
dependencies: 1
2
function: Find
inputs: Jean Louis
function: Relate
dependencies: 4
inputs: costume designer
backward
function: Find
inputs: 3:10 to Yuma
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wings of the Dove" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Harvey Weinstein" .   } UNION { ?e <pred:name> "3:10 to Yuma" . ?e <costume_designer> ?e_2 . ?e_2 <pred:name> "Jean Louis" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Wings of the Dove