Question: What first-level administrative country subdivision's capital is the city that is the twinned administrative body of Cuba (whose marriageable age is 18 years old) starting in the year 1999?
Choices:
Podlaskie Voivodeship
Lublin Voivodeship
Santa Fe Province
Punjab
Greater Poland Voivodeship
England
Chiapas
Selangor
Upper Austria
Perak
Program:
function: Find
inputs: Cuba
function: FilterNum
dependencies: 0
inputs: marriageable age
18 years old
=
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: QFilterYear
dependencies: 2
inputs: start time
1999
=
function: FilterConcept
dependencies: 3
inputs: city
function: Relate
dependencies: 4
inputs: capital of
forward
function: FilterConcept
dependencies: 5
inputs: first-level administrative country subdivision
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Cuba" . ?e_2 <marriageable_age> ?pv_1 . ?pv_1 <pred:unit> "years old" . ?pv_1 <pred:value> "18"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:year> 1999 .   }
Answer: Santa Fe Province