Question: Is Wall Street, an Academy Award nominee for Best Actor, or Sophie's Choice the shorter of the two works?
Choices:
Rebecca
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
Sophie's Choice
Training Day
The Fifth Element
Wall Street
Curse of the Golden Flower
Answer: Wall Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wall Street" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actor" .   } UNION { ?e <pred:name> "Sophie's Choice" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Wall Street
function: And
dependencies: 1
2
function: Find
inputs: Sophie's Choice
function: SelectBetween
dependencies: 3
4
inputs: duration
less