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