Question: To which part of the province of Canada that is the headquarters location of Ferret Music does the demonym 'Néo-Brunswickois' apply ?
Choices:
legislation
Ireland
masculine
The Straits
song
Magdalen Islands
Sukabumi
Wallis and Futuna
Bradley County
Degrassi, season 13
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Ferret Music" .  ?e <demonym> ?pv . ?pv <pred:value> "Néo-Brunswickois" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Ferret Music
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
Néo-Brunswickois
applies to part