Question: Is the run-time longer on Restless, published on 2011-01-01, or on About a Boy, Academy Award nominee for Best Writing, Adapted Screenplay?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
The Towering Inferno
Training Day
The Fifth Element
Talk to Her
Curse of the Golden Flower
Rebecca
About a Boy
Answer: About a Boy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Restless" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2011-01-01"^^xsd:date . } UNION { ?e <pred:name> "About a Boy" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Restless
function: FilterDate
dependencies: 0
inputs: publication date
2011-01-01
=
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: About a Boy
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater