When did the Republic of Venice become a state?
SELECT ?value WHERE { wd:Q4948 p:P31 ?s . ?s ps:P31 ?x filter(contains(?x,'http://dbpedia.org/ontology/State')) . ?s pq:P582 ?value}
republic of venice: Q4948