Question: Which movie is shorter, Made in Dagenham or Men in Black (the one that received Academy Award for Best Makeup and Hairstyling)?
Choices:
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Made in Dagenham
Men in Black
Training Day
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Answer: Men in Black
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Made in Dagenham" .  } UNION { ?e <pred:name> "Men in Black" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Makeup and Hairstyling" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Made in Dagenham
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: Men in Black
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less