Question: Is the running time longer for Death on the Nile, published 2004-01-01, or the biopic Wilson?
Choices:
Wilson
Pleasantville
Training Day
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
Death on the Nile
Rebecca
Answer: Wilson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Death on the Nile" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-01-01"^^xsd:date . } UNION { ?e <pred:name> "Wilson" . ?e <genre> ?e_1 . ?e_1 <pred:name> "biographical film" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Death on the Nile
function: FilterDate
dependencies: 0
inputs: publication date
2004-01-01
=
function: Find
inputs: biographical film
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: Wilson
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater