Question: Which movie has the longer runtime, Scary Movie or Kick-Ass (nominated for the MTV Movie Award for Best Breakthrough Performance)?
Choices:
The Hunchback of Notre Dame
Rebecca
Talk to Her
Pleasantville
The Fifth Element
Scary Movie
A Prairie Home Companion
Training Day
Curse of the Golden Flower
Kick-Ass
Answer: Kick-Ass
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scary Movie" .  } UNION { ?e <pred:name> "Kick-Ass" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Breakthrough Performance" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Scary Movie
function: Find
inputs: MTV Movie Award for Best Breakthrough Performance
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Kick-Ass
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater