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