Question: To which part of Madrid does the demonym "madrilanu" apply?
Choices:
Labrador
full-time
Northern Mariana Islands
Davidson County
plural
Degrassi, season 10
mathematics
health care
masculine singular
Macon County
Answer: masculine singular
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Madrid" . ?e <demonym> ?pv . ?pv <pred:value> "madrilanu" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Madrid
function: QueryAttrQualifier
dependencies: 0
inputs: demonym
madrilanu
applies to part