what is the {start time} for {Emmanuel Macron} has {member of political party} as {Socialist Party} ?
On what date did Emmanuel Macron become a member of the Socialist political party?
When did Emmanuel Macron become a member of the Socialist political party?
SELECT ?f WHERE { resource:Emmanuel_Macron property:member_of_political_party ?i . ?i property:start_time ?f . ?i property:member_of_political_party resource:Socialist_Party }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3052772> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q170972> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q3052772 p:P102 ?s . ?s ps:P102 wd:Q170972 . ?s pq:P580 ?value}