What is the {religious text} for {series} of {Book of Genesis}
What text is the Book of Genesis from?
Which text does the Book of Genesis originate?
SELECT DISTINCT ?q WHERE { resource:Book_of_Genesis property:part_of_the_series ?q . ?q rdf:type ontology:religious_text }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9184> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P179> . ?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/Q179461> } 
 select distinct ?obj where { wd:Q9184 wdt:P179 ?obj . ?obj wdt:P31 wd:Q179461 } 