Question: Is the run-time longer for Salvador, at 134 minutes, or Silent Hill, from Canada?
Choices:
Pleasantville
Salvador
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
Talk to Her
The Towering Inferno
A Prairie Home Companion
Silent Hill
The Fifth Element
Program:
function: Find
inputs: Salvador
function: FilterNum
dependencies: 0
inputs: duration
134 minute
=
function: Find
inputs: Canada
function: Relate
dependencies: 2
inputs: country of origin
backward
function: Find
inputs: Silent Hill
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salvador" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "134"^^xsd:double . } UNION { ?e <pred:name> "Silent Hill" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Salvador