Question: When did Kolkata become the capital of West Bengal (the one that use English as the official language)?
Choices: 2017-02-28
1526
1979-04-07
1624
1958-10-07
2002-10-30
1820
1947-08-15
1897
1960-10-15
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kolkata" . ?e_2 <pred:name> "West Bengal" . ?e_2 <official_language> ?e_3 . ?e_3 <pred:name> "English" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Kolkata
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: official language
backward
function: Find
inputs: West Bengal
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: capital of
start time
Answer: 1947-08-15