Question: Which movie is longer, Million Dollar Baby (the one whose duration is 127 minute) or Into the West (the one whose official website is http://www.miramax.com/movie/into-the-west)?
Choices: The Fifth Element
Rebecca
The Towering Inferno
Million Dollar Baby
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Into the West
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Million Dollar Baby" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "127"^^xsd:double . } UNION { ?e <pred:name> "Into the West" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.miramax.com/movie/into-the-west" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Million Dollar Baby
function: FilterNum
dependencies: 0
inputs: duration
127 minute
=
function: Find
inputs: Into the West
function: FilterStr
dependencies: 2
inputs: official website
http://www.miramax.com/movie/into-the-west
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
Answer: Million Dollar Baby