Question: Which has a lesser duration, The World's Fastest Indian or The Proposition (which has John Hurt as a cast member)?
Choices:
Curse of the Golden Flower
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
The World's Fastest Indian
The Proposition
Training Day
Pleasantville
Program:
function: Find
inputs: The World's Fastest Indian
function: Find
inputs: John Hurt
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Proposition
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The World's Fastest Indian" .  } UNION { ?e <pred:name> "The Proposition" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Hurt" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Proposition