what is the {cast member} for {Boris Godunov} has {date of first performance} as {1874-1-27} ?
On 1/27/1874, name the person who performed as Boris Godunuv.
Who performed as Boris Godunuv on 1/27/1874?
SELECT ?a WHERE { ?t property:cast_member ?a . FILTER ( CONTAINS ( YEAR ( ?k ) , '1874' ) ) . ?t property:date_of_first_performance ?k . resource:Boris_Godunov property:date_of_first_performance ?t }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q386846> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1191> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1874-1-27> .
?statement <http://www.wikidata.org/entity/P161> ?value. 
} 

SELECT ?value WHERE { wd:Q386846 p:P1191 ?s . ?s ps:P1191 ?x filter(contains(YEAR(?x),'1874')) . ?s pq:P161 ?value}