Question: When did a Swiss capital, where James Joyce (the one that influenced Joyce Carol Oates) died, reach 439,322 inhabitants?
Choices:
1775
1961-01-01
1977-01-01
900
1941-03-01
1665-09-28
1967-01-01
1867-12-01
2013-10-01
2011-02-13
Answer: 1961-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "James Joyce" . ?e_2 <influenced_by> ?e_1 . ?e_2 <pred:name> "Joyce Carol Oates" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e ] <country> ?qpv_1 . ?qpv_1 <pred:value> "Switzerland" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "439322"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Joyce Carol Oates
function: Relate
dependencies: 0
inputs: influenced by
forward
function: Find
inputs: James Joyce
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of death
forward
function: QFilterStr
dependencies: 4
inputs: country
Switzerland
function: FilterConcept
dependencies: 5
inputs: capital
function: QueryAttrQualifier
dependencies: 6
inputs: population
439322
point in time