Question: Which movie is longer, This Means War or Unstoppable (the one whose production company is 20th Century Fox)?
Choices:
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
Unstoppable
The Hunchback of Notre Dame
The Fifth Element
Training Day
This Means War
Rebecca
The Towering Inferno
Answer: Unstoppable
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "This Means War" .  } UNION { ?e <pred:name> "Unstoppable" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: This Means War
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Unstoppable
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater