Question: What city is the one whose FIPS 10-4 (countries and regions) is BU42 (the start time of this statement is 2000) and that is the headquarter location of PFC CSKA Sofia ?
Choices:
Trieste
Kilkenny
Kingston
Bergen
Sofia
Dundee
Chihuahua
Cairo
Santo Domingo
Abidjan
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
BU42
function: QFilterYear
dependencies: 1
inputs: start time
2000
=
function: FilterConcept
dependencies: 2
inputs: city
function: Find
inputs: PFC CSKA Sofia
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: FilterConcept
dependencies: 5
inputs: city
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "BU42" . [ <pred:fact_h> ?e ; <pred:fact_r> <FIPS_10-4_(countries_and_regions)> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:year> 2000 . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "PFC CSKA Sofia" .  }
Answer: Sofia