Question: Which gender is the demonym косовар that applies to the state with ISO 3166-1 alpha-2 code XK?
Choices:
male
female
masculine
1.3611
Kingdom of Prussia
173 degree Fahrenheit
67 years old
19 volume percent
382480
feminine
Answer: male
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <ISO_3166-1_alpha-2_code> ?pv_1 . ?pv_1 <pred:value> "XK" . ?e <demonym> ?pv . ?pv <pred:value> "косовар" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <sex_or_gender> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-1 alpha-2 code
XK
function: FilterConcept
dependencies: 1
inputs: state
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
косовар
sex or gender