Question: Does drama film Ned Kelly or the 20th Century Fox production of Alice in Wonderland have a longer running time?
Choices:
A Prairie Home Companion
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Ned Kelly
Training Day
Curse of the Golden Flower
Pleasantville
Rebecca
Alice in Wonderland
Answer: Ned Kelly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ned Kelly" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "20th Century Fox" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Ned Kelly
function: And
dependencies: 1
2
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater