What is {spouse} of {Sam Shepard} that is {start time} is {1969-1-1} ?
On which side Sam Shepard's spouse was in 1969-1-1?
For whom Sam Shepard's spouse was in 1969-1-1?
SELECT ?h WHERE { ?f property:spouse ?h . ?f property:start_time ?l . resource:Sam_Shepard property:spouse ?f . FILTER ( CONTAINS ( YEAR ( ?l ) , '1969' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q294583> .
?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> <1969-1-1>
} 

SELECT ?obj WHERE { wd:Q294583 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1969')) }