What is {start time} and {end time} of {{Faye Dunaway} has {spouse} as {Terry O'Neill}}
What is {start time} and {end time} of {{Faye Dunaway} whose {spouse} as {Terry O'Neill}}?
What is {start time} and {end time} of {{Faye Dunaway} whose {spouse} as {Terry O'Neill}}?
SELECT ?w ?f WHERE { resource:Faye_Dunaway property:spouse ?g . ?g property:start_time ?w . ?g property:end_time ?f . ?g property:spouse resource:Terry_O'Neill }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q168721> . ?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/Q2405734>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q168721 p:P26 ?s . ?s ps:P26 wd:Q2405734 . ?s pq:P580 ?value1 . ?s pq:P582 ?value2 }