Is the 'City of Ember' a science fictional book?
Yes, it counts as science fiction. Set in the future,
post-apocalyptic. That's not the definition of scifi - it's hard to
have an exact definition - but those elements put it safely within
the bounds of it.