Question: What island is the narrative location of The Shipping News that received a National Book Award for Fiction?
Choices:
Newfoundland
Trinidad
Hawaii
Oahu
Saint John
Long Island
Guernsey
Cyprus
Ireland
Puerto Rico
Program:
function: Find
inputs: National Book Award for Fiction
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Shipping News
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: island
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Shipping News" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "National Book Award for Fiction" .   }
Answer: Newfoundland