Question: To which past of a region of Italy, whose NUTS code is ITF5 since 1st July 2003, does the demonym lucani apply ?
Choices:
The Straits
governor
England
masculine plural
Plazas de soberanía
DeKalb County
Macon County
burial
Walton County
Chester County
Answer: masculine plural
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "ITF5" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> "2003-07-01"^^xsd:date . ?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: NUTS code
ITF5
function: QFilterDate
dependencies: 1
inputs: start time
2003-07-01
=
function: FilterConcept
dependencies: 2
inputs: region of Italy
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
lucani
applies to part