Question: Regarding the democracy that is from the country Malawi and that has a demonym מלאווי tell me which part it applies to.
Choices:
masculine
Bouvet Island
Bandung Barat
'Asir Region
Humphreys County
Bavaria
Jefferson County
tourism
Holmes County
Pelagie Islands
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <country> ?e_1 . ?e_1 <pred:name> "Malawi" .  ?e <demonym> ?pv . ?pv <pred:value> "מלאווי" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Malawi
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
מלאווי
applies to part