what is the {instance of} for {Ryazan} has {inception} as {1095-1-1} ?
What was the year of birth of Ryzzan?
Was Ryzzan born in 1095-1-1?
SELECT ?f WHERE { resource:Ryazan property:inception ?o . ?o property:inception ?c . ?o rdf:type ?f . FILTER ( CONTAINS ( YEAR ( ?c ) , '1095' ) ) }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2746> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P571> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1095-1-1> .
?statement <http://www.wikidata.org/entity/P31> ?value. 
} 

SELECT ?value WHERE { wd:Q2746 p:P571 ?s . ?s ps:P571 ?x filter(contains(YEAR(?x),'1095')) . ?s pq:P31 ?value}