Question: What part of the province of Canada having the capital of Winnipeg has the demonym of Manitobain?
Choices:
diplomatic recognition
Northern Region
masculine
building
Dyer County
Fayette County
Rhea County
given name
Herzegovina
groin
Program:
function: Find
inputs: Winnipeg
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
Manitobain
applies to part
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Winnipeg" .  ?e <demonym> ?pv . ?pv <pred:value> "Manitobain" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Answer: masculine