Skip to content

Clustering types

Simon edited this page Jul 9, 2024 · 10 revisions

If you notice that multiple type IRIs refer to the same (or a similar) thing, you might want to cluster types.

Warning

A clustered type refers to multiple IRIs, which means that hyperlinking functionality is automatically removed for clustered types.

Example

In the Records in Contexts-Ontology (RiC-O), it might not add much to the user experience to show the rico:RecordSet and ric-rst:File as separate types. To show both as a single, clustered type, add an entry to the clustering/types field in config/settings.ts.

clustering: {  
  types: {  
    recordSet: {  
      label: 'RecordSet',  
      valueIds: [  
        'https://www.ica.org/standards/RiC/ontology#RecordSet',  
        'https://www.ica.org/standards/RiC/vocabularies/recordSetTypes#File',  
      ],  
    },  
}