Question: Which is shorter, Standing in the Shadows of Motown or comedy-drama The Goodbye Girl?
Choices: Training Day
Talk to Her
Rebecca
The Hunchback of Notre Dame
The Goodbye Girl
The Towering Inferno
A Prairie Home Companion
Pleasantville
The Fifth Element
Standing in the Shadows of Motown
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Standing in the Shadows of Motown" .  } UNION { ?e <pred:name> "The Goodbye Girl" . ?e <genre> ?e_1 . ?e_1 <pred:name> "comedy-drama" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Standing in the Shadows of Motown
function: Find
inputs: comedy-drama
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: The Goodbye Girl
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: The Goodbye Girl