Question: Does The Master (whose genre is action film) or Indiana Jones and the Temple of Doom (whose genre is action film) have the shorter length?
Choices: The Towering Inferno
The Fifth Element
The Master
Training Day
Talk to Her
Rebecca
Indiana Jones and the Temple of Doom
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Master" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } UNION { ?e <pred:name> "Indiana Jones and the Temple of Doom" . ?e <genre> ?e_2 . ?e_2 <pred:name> "action film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Master
function: And
dependencies: 1
2
function: Find
inputs: action film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Indiana Jones and the Temple of Doom
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Master