Question: Which is shorter, Harry Potter and the Order of the Phoenix produced by Warner Bros. or Mars Attacks! ?
Choices:
Rebecca
Harry Potter and the Order of the Phoenix
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Mars Attacks!
Talk to Her
Pleasantville
The Towering Inferno
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Harry Potter and the Order of the Phoenix
function: And
dependencies: 1
2
function: Find
inputs: Mars Attacks!
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harry Potter and the Order of the Phoenix" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Mars Attacks!" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mars Attacks!