Question: Which movie is longer, The Bad and the Beautiful or Breakfast at Tiffany's (the one whose script is wrote by Truman Capote)?
Choices:
Pleasantville
Talk to Her
Breakfast at Tiffany's
Rebecca
The Towering Inferno
A Prairie Home Companion
Training Day
The Bad and the Beautiful
Curse of the Golden Flower
The Hunchback of Notre Dame
Program:
function: Find
inputs: The Bad and the Beautiful
function: Find
inputs: Truman Capote
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: Breakfast at Tiffany's
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bad and the Beautiful" .  } UNION { ?e <pred:name> "Breakfast at Tiffany's" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Truman Capote" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Bad and the Beautiful