Question: Which award was "Hamlet," with an exploitation visa number of 92192, and "Hairspray," which was nomiated for Satellite Award for Best Costume Design, both nominated for?
Choices:
Academy Award for Best Writing, Adapted Screenplay
Royal Victorian Chain
Golden Globe Award for Best Animated Feature Film
Genie Award for Best Achievement in Editing
Academy Award for Best Production Design
Independent Spirit Award for Best Female Lead
Grammy Award for Best Metal Performance
Academy Award for Best Costume Design
Satellite Award for Best Cinematography
Satellite Award for Best Costume Design
Program:
function: Find
inputs: Hamlet
function: FilterStr
dependencies: 0
inputs: exploitation visa number
92192
function: Relate
dependencies: 1
inputs: nominated for
forward
function: FilterConcept
dependencies: 2
inputs: award
function: Find
inputs: Satellite Award for Best Costume Design
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Hairspray
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: nominated for
forward
function: FilterConcept
dependencies: 8
inputs: award
function: And
dependencies: 3
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Hamlet" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> "92192" .  ?e_2 <nominated_for> ?e . ?e_2 <pred:name> "Hairspray" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> "Satellite Award for Best Costume Design" .  }
Answer: Satellite Award for Best Costume Design