Question: Is the run-time shorter on The Green Hornet, a Columbia Pictures production, or on Bewitched, a Metro-Goldwyn-Mayer production?
Choices:
Bewitched
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
Talk to Her
Training Day
Rebecca
The Fifth Element
A Prairie Home Companion
The Green Hornet
Program:
function: Find
inputs: Columbia Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Green Hornet
function: And
dependencies: 1
2
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Bewitched
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Green Hornet" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Columbia Pictures" .   } UNION { ?e <pred:name> "Bewitched" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Metro-Goldwyn-Mayer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bewitched