Question: Which movie is longer, Tango & Cash or The Hunchback of Notre Dame (the one whose video is The Hunchback of Notre Dame 1923.webm)?
Choices:
A Prairie Home Companion
Little Women
The Hunchback of Notre Dame
Hamlet
Pleasantville
Tango & Cash
Rebecca
Earth
The Last of the Mohicans
Paris
Program:
function: Find
inputs: Tango & Cash
function: Find
inputs: The Hunchback of Notre Dame
function: FilterStr
dependencies: 1
inputs: video
The Hunchback of Notre Dame 1923.webm
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tango & Cash" . } UNION { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <video> ?pv_1 . ?pv_1 <pred:value> "The Hunchback of Notre Dame 1923.webm" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Hunchback of Notre Dame