Question: What is the ISO 3166-2 code for region of Italy whose NUTS code is IT8 until the ending date 2003-06-30?
Choices: US-LA
ID-JI
CH-TI
IT-72
IN-GA
KR-27
GB-BMH
ZA-WC
JP-20
IT-45
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "IT8" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv_1 ] <end_time> ?qpv . ?qpv <pred:date> "2003-06-30"^^xsd:date . ?e <ISO_3166-2_code> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: NUTS code
IT8
function: QFilterDate
dependencies: 1
inputs: end time
2003-06-30
=
function: FilterConcept
dependencies: 2
inputs: region of Italy
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code
Answer: IT-72