Question: Is the run-time longer on the action movie The Chronicles of Narnia: The Voyage of the Dawn Treader or on Nuremberg, clocking in at 180 minutes?
Choices:
A Christmas Carol
The Chronicles of Narnia: The Voyage of the Dawn Treader
The Music Man
The Goodbye Girl
All Quiet on the Western Front
Shackleton
Nuremberg
The Late Shift
The Three Musketeers
A Streetcar Named Desire
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Chronicles of Narnia: The Voyage of the Dawn Treader
function: And
dependencies: 1
2
function: Find
inputs: Nuremberg
function: FilterNum
dependencies: 4
inputs: duration
180 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Chronicles of Narnia: The Voyage of the Dawn Treader" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" . } UNION { ?e <pred:name> "Nuremberg" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "180"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nuremberg