Question: Is the longer work Brideshead Revisited, released on 2008-07-25, or Guys and Dolls, set in New York City?
Choices: Guys and Dolls
Training Day
The Hunchback of Notre Dame
Brideshead Revisited
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Talk to Her
Pleasantville
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brideshead Revisited" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-07-25"^^xsd:date . } UNION { ?e <pred:name> "Guys and Dolls" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "New York City" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Brideshead Revisited
function: FilterDate
dependencies: 0
inputs: publication date
2008-07-25
=
function: Find
inputs: New York City
function: Relate
dependencies: 2
inputs: narrative location
backward
function: Find
inputs: Guys and Dolls
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Guys and Dolls