Question: To which part of Toulouse does the demonym "Toulousain" apply?
Choices:
Golden Valley County
Hickman County
European Union
Gothenburg Municipality
masculine
Azores
direct-controlled municipality
Staffanstorp Municipality
extended version
Metropolitan France
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Toulouse" . ?e <demonym> ?pv . ?pv <pred:value> "Toulousain" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Toulouse
function: QueryAttrQualifier
dependencies: 0
inputs: demonym
Toulousain
applies to part