Question: For the sovereign state whose native label is Российская империя, to which part it applies its demonym is ruso?
Choices:
Knox County
masculine
Republic of Crimea
United States Virgin Islands
United States of America
Guam
Fentress County
plural
Bradley County
direct-controlled municipality
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Российская империя" . ?e <demonym> ?pv . ?pv <pred:value> "ruso" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Российская империя
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
ruso
applies to part