Question: What is the gender of Hungarians, its demonym maghiar?
Choices:
35248165
0.8 percentage
feminine
4 year
female
male
2011
2249653
masculine
Duisburg
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Hungarians" . ?e <demonym> ?pv . ?pv <pred:value> "maghiar" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <sex_or_gender> ?qpv .  }
Program:
function: Find
inputs: Hungarians
function: QueryAttrQualifier
dependencies: 0
inputs: demonym
maghiar
sex or gender