Question: Narrative location of The Shipping News, the distributor is Miramax, demonym is  Terre-Neuvienne what part applies for it?
Choices:
Lawrence County
British Columbia
feminine
Hamilton County
human
inhabitant
head
Rutherford County
Prince Edward Island
Spencer County
Answer: feminine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Shipping News" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "Miramax" .  ?e <demonym> ?pv . ?pv <pred:value> "Terre-Neuvienne" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Miramax
function: Relate
dependencies: 0
inputs: distributor
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: province of Canada
function: QueryAttrQualifier
dependencies: 5
inputs: demonym
Terre-Neuvienne
applies to part