Question: Which one is longer, A Bridge Too Far or Emma (the one that has Sophie Thompson as a cast member) ?
Choices:
A Prairie Home Companion
A Bridge Too Far
Emma
The Hunchback of Notre Dame
Curse of the Golden Flower
Training Day
The Fifth Element
The Towering Inferno
Rebecca
Pleasantville
Program:
function: Find
inputs: A Bridge Too Far
function: Find
inputs: Sophie Thompson
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Bridge Too Far" .  } UNION { ?e <pred:name> "Emma" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sophie Thompson" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Bridge Too Far