Question: Does Alaska (that has Vincent Kartheiser as a cast member) or Doctor Zhivago (that received an Academy Award for Best Writing, Adapted Screenplay) have the shorter running time?
Choices:
Curse of the Golden Flower
The Fifth Element
Training Day
Rebecca
Doctor Zhivago
A Prairie Home Companion
Alaska
The Towering Inferno
Talk to Her
Pleasantville
Answer: Alaska
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alaska" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Vincent Kartheiser" .   } UNION { ?e <pred:name> "Doctor Zhivago" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Vincent Kartheiser
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alaska
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Doctor Zhivago
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less