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