what is the {instance of} for {Epicurus} has {date of birth} as {-341-1-1} ?
When was Epicurus born?
Tell me the date of birth of Epicurus.
SELECT ?c WHERE { FILTER ( CONTAINS ( ?y , '-341-1-1' ) ) . ?h property:date_of_birth ?y . ?h rdf:type ?c . resource:Epicurus property:date_of_birth ?h }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43216> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P569> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <-341-1-1> .
?statement <http://www.wikidata.org/entity/P31> ?value. 
} 

SELECT ?value WHERE { wd:Q43216 p:P569 ?s . ?s ps:P569 ?x filter(contains(?x , '-341-1-1')) . ?s pq:P31 ?value}