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