Question: Does the film San Francisco (whose production company is Metro-Goldwyn-Mayer) or Mansfield Park have the shorter running time?
Choices:
Pleasantville
Training Day
Rebecca
Talk to Her
San Francisco
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Mansfield Park
Answer: Mansfield Park
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Francisco" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "Mansfield Park" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: San Francisco
function: And
dependencies: 1
2
function: Find
inputs: Mansfield Park
function: SelectBetween
dependencies: 3
4
inputs: duration
less