What is {end time} and {start time} of {{Jessica Lange} has {partner} as {Sam Shepard}}
At what point in time where Jessica Lange and Sam Shephard in a romantic relationship?
When were Jessica Lange and Sam Shephard together?
SELECT ?v ?j WHERE { ?b property:end_time ?v . ?b property:unmarried_partner resource:Sam_Shepard . resource:Jessica_Lange property:unmarried_partner ?b . ?b property:start_time ?j }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q173585> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P451> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q294583>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q173585 p:P451 ?s . ?s ps:P451 wd:Q294583 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }