Question: Which island is The Shipping News novel's story set on?
Choices:
Hawaii
Bali
Newfoundland
Maui
Tasmania
Ireland
Puerto Rico
Trinidad
Long Island
Cyprus
Answer: Newfoundland
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 <genre> ?e_2 . ?e_2 <pred:name> "novel" .   }
Program:
function: Find
inputs: novel
function: Relate
dependencies: 0
inputs: genre
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