Question: When did the sovereign state that began diplomatic relations with Germany in 1982 have a nominal GDP of 1573670250 United States dollars?
Choices:
1998-08-19
1700-01-01
2011-05-01
1945-01-01
1982-02-24
1942-02-26
2017-03-31
1993-10-01
2012-01-01
2015-02-12
Answer: 2012-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Germany" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1982 . ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "1573670250"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterYear
dependencies: 1
inputs: start time
1982
=
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: nominal GDP
1573670250 United States dollar
point in time