What is {located in the administrative territorial entity} of {Bremen} that is {end time} is {1949-4-8} ?
At what point did Bremen lose territory in the year 1949?
When did Bremen lose territory in the year 1949?
SELECT ?m WHERE { resource:Bremen property:located_in_the_administrative_territorial_entity ?q . ?q property:end_time ?h . ?q property:located_in_the_administrative_territorial_entity ?m . FILTER ( CONTAINS ( YEAR ( ?h ) , '1949' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1209> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1949-4-8>
} 

SELECT ?obj WHERE { wd:Q1209 p:P131 ?s . ?s ps:P131 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1949')) }