Add a triple to the current graph, and keep count of the number of triples @ignore
protected function addTriple($resource, $property, $value) {
$count = $this->graph
->add($resource, $property, $value);
$this->tripleCount += $count;
return $count;
}