Question: Which Italian region has campana as its feminine singular demonym?
Choices:
Sicily
Abruzzo
Piedmont
Veneto
Campania
Tuscany
Lombardy
Lazio
Sardinia
Umbria
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
campana
function: QFilterStr
dependencies: 1
inputs: applies to part
feminine singular
function: FilterConcept
dependencies: 2
inputs: region of Italy
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e <demonym> ?pv . ?pv <pred:value> "campana" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> "feminine singular" .  }
Answer: Campania