Question: Does the work titled Honolulu or Sherlock Holmes, composed by Hugo Friedhofer, have the longer run-time?
Choices:
The Hunchback of Notre Dame
Training Day
The Towering Inferno
Honolulu
Rebecca
Sherlock Holmes
The Fifth Element
Talk to Her
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: Honolulu
function: FilterStr
dependencies: 0
inputs: title
Honolulu
function: Find
inputs: Hugo Friedhofer
function: Relate
dependencies: 2
inputs: composer
backward
function: Find
inputs: Sherlock Holmes
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honolulu" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Honolulu" . } UNION { ?e <pred:name> "Sherlock Holmes" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Hugo Friedhofer" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Honolulu