Skip to content
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

Unresolvable IRIs #1810

Closed
ghost opened this issue Jan 19, 2023 · 16 comments
Closed

Unresolvable IRIs #1810

ghost opened this issue Jan 19, 2023 · 16 comments

Comments

@ghost
Copy link

ghost commented Jan 19, 2023

There are several terms in CL with unresolvable IRIs. These appear to be relations in CL but not in RO and have an octothorpe in the IRI.

For example, http://purl.obolibrary.org/obo/cl#lacks_plasma_membrane_part

@shawntanzk provided a link to this file, which may be key in addressing the issue.

FYI, @anitacaron

@ghost ghost added the help wanted label Jan 19, 2023
@dosumis
Copy link
Contributor

dosumis commented Jan 19, 2023

Agree should be fixed here:
https://github.com/OBOFoundry/purl.obolibrary.org/blob/master/config/cl.yml

@anitacaron - could you have a go at making a PR to fix? Not Urgent. (If you haven't edited these before, Huseyin can help)

@ghost
Copy link
Author

ghost commented Jan 19, 2023

Looking at the yaml file, would the fix be to add these lines?

- prefix: http://purl.obolibrary.org/obo/cl#
  replacement: https://ontobee.org/ontology/CL?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2Fcl%23

Also, there are many GitHub links referenced in the yaml file. Should those be updated to PURLs?

@balhoff
Copy link
Member

balhoff commented Jan 19, 2023

In my opinion instead of making these resolvable, they should all be replaced with numeric identifiers. I've been working toward this in various ontologies (didn't get to CL yet): INCATools/ubergraph#102

These hash IRIs create massive confusion for users, and don't have any canonical CURIE form.

@balhoff
Copy link
Member

balhoff commented Jan 19, 2023

Also, there are many GitHub links referenced in the yaml file. Should those be updated to PURLs?

@bvarner-ebi that's the file that makes the PURLs work, so in this case you do need to point to GitHub.

@ghost
Copy link
Author

ghost commented Jan 19, 2023

Also, there are many GitHub links referenced in the yaml file. Should those be updated to PURLs?

@bvarner-ebi that's the file that makes the PURLs work, so in this case you do need to point to GitHub.

Thank you for explaining!

@anitacaron
Copy link
Contributor

I agree with @balhoff. It's better and easier to replace all properties with numeric identifiers.

@ghost ghost self-assigned this Jan 20, 2023
@dosumis
Copy link
Contributor

dosumis commented Feb 15, 2023

Proposal is to use CL IDs for these. I think this is a reasonable solution.

@ghost
Copy link
Author

ghost commented Feb 22, 2023

Below is a list of object properties in CL without numeric identifiers. The majority are imported from other ontologies.
As an initial next step, I will reassign numeric identifiers to the native CL properties.

Object properties in CL without numeric identifiers

http://purl.obolibrary.org/obo/chebi#has_functional_parent
http://purl.obolibrary.org/obo/chebi#has_parent_hydride
http://purl.obolibrary.org/obo/chebi#is_conjugate_acid_of
http://purl.obolibrary.org/obo/chebi#is_conjugate_base_of
http://purl.obolibrary.org/obo/chebi#is_enantiomer_of
http://purl.obolibrary.org/obo/chebi#is_substituent_group_from
http://purl.obolibrary.org/obo/chebi#is_tautomer_of
http://purl.obolibrary.org/obo/cl#has_not_completed
http://purl.obolibrary.org/obo/cl#lacks_part
http://purl.obolibrary.org/obo/cl#lacks_plasma_membrane_part

