what is the {start time} for {Leo IX} has {position held} as {bishop of Toul} ?
In which month Leo IX his position as a bishop of Toui?
When did Leo IX hold his position as bishop of Toul?
SELECT ?r WHERE { ?z property:position_held resource:bishop_of_Toul . resource:Leo_IX property:position_held ?z . ?z property:start_time ?r }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q58559> .
?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/Q22807026> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q58559 p:P39 ?s . ?s ps:P39 wd:Q22807026 . ?s pq:P580 ?value}