Question: Does Carrie, directed by William Wyler, or The Stepford Wives, filmed in New York City, have the shorter run-time?
Choices:
Talk to Her
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
The Stepford Wives
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Training Day
Carrie
Answer: The Stepford Wives
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carrie" . ?e <director> ?e_1 . ?e_1 <pred:name> "William Wyler" .   } UNION { ?e <pred:name> "The Stepford Wives" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "New York City" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: William Wyler
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less