Question: Does Sarajevo (whose title is De Mayerling à Sarajevo) or Sweeney Todd: The Demon Barber of Fleet Street (whose production company is Paramount Pictures) have the shorter running time?
Choices:
Sarajevo
The Fifth Element
Rebecca
Talk to Her
Pleasantville
The Towering Inferno
Training Day
A Prairie Home Companion
Sweeney Todd: The Demon Barber of Fleet Street
The Hunchback of Notre Dame
Program:
function: Find
inputs: Sarajevo
function: FilterStr
dependencies: 0
inputs: title
De Mayerling à Sarajevo
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Sweeney Todd: The Demon Barber of Fleet Street
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sarajevo" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "De Mayerling à Sarajevo" . } UNION { ?e <pred:name> "Sweeney Todd: The Demon Barber of Fleet Street" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sarajevo