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