Question: When was founded Rabat the capital of Morocco (the one with a nominal GDP is 3046339294.53611 United States dollar)?
Choices:
2011-05-13
1984-09-16
1956
1815-08-07
1983-11-11
1821-06-01
1994-01-31
1989-11-17
1960-10-15
2013-07-16
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> "3046339294.53611"^^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
3046339294.53611 United States dollar
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: capital of
start time