Question: To which part of Lyon does its demonym Lionès apply ?
Choices:
conductor
Melilla
19th arrondissement of Paris
McNairy County
Pangandaran
hairdresser
Cocke County
Metropolitan France
Northern Region
male
Answer: male
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Lyon" . ?e <demonym> ?pv . ?pv <pred:value> "Lionès" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Lyon
function: QueryAttrQualifier
dependencies: 0
inputs: demonym
Lionès
applies to part