What is {located in the administrative territorial entity} of {Glasgow} that is {start time} is {1996-0-0} ?
Give me the name of the administrative territorial entity that contained Glasgow in 1996?
In 1996, which administrative territorial entity was Glasgow located in ?
SELECT ?b WHERE { resource:Glasgow property:located_in_the_administrative_territorial_entity ?d . FILTER ( CONTAINS ( YEAR ( ?h ) , '1996' ) ) . ?d property:start_time ?h . ?d property:located_in_the_administrative_territorial_entity ?b }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4093> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1996-0-0>
} 

SELECT ?obj WHERE { wd:Q4093 p:P131 ?s . ?s ps:P131 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1996')) }