Method to read properties of a graph from DB.