What is {twinned administrative body} of {San Diego} that is {start time} is {1983-0-0} ?
in 1883 what was the administrative body of San Diego
What was the twinned administrative body of San Diego in 1983?
SELECT ?p WHERE { resource:San_Diego property:twinned_administrative_body ?c . FILTER ( CONTAINS ( YEAR ( ?j ) , '1983' ) ) . ?c property:start_time ?j . ?c property:twinned_administrative_body ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q16552> .
?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> <1983-0-0>
} 

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