Question: Does Get Carter (whose length is 107 minutes) or Sarajevo (whose color is black-and-white) has the longer runtime?
Choices:
Talk to Her
Get Carter
Sarajevo
The Fifth Element
Pleasantville
Rebecca
A Prairie Home Companion
The Towering Inferno
Training Day
The Hunchback of Notre Dame
Answer: Get Carter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Get Carter" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "107"^^xsd:double . } UNION { ?e <pred:name> "Sarajevo" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Get Carter
function: FilterNum
dependencies: 0
inputs: duration
107 minute
=
function: Find
inputs: black-and-white
function: Relate
dependencies: 2
inputs: color
backward
function: Find
inputs: Sarajevo
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater