Question: Which movie is longer, Legend (the one whose official website is http://www.legend-the-movie.com) or Cats & Dogs?
Choices: Cats & Dogs
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
Pleasantville
Training Day
The Towering Inferno
Legend
Rebecca
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Legend" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.legend-the-movie.com" . } UNION { ?e <pred:name> "Cats & Dogs" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Legend
function: FilterStr
dependencies: 0
inputs: official website
http://www.legend-the-movie.com
function: Find
inputs: Cats & Dogs
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: Legend