that works as a treatise on spirituality as well as a solid sci-fi thriller 
(ROOT (S (NP (DT that)) (VP (VBZ works) (PP (IN as) (NP (NP (NP (DT a) (NN treatise)) (PP (IN on) (NP (NN spirituality)))) (CONJP (RB as) (RB well) (IN as)) (NP (DT a) (JJ solid) (NML (NN sci) (HYPH -) (NN fi)) (NN thriller)))))))
(ROOT (S (NP (DT )) (VP (VBZ ) (PP (IN ) (NP (NP (NP (DT ) (NN )) (PP (IN ) (NP (NN )))) (CONJP (RB ) (RB ) (IN )) (NP (DT ) (JJ ) (NML (NN ) (HYPH ) (NN )) (NN )))))))