What is {significant event} of {Philip II of Spain} that is {location} is {Tomar} ?
During the reign of Philip II of Spain, what significant event occurred?
What significant event occured in Tomar during the reign of Philip II of Spain?
SELECT ?a WHERE { ?g property:significant_event ?a . ?g property:location resource:Tomar . resource:Philip_II_of_Spain property:significant_event ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34417> .
?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/P276> <http://wikidata.dbpedia.org/resource/Q622817>
} 

SELECT ?obj WHERE { wd:Q34417 p:P793 ?s . ?s ps:P793 ?obj . ?s pq:P276 wd:Q622817 }