Question: Which movie is longer, The Three Musketeers (the one whose genre is musical film) or Forgetting Sarah Marshall?
Choices:
Pleasantville
Training Day
Curse of the Golden Flower
The Towering Inferno
Forgetting Sarah Marshall
The Fifth Element
The Three Musketeers
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Answer: Forgetting Sarah Marshall
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "musical film" .   } UNION { ?e <pred:name> "Forgetting Sarah Marshall" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: musical film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Forgetting Sarah Marshall
function: SelectBetween
dependencies: 3
4
inputs: duration
greater