Question: Which movie is shorter, Speed (the one that received Academy Award for Best Sound Mixing) or Star Wars: The Clone Wars (the one whose production company is Warner Bros.)?
Choices:
Code Geass
Star Wars: The Clone Wars
A Christmas Carol
Anastasia
My-HiME
The Polar Express
Superman
Wonder Woman
Ponyo on the Cliff by the Sea
Magic Knight Rayearth
Answer: Star Wars: The Clone Wars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Speed" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Sound Mixing" .   } UNION { ?e <pred:name> "Star Wars: The Clone Wars" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Warner Bros." .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Sound Mixing
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Speed
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Star Wars: The Clone Wars
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less