What is the {book of the Bible} for {follows} of {Exodus}
Which book takes after Mass migration within the Bible?
Which book follows Exodus in the Bible?
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:book_of_the_Bible . resource:Exodus property:follows ?b }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9190> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P155> . ?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/Q29154430> } 
 select distinct ?obj where { wd:Q9190 wdt:P155 ?obj . ?obj wdt:P31 wd:Q29154430 } 
Book of Genesis