Question: For Munich  the capital of Bavaria, demonym is Münchnerin and to which part it applies?
Choices:
Pickett County
feminine singular
American Samoa
14th arrondissement of Paris
White County
Marion County
Sint Maarten
Depok
labour
adjective
Answer: feminine singular
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Munich" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Bavaria" .  ?e <demonym> ?pv . ?pv <pred:value> "Münchnerin" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Bavaria
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Munich
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
Münchnerin
applies to part