Question: Which one is longer, Mission: Impossible II or Cedar Rapids (the one whose title is Cedar Rapids) ?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
Mission: Impossible II
The Towering Inferno
The Fifth Element
Training Day
Pleasantville
Rebecca
Cedar Rapids
A Prairie Home Companion
Program:
function: Find
inputs: Mission: Impossible II
function: Find
inputs: Cedar Rapids
function: FilterStr
dependencies: 1
inputs: title
Cedar Rapids
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mission: Impossible II" . } UNION { ?e <pred:name> "Cedar Rapids" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Cedar Rapids" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mission: Impossible II