What is {spouse} of {Carles Puigdemont} that is {start time} is {2000-6-0} ?
Who married Carles Puigdemont in 2000?
Who was married to Carles Puigdemont in 2000?
SELECT ?j WHERE { FILTER ( CONTAINS ( YEAR ( ?p ) , '2000' ) ) . ?m property:start_time ?p . ?m property:spouse ?j . resource:Carles_Puigdemont property:spouse ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4740163> .
?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> <2000-6-0>
} 

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