Question: Which movie is longer: the Brothers Bloom or G.I. Joe: The Rise of Cobra?
Choices: Training Day
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
G.I. Joe: The Rise of Cobra
The Hunchback of Notre Dame
The Towering Inferno
The Brothers Bloom
The Fifth Element
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Brothers Bloom" . } UNION { ?e <pred:name> "G.I. Joe: The Rise of Cobra" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.gijoemovie.com" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Brothers Bloom
function: Find
inputs: G.I. Joe: The Rise of Cobra
function: FilterStr
dependencies: 1
inputs: official website
http://www.gijoemovie.com
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: G.I. Joe: The Rise of Cobra