The Active Graph Database Model