what is the {start time} for {Auguste Comte} has {spouse} as {Caroline Massin} ?
When was Auguste Comte married to Caroline Massin?
What is the start time for Auguste Comte and his spouse Caroline Massin
SELECT ?h WHERE { ?b property:start_time ?h . ?b property:spouse resource:Caroline_Massin . resource:Auguste_Comte property:spouse ?b }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12718> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1044529> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q12718 p:P26 ?s . ?s ps:P26 wd:Q1044529 . ?s pq:P580 ?value}