pub fn migrate_papers(source_db: &str, kg: &KnowledgeGraph) -> Result<i64>Expand description
Migrate papers from Aerial’s knowledge database to the knowledge graph.
This function:
- Creates “paper” entities from the papers table
- Stores arxiv_id and other metadata as properties
- Creates placeholder vectors (can be updated later with real embeddings)