Identifying Domain & Range from a Graph