-
Notifications
You must be signed in to change notification settings - Fork 8
Clustering types
Simon edited this page Jul 8, 2024
·
10 revisions
If you notice that multiple type IRIs refer to the same (or a similar) thing, you might want to cluster types.
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 src/app/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',
],
},
}!
Warning
A clustered type can refer to multiple IRIs, which means that hyperlinking functionality is automatically removed for clustered types.
This project is still in the prototyping phase. If you have any questions, thoughts or feedback, please reach out to Simon Dirks (mail@simondirks.com).
- Rendering components by type
- Rendering components by predicate
- Pre-defined predicate render components