Kastor: Fine-tuned Small Language Models for Shape-based Active Relation Extraction