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

Add symbols for BDS terms #1808

Merged
merged 11 commits into from
Jul 18, 2023
Merged

Add symbols for BDS terms #1808

merged 11 commits into from
Jul 18, 2023

Conversation

shawntanzk
Copy link
Contributor

drafting first, probably need a look through to standardise things a bit more

@shawntanzk shawntanzk self-assigned this Jan 19, 2023
@shawntanzk
Copy link
Contributor Author

#gogoeditdiff

@github-actions
Copy link

github-actions bot commented Jan 19, 2023

Here's a diff of how these changes impact the classified ontology (on -simple file):

Ontology comparison

Left

  • Ontology IRI: http://purl.obolibrary.org/obo/cl/cl-simple.owl
  • Version IRI: http://purl.obolibrary.org/obo/cl/releases/2023-07-18/cl-simple.owl
  • Loaded from: file:/__w/cell-ontology/cell-ontology/src/ontology/cl-simple-master.owl/cl-simple.owl

Right

  • Ontology IRI: http://purl.obolibrary.org/obo/cl/cl-simple.owl
  • Version IRI: http://purl.obolibrary.org/obo/cl/releases/2023-07-18/cl-simple.owl
  • Loaded from: file:/__w/cell-ontology/cell-ontology/src/ontology/cl-simple-pr.owl/cl-simple.owl

Ontology imports

Ontology annotations

IAO_0000028 http://purl.obolibrary.org/obo/IAO_0000028

Added

IAO_0000231 http://purl.obolibrary.org/obo/IAO_0000231

Added

L2/3 bipolar vip GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023007

Added

L2/3 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023047

Added

L2/3-6 intratelencephalic projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023040

Added

L2/3/5 fan Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023030

Added

L4 sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023031

Added

L4/5 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023048

Added

L5 T-Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023027

Added

L5 extratelencephalic projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023041

Added

L5 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023049

Added

L5 non-Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023028

Added

L5 vip cortical GABAergic interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023014

Added

L5,6 neurogliaform lamp5 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023023

Added

L5/6 cck cortical GABAergic interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023071

Added

L5/6 near-projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023043

Added

L5/6 non-Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023118

Added

L6 corticothalamic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023042

Added

L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023050

Added

L6 tyrosine hydroxylase sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023075

Added

L6b glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023038

Added

L6b subplate glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023046

Added

MISSPELLING http://purl.obolibrary.org/obo/uberon/core#MISSPELLING

Added

alpha7 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023010

Added

canopy lamp5 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023022

Added

caudal ganglionic eminence derived GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023070

Added

caudal ganglionic eminence derived interneuron http://purl.obolibrary.org/obo/CL_4023064

Added

chandelier pvalb GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023036

Added

corticothalamic VAL/VM projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023055

Added

corticothalamic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023013

Added

definition http://purl.obolibrary.org/obo/IAO_0000115

Added

The official OBI definition, explaining the meaning of a class or property: 'Shall be Aristotelian, formalized and normalized. Can be augmented with colloquial definitions' is terrible.

Can you fix to something like:

A statement of necessary and sufficient conditions explaining the meaning of an expression referring to a class or property.

Alan Ruttenberg

Your proposed definition is a reasonable candidate, except that it is very common that necessary and sufficient conditions are not given. Mostly they are necessary, occasionally they are necessary and sufficient or just sufficient. Often they use terms that are not themselves defined and so they effectively can't be evaluated by those criteria.

On the specifics of the proposed definition:

We don't have definitions of 'meaning' or 'expression' or 'property'. For 'reference' in the intended sense I think we use the term 'denotation'. For 'expression', I think we you mean symbol, or identifier. For 'meaning' it differs for class and property. For class we want documentation that let's the intended reader determine whether an entity is instance of the class, or not. For property we want documentation that let's the intended reader determine, given a pair of potential relata, whether the assertion that the relation holds is true. The 'intended reader' part suggests that we also specify who, we expect, would be able to understand the definition, and also generalizes over human and computer reader to include textual and logical definition.

Personally, I am more comfortable weakening definition to documentation, with instructions as to what is desirable.

We also have the outstanding issue of how to aim different definitions to different audiences. A clinical audience reading chebi wants a different sort of definition documentation/definition from a chemistry trained audience, and similarly there is a need for a definition that is adequate for an ontologist to work with. "@en

editor note http://purl.obolibrary.org/obo/IAO_0000116

Added

expand expression to http://purl.obolibrary.org/obo/IAO_0000424

Added

expresses http://purl.obolibrary.org/obo/RO_0002292

Removed

