Question: When did Rabat become the capital of Morocco, which is designated by ISO 3166-1 alpha-3 code MAR?
Choices:
1994-08-16
1963-12-12
1956
1966-09-28
1919-12-19
1991-11-08
1949-05-23
1951-12-07
2008-09-27
1533-01-01
Answer: 1956
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rabat" . ?e_2 <pred:name> "Morocco" . ?e_2 <ISO_3166-1_alpha-3_code> ?pv . ?pv <pred:value> "MAR" . ?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: Rabat
function: Find
inputs: Morocco
function: FilterStr
dependencies: 1
inputs: ISO 3166-1 alpha-3 code
MAR
function: QueryRelationQualifier
dependencies: 0
2
inputs: capital of
start time