Question: What part does Lyon which has Lyonnaise as its demonym apply to
Choices:
plural
European Netherlands
Weakley County
16th arrondissement of Paris
female
public transport
Crockett County
Bekasi
book
Gogebic County
Answer: female
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Lyon" . ?e <demonym> ?pv . ?pv <pred:value> "Lyonnaise" . [ <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
Lyonnaise
applies to part