public function newQuery($excludeDeleted = true)
{
$builder = new TermTaxonomyBuilder($this->newBaseQueryBuilder());
$builder->setModel($this)->with($this->with);
if (isset($this->taxonomy) and !empty($this->taxonomy) and !is_null($this->taxonomy)) {
$builder->where('taxonomy', $this->taxonomy);
}
return $builder;
}