add the resourceGraph method to EasyRdf_Graph