What is {appointed by} and {location} of {{Benedict XVI} has {significant event} as {priestly ordination}}
Who appointed Benedict XVI as a priest, and the place did it happen?
Who appointed Benedict XVI as a priest, and where did it happen?
SELECT ?y ?k WHERE { ?j property:significant_event resource:priestly_ordination . ?j property:location ?k . ?j property:appointed_by ?y . resource:Benedict_XVI property:significant_event ?j }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2494> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P793> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q41463697>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q2494 p:P793 ?s . ?s ps:P793 wd:Q41463697 . ?s pq:P748 ?value1 . ?s pq:P276 ?value2 }