Question: Which movie is longer, The Man Who Knew Too Much (the one whose publication date is 1934-01-01) or Mutiny on the Bounty (the one whose director is Lewis Milestone)?
Choices:
The Man Who Knew Too Much
The Towering Inferno
The Fifth Element
Pleasantville
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
Mutiny on the Bounty
Training Day
Rebecca
Program:
function: Find
inputs: The Man Who Knew Too Much
function: FilterDate
dependencies: 0
inputs: publication date
1934-01-01
=
function: Find
inputs: Lewis Milestone
function: Relate
dependencies: 2
inputs: director
backward
function: Find
inputs: Mutiny on the Bounty
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Man Who Knew Too Much" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1934-01-01"^^xsd:date . } UNION { ?e <pred:name> "Mutiny on the Bounty" . ?e <director> ?e_1 . ?e_1 <pred:name> "Lewis Milestone" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mutiny on the Bounty