Question: Between the 99-minute version of Cheyenne and Pride & Prejudice, which one of them is longer?
Choices:
Pride & Prejudice
Talk to Her
Training Day
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
Pleasantville
Cheyenne
Program:
function: Find
inputs: Cheyenne
function: FilterNum
dependencies: 0
inputs: duration
99 minute
=
function: Find
inputs: Pride & Prejudice
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cheyenne" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "99"^^xsd:double . } UNION { ?e <pred:name> "Pride & Prejudice" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pride & Prejudice