Question: Which one has higher duration between 8 Women and Oliver Twist (whose film poster is Oliver-twist-1922.jpg)?
Choices:
Pleasantville
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
8 Women
Oliver Twist
Training Day
The Towering Inferno
Rebecca
Answer: 8 Women
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "8 Women" . } UNION { ?e <pred:name> "Oliver Twist" . ?e <film_poster> ?pv_1 . ?pv_1 <pred:value> "Oliver-twist-1922.jpg" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 8 Women
function: Find
inputs: Oliver Twist
function: FilterStr
dependencies: 1
inputs: film poster
Oliver-twist-1922.jpg
function: SelectBetween
dependencies: 0
2
inputs: duration
greater