Question: Which is longer, Wanted published on 2009-01-01 or Harlow whose director of photography is Joseph Ruttenberg?
Choices: A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Wanted
Training Day
Harlow
Rebecca
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wanted" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-01-01"^^xsd:date . } UNION { ?e <pred:name> "Harlow" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Joseph Ruttenberg" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wanted
function: FilterDate
dependencies: 0
inputs: publication date
2009-01-01
=
function: Find
inputs: Joseph Ruttenberg
function: Relate
dependencies: 2
inputs: director of photography
backward
function: Find
inputs: Harlow
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Wanted