Question: Does the longer run-time belong to Joan of Arc, produced by Walter Wanger, or November, originally in English?
Choices:
Rebecca
November
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Joan of Arc
The Fifth Element
Talk to Her
Training Day
Pleasantville
Program:
function: Find
inputs: Walter Wanger
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Joan of Arc
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: November
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joan of Arc" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Walter Wanger" .   } UNION { ?e <pred:name> "November" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Joan of Arc