Question: Which republic has the feminine plural demonym 'sierraleonesi'?
Choices:
India
Namibia
Sierra Leone
Zimbabwe
Italy
Belarus
Germany
Zambia
Mozambique
Colombia
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
sierraleonesi
function: QFilterStr
dependencies: 1
inputs: applies to part
feminine plural
function: FilterConcept
dependencies: 2
inputs: republic
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e <demonym> ?pv . ?pv <pred:value> "sierraleonesi" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> "feminine plural" .  }
Answer: Sierra Leone