What is {diplomatic relation} of {Mexico} that is {statement is subject of} is {Holy See–Mexico relations} ?
Does the Holy See-Mexico relations comprise of Mexico?
Is Mexico subject to the Holy See-Mexico relations?
SELECT ?y WHERE { ?r property:diplomatic_relation ?y . resource:Mexico property:diplomatic_relation ?r . ?r property:statement_is_subject_of resource:Holy_See–Mexico_relations }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q96> .
?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/Q5886105>
} 

SELECT ?obj WHERE { wd:Q96 p:P530 ?s . ?s ps:P530 ?obj . ?s pq:P805 wd:Q5886105 }