who-icatx / whofic-models

Information models used to represent artifacts for WHO-FIC classifications
0 stars 0 forks source link

How to reference linearization views? #23

Open samsontu opened 3 months ago

samsontu commented 3 months ago

Currently, in the linearization specifications of an ICD entities, we reference the linearizationViews using IRIs (e.g., "linearizationView": "http://id.who.int/icd/release/11/mms"

The model for the LinearizationView also as a string Id: LinearizationView: is_a: ContentModelEntity description: >- The schema of a linearization slots:

Is there a good reason to use an IRI versus a string id (e.g., "MMS")?

tudorache commented 3 months ago

No, we can use either. I would use an IRI to keep in line with the OWL id conventions.

In the linearizationViewDefinition file, we have both a String id ("MMS") and the IRI ("http://id.who.int/icd/release/11/mms") that we can use as ID.