Question: Tell me the geographic region that has the province of Canada in it that has Newfoundland in it.
Choices:
Pacific Ocean
Piedmont
Tyrol
Central Alberta
Rocky Mountains
Lake District
Africa
Atlantic Canada
Antarctica
Transylvania
Program:
function: Find
inputs: Newfoundland
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: Relate
dependencies: 2
inputs: has part
backward
function: FilterConcept
dependencies: 3
inputs: geographic region
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <has_part> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "province of Canada" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Newfoundland" .   }
Answer: Atlantic Canada