what is the {end time} for {Cossack Hetmanate} has {instance of} as {Vassal and tributary states of the Ottoman Empire} ?
On what date was the Cossack Hetmanate frei from the  subordination to the Ottoman Empire?
When did the Cossack Hetmanate cease being a vassal of the Ottoman Empire?
SELECT ?v WHERE { ?y rdf:type ontology:Vassal_and_tributary_states_of_the_Ottoman_Empire . resource:Cossack_Hetmanate rdf:type ?y . ?y property:end_time ?v }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q212439> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2560551> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q212439 p:P31 ?s . ?s ps:P31 wd:Q2560551 . ?s pq:P582 ?value}