What is {significant event} of {Nancy Pelosi} and {location}
When did critical occasion of Nancy Pelosi and area?
When did significant event of Nancy Pelosi and location?
SELECT ?g ?l WHERE { ?n property:location ?g . . ?n property:significant_event ?l . resource:Nancy_Pelosi property:significant_event ?n }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170581> . ?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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q170581 p:P793 ?s . ?s ps:P793 ?obj . ?s pq:P276 ?value1 . }