Question: Which movie is longer, Planet of the Apes (the one whose title is Planet of the Apes) or The People vs. Larry Flynt?
Choices: Pleasantville
The Hunchback of Notre Dame
Planet of the Apes
Training Day
Rebecca
The Fifth Element
Talk to Her
Curse of the Golden Flower
The People vs. Larry Flynt
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Planet of the Apes" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Planet of the Apes" . } UNION { ?e <pred:name> "The People vs. Larry Flynt" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Planet of the Apes
function: FilterStr
dependencies: 0
inputs: title
Planet of the Apes
function: Find
inputs: The People vs. Larry Flynt
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: The People vs. Larry Flynt