Question: To which part of the geographic region that includes Puerto Rico (whose population is 3760866) does the demonym "Latinoamericana" apply?
Choices:
England
Ireland
hairdresser
Ciamis
feminine
Anderson County
British Columbia
professor
Quebec
world
Answer: feminine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Puerto Rico" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3760866"^^xsd:double . ?e <demonym> ?pv . ?pv <pred:value> "Latinoamericana" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Puerto Rico
function: FilterNum
dependencies: 0
inputs: population
3760866
=
function: Relate
dependencies: 1
inputs: has part
backward
function: FilterConcept
dependencies: 2
inputs: geographic region
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
Latinoamericana
applies to part