Question: Which is longer, The Proposition with Robert Loggia or Wonder Boys?
Choices:
Training Day
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
The Proposition
A Prairie Home Companion
Rebecca
Wonder Boys
Talk to Her
Program:
function: Find
inputs: Robert Loggia
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Proposition
function: And
dependencies: 1
2
function: Find
inputs: Wonder Boys
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Proposition" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Loggia" .   } UNION { ?e <pred:name> "Wonder Boys" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Proposition