Question: Which city is located in Punjab (the one whose country is Pakistan) (the start time of this statement is 1947)?
Choices: Chihuahua
Sialkot
Abidjan
Kilkenny
Cork
Lahore
Trieste
Santo Domingo
Dundee
Kingston
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Punjab" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "Pakistan" .  [ <pred:fact_h> ?e ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1947 .  }
Program:
function: Find
inputs: Pakistan
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Punjab
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: QFilterYear
dependencies: 4
inputs: start time
1947
=
function: FilterConcept
dependencies: 5
inputs: city
function: What
dependencies: 6
Answer: Sialkot