What is {location} and {appointed by} of {{Benedict XVI} has {significant event} as {priestly ordination}}
When does the Air Algerie Boeing 747 depart and return?
What is {end time} and {start time} of {{Boeing 747} has {operator} as {Air Algérie}} ?
SELECT ?u ?f WHERE { ?e property:significant_event resource:priestly_ordination . ?e property:location ?u . resource:Benedict_XVI property:significant_event ?e . ?e property:appointed_by ?f }
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:P276 ?value1 . ?s pq:P748 ?value2 }