Question: Which film has the lower running time, Elizabeth (nominated for the Academy Award for Best Production Design) or Z (a political thriller)?
Choices:
The Fifth Element
The Towering Inferno
Elizabeth
Pleasantville
Rebecca
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Answer: Elizabeth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elizabeth" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Production Design" .   } UNION { ?e <pred:name> "Z" . ?e <genre> ?e_2 . ?e_2 <pred:name> "political thriller" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Elizabeth
function: And
dependencies: 1
2
function: Find
inputs: political thriller
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Z
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less