Question: The demonym Québécois corresponds to which Canadian province with the native label Québec?
Choices:
national personification
choir
list of countries where Russian is an official language
Caribbean Netherlands
Never Knew I Needed
Kivalliq Region
male
4th arrondissement of Lyon
apogee
book
Answer: male
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Québec" . ?e <demonym> ?pv . ?pv <pred:value> "Québécois" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Québec
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
Québécois
applies to part