http://purl.obolibrary.org/obo/pr#has_constituent_monomer
http://purl.obolibrary.org/obo/pr#lacks_part
http://purl.obolibrary.org/obo/uberon/core#posteriorly_connected_to
http://purl/obolibrary.org/obo/uberon/core#anteriorly_connected_to
http://purl/obolibrary.org/obo/uberon/core#channel_for
http://purl/obolibrary.org/obo/uberon/core#channels_from
http://purl/obolibrary.org/obo/uberon/core#channels_into
http://purl/obolibrary.org/obo/uberon/core#conduit_for
http://purl/obolibrary.org/obo/uberon/core#distally_connected_to
http://purl/obolibrary.org/obo/uberon/core#extends_fibers_into
http://purl/obolibrary.org/obo/uberon/core#filtered_through
http://purl/obolibrary.org/obo/uberon/core#indirectly_supplies
http://purl/obolibrary.org/obo/uberon/core#layer_part_of
http://purl/obolibrary.org/obo/uberon/core#posteriorly_connected_to
http://purl/obolibrary.org/obo/uberon/core#protects
http://purl/obolibrary.org/obo/uberon/core#proximally_connected_to
http://purl/obolibrary.org/obo/uberon/core#proximally_connected_to
http://purl/obolibrary.org/obo/uberon/core#sexually_homologous_to
http://purl/obolibrary.org/obo/uberon/core#site_of
http://purl/obolibrary.org/obo/uberon/core#subdivision_of
http://purl/obolibrary.org/obo/uberon/core#synapsed_by
http://purl/obolibrary.org/obo/uberon/core#transitively_anteriorly_connected_to
http://purl/obolibrary.org/obo/uberon/core#transitively_distally_connected_to
http://purl/obolibrary.org/obo/uberon/core#transitively_proximally_connected_to
http://purl/obolibrary.org/obo/uberon/core#trunk_part_of

ghost pushed a commit that referenced this issue Feb 22, 2023
assign numeric IDs to native CL object properties
ghost pushed a commit that referenced this issue Feb 24, 2023
@ghost
Copy link
Author

ghost commented Feb 24, 2023

CL terms addressed in #1854.

http://purl.obolibrary.org/obo/cl#has_not_completed --> http://purl.obolibrary.org/obo/CL_4030044
http://purl.obolibrary.org/obo/cl#lacks_part --> http://purl.obolibrary.org/obo/CL_4030045
http://purl.obolibrary.org/obo/cl#lacks_plasma_membrane_part --> http://purl.obolibrary.org/obo/CL_4030046

Next steps (see comments below):
[ ] Follow up with CHEBI on updating identifiers
[ ] Follow up with Uberon on updating identifiers (@anitacaron, is this something you were investigating?)
[ ] Investigate replacing instances of PR relation lacks_part with CL:4030045 lacks_part
[ ] Follow up with PR on updating identifier for has_constituent_monomer (and lacks_part if not replaced by CL lacks_part)

@dosumis
Copy link
Contributor

dosumis commented Feb 24, 2023

Trying to fix everyone else's identifiers looks like unsustainable scope creep to me. If this is prompted by validation fails then the validation checks should be updated to ensure they don't run on imports (I think this should be a general principle).

lacks_part should have a separate ticket for review of usage. It is potentially dangerous to hide negation in a positive statement (see the example of lacks_part lobed nucleus => inference of anucleate described in #93 )

@ghost
Copy link
Author

ghost commented Feb 27, 2023

@balhoff, you mentioned that you are working toward getting numeric identifiers updated in various ontologies. The ones currently imported in CL that are missing these are from CHEBI, Uberon and PR. Are these ontologies on your list?

@balhoff
Copy link
Member

balhoff commented Feb 27, 2023

@bvarner-ebi here is an issue linking several other issues to work on that: INCATools/ubergraph#102

But none of the ones you mentioned have been addressed yet. I thought there was an Uberon issue, but I can't find it now.

@ghost
Copy link
Author

ghost commented Feb 28, 2023

Covered in INCATools/ubergraph#102:
[ ] Follow up with CHEBI on updating identifiers
[ ] Follow up with PR on updating identifiers

@balhoff - can you add Uberon to the scope of INCATools/ubergraph#102?
[ ] Follow up with Uberon on updating identifiers (@anitacaron, is this something you were investigating?)

Covered in #1863:
[ ] Investigate replacing instances of PR relation lacks_part with CL:4030045 lacks_part

@anitacaron
Copy link
Contributor

I'll create a general ticket in Uberon and link it to the Ubergraph ticket. I started fixing the two properties that are already available in RO.

@ghost
Copy link
Author

ghost commented Feb 28, 2023

Closing this ticket as the issue regarding native object properties in CL has been addressed in #1854 and pending items will be covered in separate tickets.

@ghost ghost closed this as completed Feb 28, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants