Question: Which is longer, Sherlock Holmes published on 1932-01-01 or Gulliver's Travels produced by Paramount Pictures?
Choices:
Gulliver's Travels
Code Geass
Superman
Anastasia
My-HiME
Ponyo on the Cliff by the Sea
Sherlock Holmes
A Christmas Carol
The Polar Express
Magic Knight Rayearth
Answer: Gulliver's Travels
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sherlock Holmes" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1932-01-01"^^xsd:date . } UNION { ?e <pred:name> "Gulliver's Travels" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sherlock Holmes
function: FilterDate
dependencies: 0
inputs: publication date
1932-01-01
=
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Gulliver's Travels
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater