Question: When did Canberra, capital of the Australian Capital Territory, become the capital of Australia, which has diplomatic ties to Angola?
Choices:
2009-06-08
1880-01-01
2013-10-04
1871
1927
2006-07-11
1945-07-09
1993-09-17
1959-01-01
2010-01-22
Program:
function: Find
inputs: Angola
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Find
inputs: Australian Capital Territory
function: Relate
dependencies: 4
inputs: capital of
backward
function: Find
inputs: Canberra
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: capital
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Australia" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> "Angola" . ?e_2 <pred:name> "Canberra" . ?e_2 <capital_of> ?e_4 . ?e_4 <pred:name> "Australian Capital Territory" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1927