Question: Which one, Annie (the one whose cost is 65000000 United States dollar) or The Dark Knight (the one whose official website is https://www.warnerbros.com/dark-knight), has greater duration?
Choices:
Talk to Her
The Fifth Element
Rebecca
The Dark Knight
Pleasantville
A Prairie Home Companion
Annie
The Towering Inferno
Training Day
The Hunchback of Notre Dame
Answer: The Dark Knight
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Annie" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "65000000"^^xsd:double . } UNION { ?e <pred:name> "The Dark Knight" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "https://www.warnerbros.com/dark-knight" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Annie
function: FilterNum
dependencies: 0
inputs: cost
65000000 United States dollar
=
function: Find
inputs: The Dark Knight
function: FilterStr
dependencies: 2
inputs: official website
https://www.warnerbros.com/dark-knight
function: SelectBetween
dependencies: 1
3
inputs: duration
greater