Question: Which has a greater duration, Twister (whose official website is http://www.movies.warnerbros.com/twister) or Mr. Nobody?
Choices:
Training Day
Curse of the Golden Flower
Mr. Nobody
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
Talk to Her
The Towering Inferno
The Fifth Element
Rebecca
Answer: Mr. Nobody
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Twister" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.movies.warnerbros.com/twister" . } UNION { ?e <pred:name> "Mr. Nobody" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Twister
function: FilterStr
dependencies: 0
inputs: official website
http://www.movies.warnerbros.com/twister
function: Find
inputs: Mr. Nobody
function: SelectBetween
dependencies: 1
2
inputs: duration
greater