What is {twinned administrative body} of {Qingdao} that is {start time} is {2009-1-1} ?
which administrative body took over in Qingday beginning in 2009-1-1?
What is the administrative body of Qingdao that started in 2009-1-1 ?
SELECT ?l WHERE { ?n property:twinned_administrative_body ?l . FILTER ( CONTAINS ( YEAR ( ?w ) , '2009' ) ) . resource:Qingdao property:twinned_administrative_body ?n . ?n property:start_time ?w }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170322> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <2009-1-1>
} 

SELECT ?obj WHERE { wd:Q170322 p:P190 ?s . ?s ps:P190 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'2009')) }