What is {twinned administrative body} of {Bangkok} that is {start time} is {2010-1-1} ?
In 2010, what became the twin city of Bangkok?
What was the twin city of Bangkok from 2010?
SELECT ?f WHERE { ?c property:start_time ?r . resource:Bangkok property:twinned_administrative_body ?c . FILTER ( CONTAINS ( YEAR ( ?r ) , '2010' ) ) . ?c property:twinned_administrative_body ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1861> .
?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> <2010-1-1>
} 

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