Question: What is the gender of the citizens called the Maghiar people belonging to the ethnic group that has an ethnic affiliate named Michael Curtiz?
Choices:
masculine
2024-01-01
9904200000 United States dollar
1221
male
female
81017
DD 8480
42 percentage
feminine
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic group" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> "Michael Curtiz" .  ?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: Michael Curtiz
function: Relate
dependencies: 0
inputs: ethnic group
forward
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
maghiar
sex or gender