What is {twinned administrative body} of {Nagoya} that is {start time} is {1978-12-21} ?
Give me the name of the city that was twinned with Nagoya on 21st December, 1978
Which city was twinned with Nagoya on 21st December, 1978?
SELECT ?t WHERE { resource:Nagoya property:twinned_administrative_body ?c . ?c property:twinned_administrative_body ?t . ?c property:start_time ?n . FILTER ( CONTAINS ( YEAR ( ?n ) , '1978' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11751> .
?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> <1978-12-21>
} 

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