What is the {socialist state} for {contains administrative territorial entity} of {Beijing}
[]
When did socialist state for contains administrative territorial entity of Beijing?
SELECT DISTINCT ?p WHERE { ?p property:contains_administrative_territorial_entity resource:Beijing . ?p rdf:type ontology:socialist_state }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q956> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q842112> } 
 select distinct ?sbj where { ?sbj wdt:P150 wd:Q956 . ?sbj wdt:P31 wd:Q842112 } 
People's Republic of China