public function loadLinkedCompetencies(ResourceNode $resource)
    {
        $abilities = $this->abilityRepo->findByResource($resource);
        $competencies = $this->competencyRepo->findByResource($resource);
        $result = [];

        foreach ($abilities as $ability) {
            $result[] = $this->loadAbility($ability);
        }

        foreach ($competencies as $competency) {
            $result[] = $this->loadCompetency($competency);
        }

        return $result;
    }