Question: Which one has more running time between Bolero (the one made in black-and-white) and Weeds (the one released in 1987-01-01)?
Choices:
Training Day
Pleasantville
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Weeds
Curse of the Golden Flower
Talk to Her
Bolero
A Prairie Home Companion
Answer: Weeds
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bolero" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" . } UNION { ?e <pred:name> "Weeds" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1987-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Bolero
function: And
dependencies: 1
2
function: Find
inputs: Weeds
function: FilterDate
dependencies: 4
inputs: publication date
1987-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater