What is {country} of {Trieste} that is {start time} is {1975-0-0} ?
Which country was Trieste in 1975?
What country was Trieste in in 1975?
SELECT ?u WHERE { resource:Trieste property:country ?g . ?g property:country ?u . ?g property:start_time ?a . FILTER ( CONTAINS ( YEAR ( ?a ) , '1975' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q546> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1975-0-0>
} 

SELECT ?obj WHERE { wd:Q546 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1975')) }