What is {end time} and {start time} of {{John Ruskin} has {spouse} as {Effie Gray}}
When did John Ruskin and Effie Gray get married?
When does John Ruskin marry Effie Gray?
SELECT ?j ?o WHERE { ?v property:start_time ?o . ?v property:spouse resource:Effie_Gray . ?v property:end_time ?j . resource:John_Ruskin property:spouse ?v }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q179126> . ?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/Q271543>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q179126 p:P26 ?s . ?s ps:P26 wd:Q271543 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }