Question: Until when was  Brandenburg (the one whose area is 27612 square kilometres) located in German Democratic Republic ?
Choices:
2001-01-01
1830-10-04
1827-03-04
1982-06-02
1952-07-25
1707-01-01
2003-12-27
2015-05-17
2006-04-04
1730-01-01
Answer: 1952-07-25
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brandenburg" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "27612"^^xsd:double . ?e_2 <pred:name> "German Democratic Republic" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Brandenburg
function: FilterNum
dependencies: 0
inputs: area
27612 square kilometre
=
function: Find
inputs: German Democratic Republic
function: QueryRelationQualifier
dependencies: 1
2
inputs: located in the administrative territorial entity
end time