Question: Which part of a republic which is the country of Russians (784,000 of them) does a demonym bielorusso apply to ?
Choices:
Hardeman County
tourism
Bowman County
Alt-Berlin
masculine singular
Sint Maarten
exhibition area
antique
Perry County
Ireland
Answer: masculine singular
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?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> "784000"^^xsd:double . ?e <demonym> ?pv . ?pv <pred:value> "bielorusso" . [ <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
784000
=
function: FilterConcept
dependencies: 2
inputs: republic
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
bielorusso
applies to part