Question: Is the duration less for Walk Hard: The Dewey Cox Story or Emma (the one that has Toni Collette as a cast member)?
Choices:
Walk Hard: The Dewey Cox Story
Talk to Her
The Fifth Element
Rebecca
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Emma
Training Day
Pleasantville
Program:
function: Find
inputs: Walk Hard: The Dewey Cox Story
function: Find
inputs: Toni Collette
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Walk Hard: The Dewey Cox Story" .  } UNION { ?e <pred:name> "Emma" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Toni Collette" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Walk Hard: The Dewey Cox Story