public function getAllDefinitionRoles( $rebuildCache = false )
	{
		if ( $rebuildCache || is_null( $this->context->definitionLinkRolesCache ) )
		{
			$definitionLinkRoles = array();

			// Time to build the cache
			foreach ( $this->context->importedSchemas as $id => $taxonomy )
			{
				$roles = $taxonomy->getDefinitionRoleRefs();

				foreach ( $roles as $roleUri => $role )
				{
					if ( count( $role ) <= 3 || isset( $definitionLinkRoles[ $roleUri ] ) ) continue;
					$definitionLinkRoles[ $roleUri ] = $taxonomy->getSchemaLocation();
				}
			}

			$this->context->definitionLinkRolesCache = $definitionLinkRoles;
		}

		return $this->context->definitionLinkRolesCache;

	}