Question: Which is longer, A Man for All Seasons starring Charlton Heston or Striptease?
Choices:
Shackleton
A Streetcar Named Desire
The Late Shift
All Quiet on the Western Front
A Man for All Seasons
The Music Man
Striptease
The Goodbye Girl
A Christmas Carol
The Challenge
Program:
function: Find
inputs: Charlton Heston
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 1
2
function: Find
inputs: Striptease
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Man for All Seasons" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Charlton Heston" .   } UNION { ?e <pred:name> "Striptease" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Man for All Seasons