What is {diplomatic relation} of {People's Republic of China} that is {statement is subject of} is {China–Eritrea relations} ?
What diplomatic ties is in between China and Eritrea?
What diplomatic ties exist between China and Eritrea?
SELECT ?m WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?w . ?w property:diplomatic_relation ?m . ?w property:statement_is_subject_of resource:China–Eritrea_relations }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q148> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P530> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P805> <http://wikidata.dbpedia.org/resource/Q5100211>
} 

SELECT ?obj WHERE { wd:Q148 p:P530 ?s . ?s ps:P530 ?obj . ?s pq:P805 wd:Q5100211 }