knowledge graph engineering for multi agent systems