Added

  • expresses definition "y expresses x if and only if there is a gene expression process (GO:0010467) that occurs in y, and one of the following holds: (i) x is a gene, and x is transcribed into a transcript as part of the gene expression process (ii) x is a transcript, and x was transcribed from a gene as part of the gene expression process (iii) x is a mature gene product (protein or RNA), and x was translated or otherwise processed from a transcript that was transcribed as part of the gene expression process."

extratelencephalic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023009

Added

has high plasma membrane amount http://purl.obolibrary.org/obo/RO_0015015

Removed

Added

has low plasma membrane amount http://purl.obolibrary.org/obo/RO_0015016

Removed

Added

has sensory dendrite in http://purl.obolibrary.org/obo/RO_0013007

Removed

Added

has soma location http://purl.obolibrary.org/obo/RO_0002100

Removed

Added

has synaptic IO in region http://purl.obolibrary.org/obo/RO_0013001

Removed

Added

intratelencephalic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023008

Added

inverted L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex (Mmus) http://purl.obolibrary.org/obo/CL_4023081

Added

lamp5 GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023011

Added

located in http://purl.obolibrary.org/obo/RO_0001025

Added

medial ganglionic eminence derived GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023069

Added

medial ganglionic eminence derived interneuron http://purl.obolibrary.org/obo/CL_4023063

Added

medulla-projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023045

Added

meis2 expressing cortical GABAergic cell http://purl.obolibrary.org/obo/CL_4023065

Added

near-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023012

Added

neurogliaform lamp5 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023024

Added

non-medulla, extratelencephalic-projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023044

Added

part_of http://purl.obolibrary.org/obo/BFO_0000050

Added

preferred_root http://purl.obolibrary.org/obo/IAO_0000700

Added

pvalb GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023018

Added

sncg GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023015

Added

sst GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023017

Added

sst chodl GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023121

Added

stellate L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex (Mmus) http://purl.obolibrary.org/obo/CL_4023080

Added

term replaced by http://purl.obolibrary.org/obo/IAO_0100001

Added

term tracker item http://purl.obolibrary.org/obo/IAO_0000233

Added

vip GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023016

Added

@github-actions
Copy link

github-actions bot commented Jan 19, 2023

Here's a diff of your edit file (unreasoned)

Ontology comparison

Left

  • Ontology IRI: http://purl.obolibrary.org/obo/cl.owl
  • Version IRI: None
  • Loaded from: file:/__w/cell-ontology/cell-ontology/master/src/ontology/cl-edit.owl

Right

  • Ontology IRI: http://purl.obolibrary.org/obo/cl.owl
  • Version IRI: None
  • Loaded from: file:/__w/cell-ontology/cell-ontology/branch/src/ontology/cl-edit.owl

Ontology imports

Ontology annotations

L2/3 bipolar vip GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023007

Added

L2/3 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023047

Added

L2/3-6 intratelencephalic projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023040

Added

L2/3/5 fan Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023030

Added

L4 sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023031

Added

L4/5 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023048

Added

L5 T-Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023027

Added

L5 extratelencephalic projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023041

Added

L5 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023049

Added

L5 non-Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023028

Added

L5 vip cortical GABAergic interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023014

Added

L5,6 neurogliaform lamp5 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023023

Added

L5/6 cck cortical GABAergic interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023071

Added

L5/6 near-projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023043

Added

L5/6 non-Martinotti sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023118

Added

L6 corticothalamic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023042

Added

L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023050

Added

L6 tyrosine hydroxylase sst GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023075

Added

L6b glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023038

Added

L6b subplate glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023046

Added

alpha7 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023010

Added

canopy lamp5 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023022

Added

caudal ganglionic eminence derived GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023070

Added

caudal ganglionic eminence derived interneuron http://purl.obolibrary.org/obo/CL_4023064

Added

chandelier pvalb GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023036

Added

corticothalamic VAL/VM projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023055

Added

corticothalamic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023013

Added

extratelencephalic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023009

Added

intratelencephalic-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023008

Added

inverted L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex (Mmus) http://purl.obolibrary.org/obo/CL_4023081

Added

lamp5 GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023011

Added

medial ganglionic eminence derived GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023069

Added

medial ganglionic eminence derived interneuron http://purl.obolibrary.org/obo/CL_4023063

Added

medulla-projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023045

Added

meis2 expressing cortical GABAergic cell http://purl.obolibrary.org/obo/CL_4023065

Added

near-projecting glutamatergic cortical neuron http://purl.obolibrary.org/obo/CL_4023012

Added

neurogliaform lamp5 GABAergic cortical interneuron (Mmus) http://purl.obolibrary.org/obo/CL_4023024

