What is {end time} and {start time} of {{Honolulu} has {located in the administrative territorial entity} as {Territory of Hawaii}}
On what date did Honolulu become an entity of the Territory of Hawaii?
When did Honolulu become an entity as the Territory of Hawaii?
SELECT ?h ?y WHERE { ?v property:start_time ?y . ?v property:located_in_the_administrative_territorial_entity resource:Territory_of_Hawaii . ?v property:end_time ?h . resource:Honolulu property:located_in_the_administrative_territorial_entity ?v }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q18094> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q547795>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q18094 p:P131 ?s . ?s ps:P131 wd:Q547795 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }