Question: Which movie is longer, Dressed to Kill (the one whose publication date is 1946-01-01) or Unknown (the one that is shot in Germany)?
Choices:
A Prairie Home Companion
Unknown
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
Training Day
Dressed to Kill
The Towering Inferno
Curse of the Golden Flower
Rebecca
Program:
function: Find
inputs: Dressed to Kill
function: FilterDate
dependencies: 0
inputs: publication date
1946-01-01
=
function: Find
inputs: Germany
function: Relate
dependencies: 2
inputs: filming location
backward
function: Find
inputs: Unknown
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dressed to Kill" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1946-01-01"^^xsd:date . } UNION { ?e <pred:name> "Unknown" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Germany" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Unknown