Question: To which part of Japan does its demonym 'Japonais' apply ?
Choices:
Gogebic County
Benton County
9th arrondissement of Lyon
Maskulin
7th arrondissement of Paris
Greene County
Lincoln County
masculine personal
masculine
Bouvet Island
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Japan" . ?e <demonym> ?pv . ?pv <pred:value> "Japonais" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Japan
function: QueryAttrQualifier
dependencies: 0
inputs: demonym
Japonais
applies to part