Question: Does Ithaca (whose date is 2015) or Goodfellas have the longer runtime?
Choices:
Goodfellas
Training Day
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Ithaca
Rebecca
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: Ithaca
function: FilterYear
dependencies: 0
inputs: publication date
2015
=
function: Find
inputs: Goodfellas
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ithaca" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2015 . } UNION { ?e <pred:name> "Goodfellas" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Goodfellas