Do opisu obiektów stosujemy atrybuty (cechy). Wyróżniamy atrybuty:
proste
złożone
hierarchiczne
z parametrami.
Atrybut prosty
Atrybut prosty to atrybut, którego wartością jest wartość prosta, np. liczba lub literał (jednostka leksykalna reprezentująca ustaloną wartość liczbową, tekstową, itp.). Dla atrybutu prostego nie ma żadnych parametrów, które użytkownik mógłby zdefiniować przy generowaniem tabeli. Przykłady atrybutów prostych to: Aktywny, Nazwisko i Imię, Identyfikator PBN.
...
Atrybut złożony hierarchiczny stosowany dla opisu obiektu to atrybut, którego wartości mają strukturę taksonomii (drzewa). Wartością atrybutu hierarchicznego jest wartość z poziomu liścia w drzewie.
...
Atrybuty hierarchiczne w wykazie atrybutów są oznaczone ikoną drzewa:
...
Atrybut Afiliacja określa miejsce zatrudnienia pracownika uczelni. Zwykle jest to jedna z jednostek wydziału (instytut, katedra, zakład). Jeżeli:
struktura jest drzewem, w którym ścieżka do każdego liścia jest tej samej długości, np. każdy pracownik jest zatrudniony w instytucie, który jest częścią wydziału i nie ma odstępstw od tej zasady
iwartość przypisana obiektowi jest liściem w strukturze drzewowej, w tym przypadku jest to instytut
to można wybrać taki atrybut w celu pokazania całej hierarchii wartości. Ilustruje to tabela poniżej. Na pierwszym poziomie jest wydział, na poziomie drugim są podporządkowane wydziałom jednostki.
...
W rzeczywistości sytuacja jest zwykle inna. Nie wszyscy pracownicy na wydziałach są przypisani do jednostek wydziałowych (tj. do liści w drzewowej strukturze uczelni) – niektórzy są afiliowani do poziomu wydziału, inni do podległych instytutów i katedr, dlatego pierwszy wiersz dla każdego wydziału nie ma tytułu w kolumnie Afliacja (2).
...
Jeżeli hierarchia wartości atrybutu jest nieregularna, tj. dla różnych liści w tej hierarchii odległości do korzenia są różne, zaleca się nie prezentować tabeli w strukturze hierarchicznej. Alternatywą w takim przypadku jest:
pokazanie tylko najwyższego poziomu hierarchii, np. nazw wydziałów
pokazanie tylko najniższych wartości hierarchii (liści), np. nazw zakładów
pokazanie poziomu najwyższego, a jako wartości podporządkowanych – pokazanie liści
Sposób traktowania atrybutu hierarchicznego można ustalić po kliknięciu ikony hierarchii – drzewa.
...
W wywołanym oknie możliwe są trzy opcje:
ustalenie przedziału dla głębokości drzewa,
wybranie tylko poziomu korzenia (najwyższego),
wybranie tylko poziomu liścia (najniższego).
...
Ustawienie dla atrybutu Afiliacja wartości minimalnej i maksymalnej na poziomie 1 da tabelę z jednym poziomem dla tego atrybutu – będą to wydziały.
Głębokość 1:
...
Wydział:
...
W takim przypadku liczby osób zatrudnionych na wydziale, ale nieafiliowanych przy podległych jednostkach zostaną „włączone” do sumy pracowników jednostek wydziałów.
Ustawienie dla atrybutu Afiliacja wartości minimalnej 1 i maksymalnej na poziomie 2 da tabelę z dwoma poziomami dla tego atrybutu.
...
Ustawienie dla atrybutu Afiliacja wartości minimalnej 1 i maksymalnej na poziomie 2 oraz zaznaczenie opcji korzeń da następujący efekt:
...
Atrybut złożony z parametrami
Atrybut złożony to atrybut, którego wartością jest zbiór obiektów. Na przykład dla obiektu osoba ważnym atrybutem jest:
lista publikacji
lista wdrożeń opisująca projekt
lista publikacji opracowanych w ramach projektu.
Atrybuty złożone w wykazie atrybutów w nazwie mają słowo lista. Istotną cechą atrybutów złożonych jest to, że w tabeli wynikowej mogą one być wizualizowane jedynie jako:
zbiór (np. przez wylistowanie w komórce wartości atrybutów docelowych, tj. identyfikatory, nazwy, imiona i nazwiska)
...
za pomocą funkcji agregujących; na przykład dla atrybutu Lista Publikacji może to być liczność zbioru (w tym przypadku liczba autorów z wyszukanego zbioru) lub suma punktów przypisanych tym publikacjom.
...
Ponieważ obiekty z listy mogą mieć określoną typologię, często zachodzi potrzeba ograniczenia listy do określonego typu, dlatego atrybuty złożone często są wyposażone w szereg parametrów, które pozwalają ograniczyć zbiór listy do pewnego podzbioru.
Ograniczenia wprowadza się za pomocą ikony koła zębatego.
...
Atrybut Lista publikacji ma kategorie, tj. zakres lat, rodzaj publikacji i znacznik pomijania dorobku nieafiliowanego przy instytucji.
Rozważmy przypadek, gdy chcemy w tabeli pracowników pokazać dorobek publikacyjny w zadanym zakresie lat, z rozbiciem na poszczególne typy publikacji. Oznacza to, że w przypadku atrybutu złożonego może zachodzić potrzeba jego użycia dla zbudowania kilku kolumn w tabeli dla:
artykułów z czasopism,
rozdziałów w monografiach,
artykułów z recenzowanych materiałów konferencyjnych.
Z tego względu zachodzi konieczność stosowania kilkakrotnie funkcji agregujących, oddzielnie dla artykułów z czasopism, rozdziałów w monografiach, artykułów w recenzowanych materiałach konferencyjnych. Z drugiej strony, w każdej z tych kolumn chcielibyśmy mieć to samo ograniczenie listy publikacji do określonego przedziału lat. Dlatego możliwość definiowania parametrów istnieje na dwóch poziomach:
listy atrybutów (ustalenie wspólne dla wszystkich kolejnych użyć tego atrybutu)
funkcji agregującej (ustalenie specyficzne tylko dla wybranego agregatu).
Przykład 1.
Dla rozważanego przykładu atrybutu Lista publikacji przedział lat można określić na wyższym poziomie (tj. na liście dostępnych atrybutów), natomiast podtyp publikacji można określić poprzez ograniczenie funkcji agregującej.
Dwa miejsca wyboru parametrów:
zakres lat – atrybut Lista publikacji (parametr wspólny)
podtyp publikacji – pola agregujące Lista publikacji (rozdzielnie dla każdego podtypu).
...
Efekt może być następujący:
...
Przykład 2.
Załóżmy, że dla określonej dyscypliny naukowej chcemy utworzyć raport zawierający w kolejnych kolumnach sumę punktów nominalnych bezwzględnych dla monografii z Wykazu, artykułów w materiałach konferencyjnych, artykułów w czasopismach z Wykazu, w latach 2017-2020.
By otrzymać taki raport:
Wyszukaj publikacje pracowników z określonej dyscypliny i zaznacz wszystkie rekordy na ekranie wyników
Wybierz Pivot pracowników, a następnie Pobierz n w formacie
Wybierz Pobierz jako HTML
Zdefiniuj tabelę przestawną:
Do wierszy przyporządkuj atrybut Afiliacja
Ustaw dla tego atrybutu parametr hierarchii generuj głębokość w przedziale: minimalna = 1, maksymalna = 2, tak by nazwy wydziałów i instytutów były widoczne
Na liście dostępnych atrybutów dla atrybutu Lista publikacji ustaw parametry Lata od i Lata do, odpowiednio: 2017 i 2020
Ustaw trzy pola agregujące na Lista publikacji, każdy na funkcję Suma punktów nominalnych bezwzględnych; nadaj poszczególnym polom nazwy: Artykuły w czasopism z Wykazu, Monografie i rozdziały, Materiały konferencyjne
Ustaw korzystając z ikony koła zębatego parametr ograniczający zbiór publikacji do odpowiednich podzbiorów, oddzielnie dla kolejnych trzech funkcji agregujących
Zaktualizuj tabelę.
...
Dla niektórych atrybutów (liczbowych) jest także możliwość zdefiniowania przedziałów. Atrybuty te także oznaczone są ikoną koła zębatego, np. Wiek
...
Pozostałe ustawienia atrybutów
W przypadku niektórych atrybutów są jeszcze dwie opcje, które można wykorzystać przy tworzeniu tabeli:
parametr sortowania
parametr podsumowania
...
Ustawienie obu parametrów można zmienić przez kliknięcie na ikonach tych parametrów.
Parametr sortowania
Parametr sortowania zapewnia uporządkowanie wierszy lub kolumn, w zależności od tego gdzie atrybut jest użyty:
rosnąco – gdy strzałka jest skierowana do dołu,
malejąco – gdy strzałka jest skierowana do góry.
Parametr sumy
Parametr sumy pozwala dla nadrzędnych atrybutów hierarchii utworzyć wiersz z podsumowaniem. Parametr podsumowania działa dla atrybutów hierarchicznych, gdy generowane są co najmniej dwa poziomy hierarchii. Dodatkowym warunkiem działania tego parametru jest włączenie opcji Podsumowanie wiersza.
...
The attributes (features) describe objects. We distinguish the attributes:
simple
complex
hierarchical
with parameters.
Simple attribute
A simple attribute is an attribute whose value is a simple value, e.g. a number or a literal (a lexical unit representing a fixed numerical or text value, etc.). For a simple attribute, there are no parameters that the user can define when generating the table. Examples of simple attributes are: Active , Surname and First Name , ScopusID.
Complex hierarchical attribute
A complex hierarchical attribute is an attribute whose values build a taxonomy (tree) structure. Hierarchical attributes in the attribute list are marked with a tree icon:
...
The terminal value of a hierarchical attribute is the value at the leaf level in the tree.
An example of hierarchical attribute is affiliation. The Affiliation attribute determines the unit of employment of a university employee (at the leaf level). Usually it is one of the faculty units (institute, department, cathedral). As within the hierarchy the higher levels inherit from the lower ones, the staff member affiliated to an institute at a given department is also affiliated at the department. Also, the achievements of the institute are also the achievements of the department. If:
the structure is a tree in which the path to each leaf is of the same length, e.g. each employee is employed at an institute that is part of a faculty and there are no exceptions to this rule
andthe value assigned to an object is a leaf in the tree structure , in this case it is an institute
then you can select such an attribute to show the entire hierarchy of values. This is illustrated in the table below. At the first level there is a department, at the second level there are units subordinated to the departments.
...
In reality, the situation is usually different. Not all employees at faculties have to be assigned to the lowest level units - some are affiliated to the higher level (faculty ), others to subordinated institutes and departments, therefore the first row for each faculty may have no title in the Affiliation (2) column (like in the case of the faculty WF above).
If the hierarchy of attribute values is irregular, i.e. the distances to the root are different for different leaves in this hierarchy, it is recommended not to present the table in a hierarchical structure. The alternative in this case is:
showing only the highest level of the hierarchy, e.g. department names
showing only the lowest values of the hierarchy (leaves), e.g. plant names
showing the highest level, and showing the leaves as subordinate values
The way a hierarchical attribute is treated can be determined by clicking the hierarchy icon - tree.
...
There are three options in the opened window:
setting a range for the depth of the tree,
selecting only the root level (top level),
selecting only the leaf level (lowest).
Selecting the root will give the table with one row for the whole university:
...
Setting the minimum and maximum values for the Affiliation attribute at level 1 will result in a table with one level for this attribute - these will be departments.
...
In such a case, the number of people employed at the faculty but not affiliated with the subordinate units will be "included" in the total number of employees of the faculty units.
...
Complex attribute with parameters
A complex attribute is also an attribute whose value is a set of objects. For example, for the object PERSON, the important attribute is:
list of publications
list of implementations describing the project
list of publications developed as part of the project.
Complex attribute in an attribute list have the word list in their name. An important feature of complex attributes is that in the result table they can only be visualized as:
set (e.g. by listing the values of target attributes in a cell, i.e. identifiers, names, first and last names)
using aggregation functions; for example, for the Publication List attribute it may be the cardinality of the set (the number of items in the set) or the sum of points assigned to these publications.
Since objects from a list can have a specific typology, there is often a need to limit the list to a specific type, which is why complex attributes are often equipped with a number of parameters that allow you to limit the set of the list to a certain subset. Restrictions are entered using the gear icon:
...
The attribute List of publications has parameters, i.e. range of years, type of publication and a marker for omitting achievements not affiliated with the institution.
...
Let us consider the case when we want to show the publication achievements in a given range of years in the employee table, broken down into specific types of publications. This means that in the case of a complex attribute, you may need to use it to build several columns in a table for:
journal papers,
chapters from monographs,
papers from reviewed conference materials.
For this reason, it is necessary to use aggregation functions several times, separately for journal articles, chapters in monographs, and articles in reviewed conference materials. On the other hand, in each of these columns we would like to have the same limitation of the list of publications to a specific year range. Therefore, the possibility of defining parameters exists on two levels:
attribute lists (an arrangement common to all subsequent uses of this attribute)
aggregation function (setting specific only to the selected aggregate).
For some (numeric) attributes it is also possible to define ranges. These attributes are also marked with a gear icon, e.g. Age
Other attribute settings
For some attributes, there are two more options that can be used when creating a table:
1. sort parameter
2. summary parameter
The setting of both parameters can be changed by clicking on the icons of these parameters.
Sort parameter
The sort parameter provides an ordering of rows or columns, depending on where the attribute is used:
ascending – when the arrow points down,
descending - when the arrow points up.
Sum parameter
The sum parameter allows you to create a summary row for the parent attributes of the hierarchy. The summary parameter works for hierarchical attributes when at least two levels of hierarchy are generated. An additional condition for this parameter to work is that the Row Summary option is enabled .