What is {located in the administrative territorial entity} of {Milan} that is {start time} is {1816-1-1} ?
What was found in the administrative territorial entity of Milan January 1, 1816?
What was located in the administrative territorial entity of Milan in 1816-1-1?
SELECT ?w WHERE { FILTER ( CONTAINS ( YEAR ( ?h ) , '1816' ) ) . ?y property:start_time ?h . ?y property:located_in_the_administrative_territorial_entity ?w . resource:Milan property:located_in_the_administrative_territorial_entity ?y }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q490> .
?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> <1816-1-1>
} 

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