Question: Which is longer, Seven Brides for Seven Brothers directed by Stanley Donen or She's Having a Baby?
Choices:
Talk to Her
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Rebecca
Pleasantville
Training Day
The Hunchback of Notre Dame
A Prairie Home Companion
She's Having a Baby
Answer: She's Having a Baby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seven Brides for Seven Brothers" . ?e <director> ?e_1 . ?e_1 <pred:name> "Stanley Donen" .   } UNION { ?e <pred:name> "She's Having a Baby" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Stanley Donen
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Seven Brides for Seven Brothers
function: And
dependencies: 1
2
function: Find
inputs: She's Having a Baby
function: SelectBetween
dependencies: 3
4
inputs: duration
greater