Question: Which movie is longer, David Copperfield (the one whose duration is 67 minute) or Father of the Bride Part II?
Choices:
The Towering Inferno
A Prairie Home Companion
Father of the Bride Part II
David Copperfield
Training Day
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Talk to Her
Pleasantville
Program:
function: Find
inputs: David Copperfield
function: FilterNum
dependencies: 0
inputs: duration
67 minute
=
function: Find
inputs: Father of the Bride Part II
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Copperfield" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "67"^^xsd:double . } UNION { ?e <pred:name> "Father of the Bride Part II" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Father of the Bride Part II