Question: What city in the country Norway is an administrative division of Norway starting 1905?
Choices:
Abidjan
Oslo
Trieste
Kilkenny
Stavanger
Cork
Santo Domingo
Bergen
Dundee
Chihuahua
Program:
function: Find
inputs: Norway
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Norway
function: Relate
dependencies: 3
inputs: country
backward
function: QFilterYear
dependencies: 4
inputs: start time
1905
=
function: FilterConcept
dependencies: 5
inputs: city
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Norway" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Norway" . [ <pred:fact_h> ?e ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:year> 1905 .  }
Answer: Oslo