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