Question: Which is longer: Catch Me If You Can, nominated for a National Society of Film Critics Award for Best Supporting Actor, or Legend (published in 2015)?
Choices:
A Prairie Home Companion
Pleasantville
Catch Me If You Can
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
Legend
Training Day
Curse of the Golden Flower
Program:
function: Find
inputs: National Society of Film Critics Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Catch Me If You Can
function: And
dependencies: 1
2
function: Find
inputs: Legend
function: FilterYear
dependencies: 4
inputs: publication date
2015
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Catch Me If You Can" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Society of Film Critics Award for Best Supporting Actor" . } UNION { ?e <pred:name> "Legend" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2015 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Catch Me If You Can