Question: Which movie is longer, North or All the King's Men (the one that has Jean Louis as a costume designer)?
Choices:
The Fifth Element
North
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Pleasantville
All the King's Men
Rebecca
Program:
function: Find
inputs: North
function: Find
inputs: Jean Louis
function: Relate
dependencies: 1
inputs: costume designer
backward
function: Find
inputs: All the King's Men
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North" .  } UNION { ?e <pred:name> "All the King's Men" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Jean Louis" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: All the King's Men