What is {position held} of {Faisal of Saudi Arabia} that is {replaced by} is {Khalid of Saudi Arabia} ?
What date did Khalid of Saudi Arabia replace Faisal of Saudi Arabia ?
When did the Faisal of Saudi Arabia get replaced by the Khalid of Saudi Arabia?
SELECT ?e WHERE { ?i property:replaced_by resource:Khalid_of_Saudi_Arabia . resource:Faisal_of_Saudi_Arabia property:position_held ?i . ?i property:position_held ?e }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q217167> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1366> <http://wikidata.dbpedia.org/resource/Q208301>
} 

SELECT ?obj WHERE { wd:Q217167 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q208301 }