Towards Efficient Knowledge Graph Generation From Textbooks: A Dual Framework Approach