Question: Which one, The Great Gatsby (the one whose producer is Adolph Zukor) or The Girl with the Dragon Tattoo (the one that was nominated for European Film Award for Best Actress), has greater duration?
Choices:
The Girl with the Dragon Tattoo
A Prairie Home Companion
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
The Great Gatsby
Training Day
Pleasantville
Curse of the Golden Flower
Program:
function: Find
inputs: Adolph Zukor
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 1
2
function: Find
inputs: European Film Award for Best Actress
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Girl with the Dragon Tattoo
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Great Gatsby" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Adolph Zukor" .   } UNION { ?e <pred:name> "The Girl with the Dragon Tattoo" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "European Film Award for Best Actress" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Girl with the Dragon Tattoo