A graph engine for knowledge management