Question: Which has a lesser duration, Detective Conan: The Phantom of Baker Street or Bob Roberts (whose original language is English)?
Choices:
The Fifth Element
Pleasantville
Training Day
Rebecca
Talk to Her
Bob Roberts
Detective Conan: The Phantom of Baker Street
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Program:
function: Find
inputs: Detective Conan: The Phantom of Baker Street
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: original language of film or TV show
backward
function: Find
inputs: Bob Roberts
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Detective Conan: The Phantom of Baker Street" .  } UNION { ?e <pred:name> "Bob Roberts" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bob Roberts