Question: Which is longer, The World's Fastest Indian or Transformers: Revenge of the Fallen from Paramount Pictures?
Choices:
A Prairie Home Companion
Transformers: Revenge of the Fallen
Curse of the Golden Flower
Talk to Her
The Hunchback of Notre Dame
Rebecca
Training Day
The World's Fastest Indian
The Fifth Element
The Towering Inferno
Answer: Transformers: Revenge of the Fallen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The World's Fastest Indian" .  } UNION { ?e <pred:name> "Transformers: Revenge of the Fallen" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The World's Fastest Indian
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Transformers: Revenge of the Fallen
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater