hymao / hao

Hymenoptera Anatomy Ontology
Creative Commons Zero v1.0 Universal
4 stars 2 forks source link

Depictions/sensu in HAO2 #4

Open teleaslamellatus opened 1 year ago

teleaslamellatus commented 1 year ago

DEPICTION

  <!-- http://purl.obolibrary.org/obo/AISM_0000109 -->

    <owl:Class rdf:about="http://purl.obolibrary.org/obo/AISM_0000109">
        <owl:equivalentClass rdf:nodeID="genid1632"/>
        <rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/AISM_0000174"/>
        <rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/UBERON_6007289"/>
        <rdfs:subClassOf rdf:nodeID="genid1640"/>
        <rdfs:subClassOf rdf:nodeID="genid1642"/>
        <rdfs:subClassOf rdf:nodeID="genid1634"/>
        <obo:IAO_0000115>The region of the cuticle that is posterior to the thorax.</obo:IAO_0000115>
        <obo:IAO_0000232>The thorax is defined based on local properties (e.g. attachment sites of coxal muscles) and therefore we can reference this class for the definition of the abdomen.</obo:IAO_0000232>
        <obo:IAO_0000589 xml:lang="en">cuticle of insect abdomen</obo:IAO_0000589>
        <rdfs:label xml:lang="en">insect abdomen</rdfs:label>
        <foaf:depiction rdf:resource="https://ndownloader.figshare.com/files/6014256/preview/6014256/preview.jpg"/>
    </owl:Class>
    <owl:Class rdf:nodeID="genid1632">
        <owl:intersectionOf rdf:parseType="Collection">
            <rdf:Description rdf:about="http://purl.obolibrary.org/obo/AISM_0000174"/>
            <rdf:Description rdf:about="http://purl.obolibrary.org/obo/UBERON_6007289"/>
            <owl:Restriction rdf:nodeID="genid1634">
                <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/BSPO_0000099"/>
                <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0000108"/>
            </owl:Restriction>
        </owl:intersectionOf>
    </owl:Class>
    <owl:Restriction rdf:nodeID="genid1640">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/BFO_0000051"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0004055"/>
    </owl:Restriction>
    <owl:Restriction rdf:nodeID="genid1642">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/BFO_0000051"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0004056"/>
    </owl:Restriction>
    <owl:Restriction rdf:nodeID="genid1634">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/BSPO_0000099"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0000108"/>
    </owl:Restriction>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2002/07/owl#equivalentClass"/>
        <owl:annotatedTarget rdf:nodeID="genid1632"/>
        <dc:contributor>jgiron https://orcid.org/0000-0002-0851-6883</dc:contributor>
        <oboInOwl:creation_date>2021-08-01</oboInOwl:creation_date>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/AISM_0000174"/>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/UBERON_6007289"/>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid1640"/>
        <dc:contributor>jgiron https://orcid.org/0000-0002-0851-6883</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid1642"/>
        <dc:contributor>jgiron https://orcid.org/0000-0002-0851-6883</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid1634"/>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
        <owl:annotatedTarget>The region of the cuticle that is posterior to the thorax.</owl:annotatedTarget>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
        <oboInOwl:creation_date>2020-11-11</oboInOwl:creation_date>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000232"/>
        <owl:annotatedTarget>The thorax is defined based on local properties (e.g. attachment sites of coxal muscles) and therefore we can reference this class for the definition of the abdomen.</owl:annotatedTarget>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
        <oboInOwl:creation_date>2020-11-11</oboInOwl:creation_date>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000589"/>
        <owl:annotatedTarget xml:lang="en">cuticle of insect abdomen</owl:annotatedTarget>
        <rdfs:comment>2023-04-13</rdfs:comment>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000109"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
        <owl:annotatedTarget xml:lang="en">insect abdomen</owl:annotatedTarget>
        <obo:IAO_0000232 xml:lang="en">Modified 2023-04-13: removed ‘cuticle of’ from label.
starasov https://orcid.org/0000-0001-5237-2330</obo:IAO_0000232>
    </owl:Axiom>

