Question: Which sovereign state has the demonym of румын (the involved part of this statement is masculine)?
Choices: Romania
Switzerland
Samoa
Socialist Federal Republic of Yugoslavia
Guinea
Russian Soviet Federative Socialist Republic
Cambodia
Weimar Republic
Haiti
Kiribati
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <demonym> ?pv . ?pv <pred:value> "румын" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> "masculine" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
румын
function: QFilterStr
dependencies: 1
inputs: applies to part
masculine
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: What
dependencies: 3
Answer: Romania