Question: Does My Big Fat Greek Wedding or Logan (whose release date is in 2017) have the longer runtime?
Choices:
Rebecca
The Fifth Element
A Prairie Home Companion
My Big Fat Greek Wedding
The Hunchback of Notre Dame
Training Day
The Towering Inferno
Talk to Her
Pleasantville
Logan
Answer: Logan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "My Big Fat Greek Wedding" . } UNION { ?e <pred:name> "Logan" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2017 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: My Big Fat Greek Wedding
function: Find
inputs: Logan
function: FilterYear
dependencies: 1
inputs: publication date
2017
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater