Question: Which was shorter, Pittsburgh with John Wayne in the cast, or Jane Eyre, originating in France?
Choices: Jane Eyre
Rebecca
Training Day
Pleasantville
Talk to Her
The Fifth Element
Pittsburgh
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pittsburgh" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Wayne" .   } UNION { ?e <pred:name> "Jane Eyre" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "France" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: John Wayne
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Pittsburgh
function: And
dependencies: 1
2
function: Find
inputs: France
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Pittsburgh