Question: To which part of a unitary state, the country of Russians (9,500 of them) does a demonym of bulgara apply ?
Choices:
Porter County
research fellow
lowest point
American Samoa
DeKalb County
feminine singular
singing
tourism
Yukon
Administration and Service Personnel
Answer: feminine singular
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e_1 <country> ?e . ?e_1 <pred:name> "Russians" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <population> ?qpv_1 . ?qpv_1 <pred:unit> "1" . ?qpv_1 <pred:value> "9500"^^xsd:double . ?e <demonym> ?pv . ?pv <pred:value> "bulgara" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Russians
function: Relate
dependencies: 0
inputs: country
forward
function: QFilterNum
dependencies: 1
inputs: population
9500
=
function: FilterConcept
dependencies: 2
inputs: unitary state
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
bulgara
applies to part