What is {country of citizenship} of {Franz Kafka} that is {start time} is {1883-7-3} ?
Which was the citizenship country of Franz Kafka in 1982?
What country did Franz Kafka have a citizenship in in 1882-7-3?
SELECT ?o WHERE { resource:Franz_Kafka property:country_of_citizenship ?a . FILTER ( CONTAINS ( YEAR ( ?e ) , '1883' ) ) . ?a property:country_of_citizenship ?o . ?a property:start_time ?e }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q905> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P27> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1883-7-3>
} 

SELECT ?obj WHERE { wd:Q905 p:P27 ?s . ?s ps:P27 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1883')) }