Throw can exception if the resource does not belong to a graph @ignore
... See full list
protected function checkHasGraph() { if (!$this->graph) { throw new EasyRdf_Exception("EasyRdf_Resource is not part of a graph."); } }