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