Question: What language is used by the ethnic group whose demonym is poloneză for females?
Choices:
Irish
German
Welsh
Scots
Turkish
Gujarati
Croatian
Indonesian
Polish
Tamil
Answer: Polish
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e_1 <languages_spoken,_written_or_signed> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "ethnic group" . ?e_1 <demonym> ?pv . ?pv <pred:value> "poloneză" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <sex_or_gender> ?qpv . ?qpv <pred:value> "feminine" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
poloneză
function: QFilterStr
dependencies: 1
inputs: sex or gender
feminine
function: FilterConcept
dependencies: 2
inputs: ethnic group
function: Relate
dependencies: 3
inputs: languages spoken, written or signed
forward
function: FilterConcept
dependencies: 4
inputs: language
function: What
dependencies: 5