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