What is {twinned administrative body} of {Kraków} that is {start time} is {1995-1-1} ?
in 1995 Krakow started what administrative body?
What twinned administrative body of Krakow started in 1995?
SELECT ?b WHERE { FILTER ( CONTAINS ( YEAR ( ?a ) , '1995' ) ) . ?h property:start_time ?a . ?h property:twinned_administrative_body ?b . resource:Kraków property:twinned_administrative_body ?h }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q31487> .
?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> <1995-1-1>
} 

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