Question: Which is longer, Cookie's Fortune or State of Play starring Viola Davis?
Choices:
The Towering Inferno
The Fifth Element
Training Day
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
State of Play
Cookie's Fortune
Pleasantville
Talk to Her
Program:
function: Find
inputs: Cookie's Fortune
function: Find
inputs: Viola Davis
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: State of Play
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cookie's Fortune" .  } UNION { ?e <pred:name> "State of Play" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Viola Davis" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: State of Play