Question: When was Rabat made the capital of Morocco (nominal GDP 41632027599.8531 in USD)?
Choices:
1968-11-12
500
1836
2016-11-15
1956
1975-01-01
1992-09-11
1951-11-07
2000-05-25
1984-01-27
Answer: 1956
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rabat" . ?e_2 <pred:name> "Morocco" . ?e_2 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "41632027599.8531"^^xsd:double . ?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: FilterNum
dependencies: 1
inputs: nominal GDP
41632027599.8531 United States dollar
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: capital of
start time