SENSU <!-- http://purl.obolibrary.org/obo/AISM_0000018 -->

    <owl:Class rdf:about="http://purl.obolibrary.org/obo/AISM_0000018">
        <rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/AISM_0000003"/>
        <rdfs:subClassOf rdf:nodeID="genid553"/>
        <rdfs:subClassOf rdf:nodeID="genid555"/>
        <rdfs:subClassOf rdf:nodeID="genid557"/>
        <rdfs:subClassOf rdf:nodeID="genid559"/>
        <rdfs:subClassOf rdf:nodeID="genid561"/>
        <obo:IAO_0000115 xml:lang="en">The sclerite of the insect maxilla that is attached to the head capsule by the oral foraminal conjunctiva and to the cuticle of stipes by the stipito-cardinal conjunctiva.</obo:IAO_0000115>
        <obo:IAO_0000589 xml:lang="en">cuticle of cardo</obo:IAO_0000589>
        <rdfs:label xml:lang="en">cardo</rdfs:label>
    </owl:Class>
    <owl:Restriction rdf:nodeID="genid553">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/BFO_0000050"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0000044"/>
    </owl:Restriction>
    <owl:Restriction rdf:nodeID="genid555">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0002150"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0000099"/>
    </owl:Restriction>
    <owl:Restriction rdf:nodeID="genid557">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0002150"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0000110"/>
    </owl:Restriction>
    <owl:Restriction rdf:nodeID="genid559">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0002220"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0000019"/>
    </owl:Restriction>
    <owl:Restriction rdf:nodeID="genid561">
        <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0002220"/>
        <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/AISM_0000111"/>
    </owl:Restriction>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/AISM_0000003"/>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid553"/>
        <dc:contributor>jgiron https://orcid.org/0000-0002-0851-6883</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid555"/>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid557"/>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid559"/>
        <dc:contributor>jgiron https://orcid.org/0000-0002-0851-6883</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
        <owl:annotatedTarget rdf:nodeID="genid561"/>
        <dc:contributor>imiko https://orcid.org/0000-0003-2938-9075</dc:contributor>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
        <owl:annotatedTarget xml:lang="en">The sclerite of the insect maxilla that is attached to the head capsule by the oral foraminal conjunctiva and to the cuticle of stipes by the stipito-cardinal conjunctiva.</owl:annotatedTarget>
        <dc:contributor>jgiron https://orcid.org/0000-0002-0851-6883</dc:contributor>
        <oboInOwl:creation_date>2021-02-19</oboInOwl:creation_date>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000589"/>
        <owl:annotatedTarget xml:lang="en">cuticle of cardo</owl:annotatedTarget>
        <oboInOwl:creation_date>2023-04-13</oboInOwl:creation_date>
    </owl:Axiom>
    <owl:Axiom>
        <owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/AISM_0000018"/>
        <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
        <owl:annotatedTarget xml:lang="en">cardo</owl:annotatedTarget>
        <obo:AISM_0000171 xml:lang="en">Beutel RG, Friedrich F, Yang X-K, Ge S-Q (2014) Insect Morphology and Phylogeny Insect morphology and phylogeny: a textbook for students of entomology. De Gruyter. 

https://doi.org/10.1515/9783110264043

&quot;Cardo: basal element of maxilla, articulating with head capsule; usually moved by one cranial muscle and one tentorial muscle.&quot;</obo:AISM_0000171>
        <obo:IAO_0000232 xml:lang="en">Modified 2023-04-13: removed ‘cuticle of’ from label.
starasov https://orcid.org/0000-0001-5237-2330</obo:IAO_0000232>
    </owl:Axiom>
mjy commented 1 year ago

@balhoff It would be really nice if I can export the depictions as seperate Axioms (facillitating copy-pasta). Is this possible?

balhoff commented 1 year ago

@mjy how is this? https://api.triplydb.com/s/s332k7ZCr

mjy commented 1 year ago

@balhoff to clarify, I want to script generate XML code blocks like:

   <owl:Axiom>
      ... some depiction assertion
   </owl:Axiom>

Rather than this, nested within <owl:Class rdf:about="http://purl.obolibrary.org/obo/AISM_0000109">:

<foaf:depiction rdf:resource="https://ndownloader.figshare.com/files/6014256/preview/6014256/preview.jpg"/>

Basically trying to help @teleaslamellatus with a one-time migration from mx data to HAO2. I don't want to have to add code to natively inject into our HAO exportor.

mjy commented 1 year ago

From jim:

<http://purl.obolibrary.org/obo/AISM_0000018> rdfs:label "cardo"@en .
[
  a owl:Axiom ;
  owl:annotatedSource <http://purl.obolibrary.org/obo/AISM_0000018> ;
  owl:annotatedProperty rdfs:label ;
  owl:annotatedTarget "cardo"@en ;
  obo:AISM_0000171 "Beutel RG, Friedrich F, Yang X-K, Ge S-Q (2014) Insect Morphology and Phylogeny Insect morphology and phylogeny: a textbook for students of entomology. De Gruyter."@en
] .
teleaslamellatus commented 1 year ago

Uhh, I don't remember why did we create the sensu annotation property (for sensus) and not just use the DbXref axioms (mx generates):

http://api.hymao.org/api/ref/98094 promeron