What is {partner} of {Ian McKellen} and {start time}
When did accomplice of Ian McKellen and begin time?
When did partner of Ian McKellen and start time?
SELECT ?m ?i WHERE { ?v property:start_time ?m . . ?v property:unmarried_partner ?i . resource:Ian_McKellen property:unmarried_partner ?v }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170510> . ?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> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q170510 p:P451 ?s . ?s ps:P451 ?obj . ?s pq:P580 ?value1 . }