Question: Which movie is shorter, Bobby (produced by Anthony Hopkions or the silent film, The Lady?
Choices: Curse of the Golden Flower
Pleasantville
The Lady
Bobby
The Hunchback of Notre Dame
Training Day
Talk to Her
A Prairie Home Companion
The Towering Inferno
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bobby" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Anthony Hopkins" .   } UNION { ?e <pred:name> "The Lady" . ?e <genre> ?e_2 . ?e_2 <pred:name> "silent film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Anthony Hopkins
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: Bobby
function: And
dependencies: 1
2
function: Find
inputs: silent film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: The Lady
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Lady