Just as art brings you to another place, so does religion – and to ask questions of factuality tends to reduce both. If you say you were inspired by a novel, that implies that your book is a work of fiction.