-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling multiple config/*property-map*.sssom.tsv
s
#482
Comments
Context: this comment @twhetzel I'm making this one high priority just because it is such a quick change to make. |
config/*property-map*.sssom.tsv
s
And also one advantage of splitting them up is that we can drop |
There's also the possible problem that if we merge them into 1 file and leave the other one blank, then when ROBOT fixes this problem, it might get annoyed by the blank file? Maybe not. |
We've decided this issue is a bit of a distraction. We can always re-open it if needed, especially if ROBOT fixes the issue where 2 property maps / more than one are arbitrarily required. |
@matentzn BTW, I couldn't find an issue for this in the robot GitHub.If there's not one there, should I make one? |
If you like, the issue would go something like this:
In many pipelines, especially ETL, we want to unify a few different properties like |
I may be following you, but let me check. Cases:
Are you saying that Example files from mondo-ingest property map TSV files
subject_id object_id
http://purl.org/dc/elements/1.1/source oboInOwl:source
http://www.w3.org/2004/02/skos/core#prefLabel http://www.w3.org/2000/01/rdf-schema#label
http://www.w3.org/2004/02/skos/core#altLabel oboInOwl:hasExactSynonym
subject_id object_id
http://www.ebi.ac.uk/efo/definition http://purl.obolibrary.org/obo/IAO_0000115
http://www.ebi.ac.uk/efo/reason_for_obsolescence rdfs:comment
http://www.ebi.ac.uk/efo/alternative_term oboInOwl:hasExactSynonym
http://purl.obolibrary.org/obo/ECO_0000218 oboInOwl:source So for
--->
|
No it would only enable (1). Many different labels properties unify to a single rdfs:label property. The reverse makes no sense, so no need for a specific issue on this (Imagine you have rdfs:label and rename it to 3 different label properties - that would be duplicating information). |
Yeah that makes sense, I was just confused by what you'd written. OK, so I can make an issue to enable (1) Many -> 1 situations, via I wonder why should Many -> 1 even be an issue? Why should we have to add such a flag? I guess I figured out why. Like for example, in |
Imagine you have an ontology that imports another ontology. The first one uses dcterms:contributor the other one oboInOwl:creator. Now before you create a merged release you want to unify both to dcelements:contributor. That's a use case for ROBoT! Thanks for making the issue! |
@matentzn hanks. That's not what I was pondering. I wondered why robot doesn't allow these duplicates by default but I think I pondered the reason. |
Overview
There are multiple
config/*property-map*.sssom.tsv
files. De-proliferate these.Sub-task list
mondo-ingest.Makefile
Sub-task details
2. Implement solution
a. Single file (if allowable, though there may be some weird ROBOT issue prohibiting it)
b. Merge all mappings into 1 file, and have a second, empty file (to get around ROBOT issue)
c. Keep
property-map-1
andproperty-map-2
as-is, and then add other ones, e.g.icd11foundation-property-map
file into one of these. One disadvantage of that is this.Additional details about solutions: #434 (comment)
The text was updated successfully, but these errors were encountered: