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