Question: Which is longer: the Casablanca that won an Academy Award for Best Writing, Adapted Screenplay, or Tabu, with a run-time of 111 minutes?
Choices: The Towering Inferno
Casablanca
Tabu
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
A Prairie Home Companion
Rebecca
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Casablanca" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . } UNION { ?e <pred:name> "Tabu" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "111"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Casablanca
function: And
dependencies: 1
2
function: Find
inputs: Tabu
function: FilterNum
dependencies: 4
inputs: duration
111 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Tabu