Question: Which movie is longer, Dead Ringers or The Hitchhiker's Guide to the Galaxy (with Ian McNeice)?
Choices:
Talk to Her
Curse of the Golden Flower
Dead Ringers
A Prairie Home Companion
The Fifth Element
The Hitchhiker's Guide to the Galaxy
Training Day
The Hunchback of Notre Dame
Rebecca
Pleasantville
Program:
function: Find
inputs: Dead Ringers
function: Find
inputs: Ian McNeice
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Hitchhiker's Guide to the Galaxy
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dead Ringers" .  } UNION { ?e <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ian McNeice" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dead Ringers