Question: Which is longer, the Hindi-language version of Taxi Driver or The Poseidon Adventure featuring Gene Hackman?
Choices:
The Hunchback of Notre Dame
Taxi Driver
The Towering Inferno
A Prairie Home Companion
Talk to Her
Pleasantville
Training Day
The Fifth Element
Rebecca
Curse of the Golden Flower
Answer: Taxi Driver
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taxi Driver" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Hindi" .   } UNION { ?e <pred:name> "The Poseidon Adventure" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Gene Hackman" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hindi
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Taxi Driver
function: And
dependencies: 1
2
function: Find
inputs: Gene Hackman
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Poseidon Adventure
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater