What is {spouse} of {John Ruskin} and {start time}
When did John Ruskin get married?
When did John Ruskin get married?
SELECT ?e ?q WHERE { resource:John_Ruskin property:spouse ?m . ?m property:start_time ?e . . ?m property:spouse ?q }
select distinct ?dataprop1 ?obj 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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q179126 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P580 ?value1 . }