Question: Does the Warner Bros. production of Carson City or teen movie Gladiator have a shorter run-time?
Choices:
The Towering Inferno
The Fifth Element
Carson City
A Prairie Home Companion
The Hunchback of Notre Dame
Rebecca
Talk to Her
Gladiator
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Carson City
function: And
dependencies: 1
2
function: Find
inputs: teen film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Gladiator
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carson City" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Gladiator" . ?e <genre> ?e_2 . ?e_2 <pred:name> "teen film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gladiator