Question: Which movie is longer, In the Bedroom or My Man Godfrey (the one that has Travis Banton as a costume designer)?
Choices:
Rebecca
The Towering Inferno
My Man Godfrey
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
In the Bedroom
Talk to Her
The Fifth Element
Training Day
Program:
function: Find
inputs: In the Bedroom
function: Find
inputs: Travis Banton
function: Relate
dependencies: 1
inputs: costume designer
backward
function: Find
inputs: My Man Godfrey
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "In the Bedroom" .  } UNION { ?e <pred:name> "My Man Godfrey" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Travis Banton" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: In the Bedroom