Question: Which movie is shorter, November (the one whose title is November) or A Midsummer Night's Dream (the one whose production company is Warner Bros.)?
Choices: November
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Training Day
Pleasantville
The Towering Inferno
A Prairie Home Companion
Rebecca
A Midsummer Night's Dream
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "November" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "November" . } UNION { ?e <pred:name> "A Midsummer Night's Dream" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: November
function: FilterStr
dependencies: 0
inputs: title
November
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: A Midsummer Night's Dream
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: November