Question: Is the shorter work Dutch, with JoBeth Williams as a cast member, or Heaven Can Wait, set in NYC?
Choices:
Pleasantville
Talk to Her
Rebecca
Training Day
The Towering Inferno
Heaven Can Wait
The Hunchback of Notre Dame
Dutch
The Fifth Element
Curse of the Golden Flower
Answer: Dutch
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dutch" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "JoBeth Williams" .   } UNION { ?e <pred:name> "Heaven Can Wait" . ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "New York City" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: JoBeth Williams
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dutch
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: Heaven Can Wait
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less