Question: Which movie is longer, The Three Musketeers (the one whose genre is musical film) or An Alan Smithee Film: Burn Hollywood Burn?
Choices:
Talk to Her
A Prairie Home Companion
Training Day
Curse of the Golden Flower
The Three Musketeers
An Alan Smithee Film: Burn Hollywood Burn
Rebecca
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Answer: An Alan Smithee Film: Burn Hollywood Burn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "musical film" .   } UNION { ?e <pred:name> "An Alan Smithee Film: Burn Hollywood Burn" .  } ?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: An Alan Smithee Film: Burn Hollywood Burn
function: SelectBetween
dependencies: 3
4
inputs: duration
greater