What is the {biblical episode} for {present in work} of {Joseph}
WHat scriptural scene includes Joseph ?
WHat biblical episode involves Joseph ?
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:biblical_episode . resource:Joseph property:present_in_work ?k }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q128267> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1441> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q22704077> } 
 select distinct ?obj where { wd:Q128267 wdt:P1441 ?obj . ?obj wdt:P31 wd:Q22704077 } 