Question: Which movie is longer, The Verdict (the one that mainly depicts alcoholism) or Total Recall (the one whose release region is Germany)?
Choices:
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
The Verdict
A Prairie Home Companion
Total Recall
Talk to Her
Training Day
Pleasantville
Answer: The Verdict
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Verdict" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "alcoholism" .   } UNION { ?e <pred:name> "Total Recall" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Germany" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: alcoholism
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The Verdict
function: And
dependencies: 1
2
function: Find
inputs: Germany
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Total Recall
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater