Question: Between The Wings of the Dove, with Isabelle Huppert as a cast member, or Thank You for Smoking, which is shorter?
Choices:
Curse of the Golden Flower
Training Day
Pleasantville
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Rebecca
The Wings of the Dove
The Fifth Element
Thank You for Smoking
Program:
function: Find
inputs: Isabelle Huppert
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Wings of the Dove
function: And
dependencies: 1
2
function: Find
inputs: Thank You for Smoking
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wings of the Dove" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Isabelle Huppert" .   } UNION { ?e <pred:name> "Thank You for Smoking" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Thank You for Smoking