Question: Which film has the longer runtime, Austin Powers in Goldmember or The Mummy (with Peter Cushing as a cast member)?
Choices:
A Prairie Home Companion
Rebecca
Austin Powers in Goldmember
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
The Mummy
Talk to Her
Curse of the Golden Flower
Training Day
Answer: Austin Powers in Goldmember
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Austin Powers in Goldmember" .  } UNION { ?e <pred:name> "The Mummy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Cushing" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Austin Powers in Goldmember
function: Find
inputs: Peter Cushing
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Mummy
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater