Question: When did the birth city Bryan Adams (the one that is famous for adult contemporary music) have a population of 123798?
Choices:
1971
1858
1972-04-10
1811
2016
2014-01-01
1933-06-16
1974-01-01
1251
1978-12-01
Answer: 2016
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Bryan Adams" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "adult contemporary music" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "123798"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: adult contemporary music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Bryan Adams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: QueryAttrQualifier
dependencies: 5
inputs: population
123798
point in time