added getArc method to GraphDB