What is {partner} of {Mel Gibson} and {start time}
Who is with Mel Gibson and when does it start?
Who is with Mel Gibson and when does it start?
SELECT ?i ?x WHERE { resource:Mel_Gibson property:unmarried_partner ?z . ?z property:unmarried_partner ?x . ?z property:start_time ?i . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42229> . ?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:Q42229 p:P451 ?s . ?s ps:P451 ?obj . ?s pq:P580 ?value1 . }