I have built an app for constructing a PKB, It supports importing EPUB, PDF, and web snapshots, and allows creating Markdown files.
It integrates reading, annotation, review, and search functions—all the ways you want to use a knowledge base can be found here.