Question: Which is shorter, Savages released in the Netherlands or A Christmas Carol published on 2009-11-03?
Choices:
Magic Knight Rayearth
Ponyo on the Cliff by the Sea
Anastasia
Naruto Shippuden the Movie: Bonds
Savages
The Polar Express
Superman
Code Geass
Wonder Woman
A Christmas Carol
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Savages
function: And
dependencies: 1
2
function: Find
inputs: A Christmas Carol
function: FilterDate
dependencies: 4
inputs: publication date
2009-11-03
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savages" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Netherlands" . } UNION { ?e <pred:name> "A Christmas Carol" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-11-03"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Christmas Carol