What is the {landlocked country} for {replaces} of {Czechoslovakia}
Name the landlocked country that substituted Czechoslovakia.
What landlocked country replaced Czechoslovakia
SELECT DISTINCT ?q WHERE { ?q property:replaces resource:Czechoslovakia . ?q rdf:type ontology:landlocked_country }
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/P1365> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q33946> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q123480> } 
 select distinct ?sbj where { ?sbj wdt:P1365 wd:Q33946 . ?sbj wdt:P31 wd:Q123480 } 