Closed rowlesmr closed 1 year ago
The information that is most important is _name.linked_item_id
. The meaning of _type.purpose
Link
is given in the ddl dictionary.
The scope is the whole dataset, that is, all data blocks that form part of the data set. That is because data blocks are generally meant to be "invisible" when constructing the dictionary - except for deciding on the Set
categories.
Generally all of the _diffractogram_id
and _phase_id
type data names should just have a _name.linked_item_id
of _pd_diffractogram.id
or _pd.phase.id
respectively.
The whole _pd_data.point_id
situation is a slightly hacky compromise to express that the pd_calc
, pd_meas
and pd_proc
values can be tabulated together or apart. The view is taken that if _pd_data.point_id
is missing, it can be reconstructed as the union of all points mentioned in the other three categories. It's probably better to study how _atom_site.label
is used in cif_core to learn about linked data names.
I think I have an understanding of it now.
I'm trying to figure out how
_type.purpose Link
worksFor instance, in the definition (copied below) of
_pd_calc_component.point_id
, its value is linked to_pd_data.point_id
. Does this mean that the value given to_pd_calc_component.point_id
must also be a valid value of_pd_data.point_id
? What is the scope? Must the valid_pd_data.point_id
be in the same block as_pd_calc_component.point_id
? I'm assuming that the link goes from_pd_calc_component.point_id
to_pd_data.point_id
; i.e. the presence of_pd_calc_component.point_id
implies the existance of_pd_data.point_id
, but not vice versa.I'm just trying to figure out what (if any) links will need to be added to take advantage of the new
_pd_phase.id
and_pd_diffractogram.id
.