Open nichtich opened 1 year ago
Most relevant fields of a mapping record:
JSKOS mapping can only be transformed to SSSOM if from.memberSet.length == 1 && to.memberSet.length <= 1
.
SSSOM Mapping | JSKOS Mapping |
---|---|
record_id (proposed) | uri |
predicate_id | type |
subject_id | from.memberSet[0].uri |
subject_label | from.memberSet[0].prefLabel repeatable |
object_id | to.memberSet[0].uri or sssom:noTermFound |
object_label | to.memberSet[0].prefLabel[] repeatable |
confidence | mappingRelevance |
creator_id | creator[].uri repeatable |
creator_label | creator[].prefLabel[] repeatable |
mapping_date | created |
publication_date | issued |
predicate_modifier | missing in JSKOS! |
Open questions:
How are mappings beyond 1-to-1 expressed in SSSOM?
There are many kinds of 1-to-1 mappings and I generally recommend the people I work with to stop using that term.
If you mean:
mapping_cardinality
field.http://my.org/schema/0001/(disease1:'MONDO:0005148',disease2:'MONDO:0000960',excluded:'HP:0100758')
as a subject_id in a SSSOM file. As I said, not SSSOM, and half the SSSOM team is against its existence.How are null-mappings expressed in SSSOM?
Another tough one to nail down unfortunately:
I personally have been using:
:A
skos:exactMatch sssom:noTermFound
, but this has not been approved into the standard, despite a not so greatly attended vote in this issue https://github.com/mapping-commons/sssom/issues/28. Feel free to comment on the issue if you want us to move it faster into the standard.
Thanks a ton for doing this @nichtich! It would be great if we could include a JSKOS parser into sssom-py when your mapping is complete!
Thanks for clarification:
"complex mapping", which is currently outside of SSSOM.
Ok, so these won't be convertable from JSKOS to SSSOM (but they make up a minority of mappings anyway).
sssom:NoTermFound
Looks good to me. Again, these mapings are not frequent.
Negative Mappings are not supported in JSKOS (yet).
What a surprise two independent intitiatives for terminology mapping exist since years without knowing about each other:
Ontologies are a special case of general knowledge organization systems or terminologies (authority files, taxonomies, classifications, thesauri, gazetteers...) so coli-conc is more general but the main use case is systems below ontologies and semantic networks (see KOS typology).
A first comparison between SSSOM and JSKOS elements shows large overlap. Independent development of similar solutions to similar problems is a good indicator for a good solution.
JSKOS defined as JSON format with a JSON-LD context so it can be mapped to RDF as well. In contrast to SSSOM, most properties are reused from other ontologies (e.g. Dublin Core and FOAF) instead of minting new URIs. SSSOM should include mappings to JSKOS classes and properties.