Question: Which movie is longer, Big Fish or Final Destination (the one that mainly depicts death)?
Choices:
Big Fish
Talk to Her
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Training Day
Pleasantville
Final Destination
A Prairie Home Companion
Curse of the Golden Flower
Program:
function: Find
inputs: Big Fish
function: Find
inputs: death
function: Relate
dependencies: 1
inputs: main subject
backward
function: Find
inputs: Final Destination
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Big Fish" .  } UNION { ?e <pred:name> "Final Destination" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "death" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Big Fish