What is {followed by} and {follows} of {{Communist Party of China} has {chairperson} as {Hu Yaobang}}
Who followed Hu Yaobang as the chairperson of the Communist Party of China? And who succeeded him?
Who was the chairperson of the Communist Party of China immediately before Hu Yaobang and who succeeded him?
SELECT ?z ?j WHERE { ?l property:followed_by ?z . ?l property:chairperson resource:Hu_Yaobang . resource:Communist_Party_of_China property:chairperson ?l . ?l property:follows ?j }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q17427> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P488> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q99850>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q17427 p:P488 ?s . ?s ps:P488 wd:Q99850 . ?s pq:P156 ?value1 . ?s pq:P155 ?value2 }