Question: Which movie is longer, Marie Antoinette (the one whose director is Sofia Coppola) or Lawrence of Arabia?
Choices:
Rebecca
Pleasantville
The Towering Inferno
Training Day
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Lawrence of Arabia
Program:
function: Find
inputs: Sofia Coppola
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Marie Antoinette
function: And
dependencies: 1
2
function: Find
inputs: Lawrence of Arabia
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marie Antoinette" . ?e <director> ?e_1 . ?e_1 <pred:name> "Sofia Coppola" .   } UNION { ?e <pred:name> "Lawrence of Arabia" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lawrence of Arabia