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