Question: Which is shorter, The Goodbye Girl (with Ann Roth as costume designer) or Gentleman's Agreement?
Choices:
A Prairie Home Companion
Gentleman's Agreement
Rebecca
Talk to Her
Pleasantville
The Goodbye Girl
Training Day
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Program:
function: Find
inputs: Ann Roth
function: Relate
dependencies: 0
inputs: costume designer
backward
function: Find
inputs: The Goodbye Girl
function: And
dependencies: 1
2
function: Find
inputs: Gentleman's Agreement
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Goodbye Girl" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Ann Roth" .   } UNION { ?e <pred:name> "Gentleman's Agreement" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Goodbye Girl