Question: For the unitary state that has a population of exactly 8012946 and the demonym is bulgăroaică which part does it apply to?
Choices:
song
Kettwig
Europe
Alaska
Vanderburgh County
Lincoln County
sea
6th arrondissement of Paris
feminine
Australia
Answer: feminine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "8012946"^^xsd:double . ?e <demonym> ?pv . ?pv <pred:value> "bulgăroaică" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
8012946
=
function: FilterConcept
dependencies: 1
inputs: unitary state
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
bulgăroaică
applies to part