what is the {start time} for {William Wyndham Grenville, 1st Baron Grenville} has {position held} as {Secretary of State for Foreign and Commonwealth Affairs} ?
When was William Wyndham appointed to the position of Secretary of State for Foreign and Commonwealth Affairs?
When is the William Wyndham apointed as Grenville asSecretary of State for Foreign and Commonwealth Affairs
SELECT ?p WHERE { ?g property:start_time ?p . resource:William_Wyndham_Grenville,_1st_Baron_Grenville property:position_held ?g . ?g property:position_held resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312596> .
?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/Q1371091> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q312596 p:P39 ?s . ?s ps:P39 wd:Q1371091 . ?s pq:P580 ?value}