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