Question: Which is longer, The Alamo, directed by John Wayne, or Step Brothers?
Choices:
The Towering Inferno
Pleasantville
Rebecca
Step Brothers
Talk to Her
The Hunchback of Notre Dame
The Fifth Element
The Alamo
A Prairie Home Companion
Curse of the Golden Flower
Answer: The Alamo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Step Brothers" .  } UNION { ?e <pred:name> "The Alamo" . ?e <director> ?e_1 . ?e_1 <pred:name> "John Wayne" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Step Brothers
function: Find
inputs: John Wayne
function: Relate
dependencies: 1
inputs: director
backward
function: Find
inputs: The Alamo
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater