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