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