Question: Which movie is shorter, Funny People or Domino (the one that has Jacqueline Bisset as a cast member)?
Choices:
Funny People
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Domino
Training Day
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: Funny People
function: Find
inputs: Jacqueline Bisset
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Domino
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Funny People" .  } UNION { ?e <pred:name> "Domino" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jacqueline Bisset" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Domino