Question: Which has less duration, Luther (whose publication date is 1973-01-01) or Flight (whose release region is Germany)?
Choices:
Talk to Her
Luther
A Prairie Home Companion
The Fifth Element
Flight
Training Day
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: Luther
function: FilterDate
dependencies: 0
inputs: publication date
1973-01-01
=
function: Find
inputs: Germany
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Flight
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luther" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1973-01-01"^^xsd:date . } UNION { ?e <pred:name> "Flight" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Germany" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Luther