What is {partner} of {Tyler Perry} that is {start time} is {2009-1-1} ?
Tyler Perry's partner at the start of 2009-1-1?
who is partner of Tyler Perry that has start time is 2009-1-1 ?
SELECT ?d WHERE { ?p property:start_time ?w . resource:Tyler_Perry property:unmarried_partner ?p . FILTER ( CONTAINS ( YEAR ( ?w ) , '2009' ) ) . ?p property:unmarried_partner ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q686301> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P580> <2009-1-1>
} 

SELECT ?obj WHERE { wd:Q686301 p:P451 ?s . ?s ps:P451 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'2009')) }