What is {instance of} of {Kingdom of Prussia} that is {start time} is {1701-0-0} ?
Give me the kingdom of Prissia in the beginning of 1701.
When did the Kindgom of Prussia begin in 1701?
SELECT ?t WHERE { resource:Kingdom_of_Prussia rdf:type ?j . ?j rdf:type ?t . ?j property:start_time ?y . FILTER ( CONTAINS ( YEAR ( ?y ) , '1701' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q27306> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1701-0-0>
} 

SELECT ?obj WHERE { wd:Q27306 p:P31 ?s . ?s ps:P31 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1701')) }