Question: Which movie is shorter, Ip Man (the one that received Hong Kong Film Award for Best Film) or Along Came Polly?
Choices:
The Fifth Element
Pleasantville
A Prairie Home Companion
Ip Man
Training Day
The Hunchback of Notre Dame
Along Came Polly
Talk to Her
Rebecca
Curse of the Golden Flower
Answer: Along Came Polly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ip Man" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Hong Kong Film Award for Best Film" .   } UNION { ?e <pred:name> "Along Came Polly" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hong Kong Film Award for Best Film
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Ip Man
function: And
dependencies: 1
2
function: Find
inputs: Along Came Polly
function: SelectBetween
dependencies: 3
4
inputs: duration
less