What is {spouse} of {Anggun} that is {start time} is {2010-6-0} ?
Who is the mate of Anggun in 2010-6-0?
Who is the spouse of Anggun in 2010-6-0?
SELECT ?m WHERE { resource:Anggun property:spouse ?z . ?z property:spouse ?m . FILTER ( CONTAINS ( YEAR ( ?p ) , '2010' ) ) . ?z property:start_time ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q221310> .
?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> <2010-6-0>
} 

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