What is the {religious text} for {follows} of {Exodus}
Which is the devout content that takes after the Exodus?
Which is the religious text that follows the Exodus?
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:religious_text . resource:Exodus property:follows ?p }
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/Q179461> } 
 select distinct ?obj where { wd:Q9190 wdt:P155 ?obj . ?obj wdt:P31 wd:Q179461 } 
Book of Genesis