Question: Does Julia (that was nominated for an Academy Award for Best Director) or Dumb and Dumber (whose narrative location is Aspen) have the longer running time?
Choices:
Dumb and Dumber
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
Training Day
A Prairie Home Companion
The Fifth Element
Julia
Talk to Her
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Julia
function: And
dependencies: 1
2
function: Find
inputs: Aspen
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julia" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Director" .   } UNION { ?e <pred:name> "Dumb and Dumber" . ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "Aspen" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Julia