Question: To which part of the region of Italy whose ISO 3166-2 code is IT-77 does the demonym "lucani" apply?
Choices:
masculine plural
Stanley County
region of Italy
Sullivan County
health care
Martinique
physics
graduate student
Lincoln County
Bavaria
Answer: masculine plural
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "IT-77" . ?e <demonym> ?pv . ?pv <pred:value> "lucani" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
IT-77
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
lucani
applies to part