Added

non-medulla, extratelencephalic-projecting glutamatergic neuron of the primary motor cortex http://purl.obolibrary.org/obo/CL_4023044

Added

pvalb GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023018

Added

sncg GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023015

Added

sst GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023017

Added

sst chodl GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023121

Added

stellate L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex (Mmus) http://purl.obolibrary.org/obo/CL_4023080

Added

symbol http://purl.obolibrary.org/obo/IAO_0000028

Added

vip GABAergic cortical interneuron http://purl.obolibrary.org/obo/CL_4023016

Added

@shawntanzk
Copy link
Contributor Author

#gogoeditdiff

@shawntanzk shawntanzk marked this pull request as ready for review January 19, 2023 11:17
@shawntanzk
Copy link
Contributor Author

Not sure why, but it isnt importing IAO_0000028 (symbol) in despite it being present in the term file.
Don't think its a bit deal for now, but we should defs look into it down the road if people are going to be using that AP

@anitacaron
Copy link
Contributor

IAO annotations are all on OMO. It needs to add to the import list.

@anitacaron
Copy link
Contributor

I can create a PR adding the OMO import.

@shawntanzk
Copy link
Contributor Author

hmmm @anitacaron I've added OMO and all but doesn't seem to want to import IAO_0000028 (symbol) still

@dosumis
Copy link
Contributor

dosumis commented Jan 24, 2023

Does the import system work for APs? Has never been clear to me.

@shawntanzk
Copy link
Contributor Author

Does the import system work for APs? Has never been clear to me.

that is a good question, don't think I've imported an AP before hmmm - if we cant import it, how do we use it? just with a label?

@github-actions
Copy link

This PR has not seen any activity in the past month; if nobody comments or reviews it in the next week, the PR editor will be allowed to proceed with merging without explicit approval, should they wish to do so.

@anitacaron
Copy link
Contributor

I'm updating this issue to try to merge it if it's still pertinent.

  1. Symbol is not in OMO
  2. Symbol is not an annotation property, but a class https://www.ebi.ac.uk/ols4/ontologies/iao/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FIAO_0000028
  3. If still needed, should import IAO instead of OMO.

@anitacaron
Copy link
Contributor

I can fix the many conflicts if this is still relevant.

@shawntanzk
Copy link
Contributor Author

I think these are still useful, though honestly at this point, I think its easier to just reopen a new PR and use the diff here to add those symbols in. Happy to do it, but ODK is hard for me to access here, so would much prefer it if someone could create a branch with symbol being imported from IAO, and I can work from there. Thanks :)

@dosumis
Copy link
Contributor

dosumis commented Jul 13, 2023

Would like symbol added ASAP. Anyone know if we can legally pun class -> AP?

@hkir-dev
Copy link
Contributor

class-AP punning is allowed https://www.w3.org/TR/owl2-new-features/#F12:_Punning
class-datatype punning and punning among different property types are not allowed.

@anitacaron
Copy link
Contributor

@shawntanzk, we can always update the PR, no need to create another one. I'll update this PR.

@anitacaron anitacaron self-assigned this Jul 13, 2023
@dosumis
Copy link
Contributor

dosumis commented Jul 13, 2023

class-AP punning is allowed https://www.w3.org/TR/owl2-new-features/#F12:_Punning

Seems like we need a dedicated make goal that adds AP declaration for IAO classes (although I think OMO was meant to solve this)

@anitacaron
Copy link
Contributor

Can it be declared in the cl-edit.owl file?

@shawntanzk
Copy link
Contributor Author

Can it be declared in the cl-edit.owl file?

Is there a reason we need to declare it? I mean I dont think its a big deal, but my understanding was that if we declare it explicitly and for some reason done use it later, it will cause some issues or something? That being said, I remember us saying its not a big deal at all. Anyway just looked at it in protege, and looks alright at face value?

@anitacaron
Copy link
Contributor

@shawntanzk, we need to redefine it as an annotation property because it's officially a class.

@shawntanzk
Copy link
Contributor Author

@shawntanzk, we need to redefine it as an annotation property because it's officially a class.

oh yeah, that totally makes sense :) Thanks @anitacaron, youre the best!

@shawntanzk
Copy link
Contributor Author

#gogoeditdiff

@shawntanzk
Copy link
Contributor Author

Ok really didnt have to gogoedit diff lol, looks good, merging in to make next release :) thanks all!

@shawntanzk shawntanzk merged commit 6384a02 into master Jul 18, 2023
1 check passed
@shawntanzk shawntanzk deleted the bds-symbols branch July 18, 2023 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants