Question: Does Michael Collins, with Aidan Quinn as a cast member, or Bird have the longer run-time?
Choices:
Training Day
Talk to Her
Rebecca
Pleasantville
Bird
Michael Collins
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: Aidan Quinn
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Michael Collins
function: And
dependencies: 1
2
function: Find
inputs: Bird
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael Collins" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Aidan Quinn" .   } UNION { ?e <pred:name> "Bird" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bird