what is the {replaces} for {Pius XII} has {position held} as {Camerlengo of the Sacred College of Cardinals} ?
Who replaced Pius XII as the Camerlengo of the Sacred College of Cardinals?
SELECT ?value WHERE { wd:Q2604 p:P39 ?s . ?s ps:P39 wd:Q1813197 . ?s pq:P1365 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2604> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1813197> .
?statement <http://www.wikidata.org/entity/P1365> ?value. 
} 

In the Sacred College of Cardinals, who replaced Pius XII as the Camerlengo?