Question: Which movie is longer, Saboteur or Brighton Rock (the one whose genre is film noir)?
Choices:
The Fifth Element
Rebecca
A Prairie Home Companion
Saboteur
The Towering Inferno
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
Talk to Her
Training Day
Answer: Saboteur
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saboteur" .  } UNION { ?e <pred:name> "Brighton Rock" . ?e <genre> ?e_1 . ?e_1 <pred:name> "film noir" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saboteur
function: Find
inputs: film noir
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Brighton Rock
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater