PREFIX orth: <http://purl.org/net/orth#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

orth:XenologyRelation a rdfs:Class ;
  rdfs:label "xenology relation"@en ;
  rdfs:comment "Gene pairs whose history, since their divergence, includes a horizontal transfer."@en ;
  rdfs:subClassOf orth:HomologyRelation .

orth:hasHomologousMember a rdf:Property ;
  rdfs:label "has homologous member"@en ;
  rdfs:comment "Property that permits to define the membership of a cluster of homologs or a sequence unit to a clusters of homologs."@en ;
  rdfs:range orth:SequenceUnit , orth:GeneTreeNode ;
  rdfs:subPropertyOf <http://semanticscience.org/resource/SIO_000028> .

orth:inDataset a rdf:Property ;
  rdfs:label "in dataset"@en ;
  rdfs:comment "Property that provides the dataset associated with a gene tree node"@en ;
  rdfs:range orth:OrthologyDataset .

<http://purl.obolibrary.org/obo/CDAO_0000140> a rdfs:Class ;
  rdfs:label "Node" ;
  rdfs:comment "Basic unit of graphs and trees. This class was modified from its original definition (with class restrictions) to avoid multiple statements that relates a Node to a Network (e.g.: RootedTree). In its orignal definition, for each created instance of a Node, an additional statement must be defined to declare that a given node belongs to a Network what is quite verbose. However, we know that sub-nodes of a root node must belong to the same given Rooted Tree (e.g.: HOGs). Therefore, no needs to state sub-nodes to be part of a  RootedTree."@en .

orth:OutparalogyRelation a rdfs:Class ;
  rdfs:label "outparalogy relation"@en ;
  rdfs:comment "Outparalogy is also a relation defined over a pair of genes and a speciation event of reference. This pair are outparalogs if the duplication event through which they are related to each other predates the speciation event of reference."@en ;
  rdfs:subClassOf orth:ParalogyRelation .

orth:hasEvolutionaryEvent a rdf:Property ;
  rdfs:label "has evolutionary event"@en ;
  rdfs:comment "A property of a homology relation (e.g.: \"paralogy relation\") to state an evolutionary event such as a duplication or a speciation event."@en ;
  rdfs:range <http://purl.obolibrary.org/obo/CDAO_0000077> , <http://purl.obolibrary.org/obo/CDAO_0000121> , <http://purl.obolibrary.org/obo/CDAO_0000064> .

orth:hasDescendantEvolutionaryEvent a rdf:Property ;
  rdfs:label "has descendant evolutionary event"@en ;
  rdfs:comment "A property of a homology relation (e.g.: \"outparalogy relation\") to state a descendant evolutionary event. A descendant evolutionary event is  an event that occurs after another evolutionary event. For example, a speciation event after a duplication event."@en ;
  rdfs:range <http://purl.obolibrary.org/obo/CDAO_0000121> ;
  rdfs:subPropertyOf orth:hasEvolutionaryEvent .

orth:hasTaxonomicRange a rdf:Property ;
  rdfs:label "has taxonomic level"@en ;
  rdfs:comment "Property that associates a cluster of homologs with the taxonomic range at which it has been calculated"@en ;
  rdfs:range orth:TaxonomicRange ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/CDAO_0000178> .

orth:InparalogyRelation a rdfs:Class ;
  rdfs:label "inparalogy relation"@en ;
  rdfs:comment "Inparalogy is a relation defined over a triplet. It involves a pair of genes and a speciation event of reference. A gene pair is an inparalog if they are paralogs and duplicated after the speciation event of reference."@en ;
  rdfs:subClassOf orth:ParalogyRelation .

orth:hasAncestralEvolutionaryEvent a rdf:Property ;
  rdfs:label "has ancestral evolutionary event"@en ;
  rdfs:comment "A property of a homology relation (e.g.: \"inparalogy relation\") to state an ancestral evolutionary event. An ancestral evolutionary event is an event that precedes another evolutionary event. For example, a speciation event before a duplication event."@en ;
  rdfs:range <http://purl.obolibrary.org/obo/CDAO_0000121> ;
  rdfs:subPropertyOf orth:hasEvolutionaryEvent .

orth:HomologyRelation a rdfs:Class ;
  rdfs:label "homology relation"@en ;
  rdfs:comment "This class represents homology relations among sequence units (e.g genes, proteins or gene regions)."@en .

<http://purl.obolibrary.org/obo/CDAO_0000012> a rdfs:Class ;
  rdfs:label "RootedTree" ;
  rdfs:comment "Tree with a root node, which is the common ancestor to all the nodes in the tree"@en .

<http://purl.obolibrary.org/obo/CDAO_0000148> a rdf:Property ;
  rdfs:label "has_Root" ;
  rdfs:comment "The property links a rooted tree to the specific node that represents the unique root of the tree."@en ;
  rdfs:domain <http://purl.obolibrary.org/obo/CDAO_0000012> ;
  rdfs:range <http://purl.obolibrary.org/obo/CDAO_0000140> ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/CDAO_0000178> .

orth:LeastDivergedOrthologyRelation a rdfs:Class ;
  rdfs:label "least diverged orthology relation"@en ;
  rdfs:comment "Least diverged orthologs (LDOs) are the genes in two different organisms that have diverged the least since their common ancestor and are most likely to retain the greatest functional similarities. This is a symmetric relation."@en ;
  rdfs:subClassOf orth:OrthologyRelation .

orth:isLeastDivergedOrtholog a rdf:Property ;
  rdfs:label "is least diverged ortholog"@en ;
  rdfs:comment "Least diverged orthologs (LDOs) are the genes in two different organisms that have diverged the least since their common ancestor and are most likely to retain the greatest functional similarities. This property assigns a boolean value to state if an orthology relation is a actually LDO relation."@en ;
  rdfs:domain orth:OrthologyRelation ;
  rdfs:range xsd:boolean .

<http://purl.obolibrary.org/obo/SO_0000831> a rdfs:Class ;
  rdfs:label "gene_member_region"@en ;
  rdfs:comment "A manufactured term used to allow the parts of a gene to have an is_a path to the root." .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" ;
  rdfs:seeAlso <https://linkml.io/linkml/schemas/advanced.html#linkml-any-type> .

orth:ParalogsCluster a rdfs:Class ;
  rdfs:label "Cluster of paralogs"@en ;
  rdfs:comment "Set of homologous sequences derived from a duplication event"@en ;
  rdfs:subClassOf orth:HomologsCluster .

<http://purl.obolibrary.org/obo/SO_0000704> a rdfs:Class ;
  rdfs:label "gene" ;
  rdfs:comment "A region (or regions) that includes all of the sequence elements necessary to encode a functional transcript. A gene may include regulatory regions, transcribed regions and/or other functional sequence regions."@en .

<http://purl.obolibrary.org/obo/SO_0005855> a rdfs:Class ;
  rdfs:label "gene_group" ;
  rdfs:comment "A collection of related genes."@en .

orth:Organism a rdfs:Class ;
  rdfs:label "Organism"@en ;
  rdfs:comment "A living being, such as an animal, a plant, a bacterium, or a fungus., Any individual living (or previously living) being. Example: animal, human being. An organim is associated to a taxon such as \"Homo Sapiens\", NCBI taxonomy identifier: 9606."@en .

<http://purl.obolibrary.org/obo/RO_0002162> a rdf:Property ;
  rdfs:label "in taxon"@en ;
  rdfs:comment "Connects a biological entity to its taxon of origin."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

orth:Protein a rdfs:Class ;
  rdfs:label "Protein"@en ;
  rdfs:comment "A sequence of amino acids linked by peptide bonds which may lack appreciable tertiary structure and may not be liable to irreversible denaturation."@en ;
  rdfs:subClassOf orth:SequenceUnit .

<http://purl.obolibrary.org/obo/RO_0001018> a rdf:Property ;
  rdfs:label "contained in"@en ;
  rdfs:comment "This property was simplified. Original range and domain were removed due to be highly abstracted because it is well-know the domain of discourse: orthology databases.  The rage restriction of this property is defined as a class restriction in (e.g.: orth:Gene)."@en ;
  rdfs:range <http://semanticscience.org/resource/SIO_000750> .

orth:organism a rdf:Property ;
  rdfs:label "in organism"@en ;
  rdfs:comment "A sequence unit (e.g.: gene) comes from an organism."@en ;
  rdfs:domain orth:SequenceUnit ;
  rdfs:range orth:Organism .

orth:hasHomolog a rdf:Property ;
  rdfs:label "has homolog"@en ;
  rdfs:comment "Homologous pairwise relation between sequence units (e.g.: genes, proteins or gene regions). For example, A Gene(A) hasHomolog Gene(B). This property can be materialized or inferred by applying a logical rule."@en ;
  rdfs:domain orth:SequenceUnit ;
  rdfs:range orth:SequenceUnit ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/CDAO_0000178> .

orth:hasLeastDivergedOrtholog a rdf:Property ;
  rdfs:label "has least diverged ortholog"@en ;
  rdfs:comment "Least diverged orthologs (LDOs) are the genes in two different organisms that have diverged the least since their common ancestor and are most likely to retain the greatest functional similarities."@en ;
  rdfs:domain orth:SequenceUnit ;
  rdfs:range orth:SequenceUnit ;
  rdfs:subPropertyOf orth:hasOrtholog .

orth:CoOrthologyRelation a rdfs:Class ;
  rdfs:label "co-orthology relation"@en ;
  rdfs:comment "Co-orthology is a relation defined over three genes, where two of them are inparalogs with respect to the speciation event associated to the third gene. The two inparalogous genes are said to be co-orthologous to the third (out-group) gene."@en ;
  rdfs:subClassOf orth:HomologyRelation .

orth:hasCoOrthologousMember a rdf:Property ;
  rdfs:label "has co-orthologous member"@en ;
  rdfs:comment "A property to define the membership of a sequence unit into a co-orthology relation."@en ;
  rdfs:domain orth:CoOrthologyRelation ;
  rdfs:range orth:SequenceUnit ;
  rdfs:subPropertyOf <http://semanticscience.org/resource/SIO_000028> .

orth:hasInparalogousMember a rdf:Property ;
  rdfs:label "has inparalogous member"@en ;
  rdfs:comment "A property to define the membership of a  in-paralogy relation into co-orthology relation."@en ;
  rdfs:domain orth:CoOrthologyRelation ;
  rdfs:range orth:InparalogyRelation ;
  rdfs:subPropertyOf <http://semanticscience.org/resource/SIO_000028> .

<http://purl.uniprot.org/core/Taxon> a rdfs:Class ;
  rdfs:label "Taxon" ;
  rdfs:comment "An element of a taxonomy for classifying life forms." ;
  rdfs:seeAlso <http://www.ncbi.nlm.nih.gov/books/NBK54428/> .

<http://purl.uniprot.org/core/mnemonic> a rdf:Property ;
  rdfs:label "Mnemonic" ;
  rdfs:comment "A rememberable string that can be used to find entries, not a stable identifier!" ;
  rdfs:seeAlso <http://www.uniprot.org/manual/entry_name> ;
  rdfs:range xsd:string .

<http://purl.uniprot.org/core/replaces> a rdf:Property ;
  rdfs:label "replaces"@en ;
  rdfs:comment "A resource that is replaced by this resource." ;
  rdfs:domain <http://purl.uniprot.org/core/Taxon> ;
  rdfs:range <http://purl.uniprot.org/core/Taxon> .

orth:HierarchicalGeneTree a rdfs:Class ;
  rdfs:label "Hierarchical gene tree "@en ;
  rdfs:comment "A tree whose leaf nodes correspond to sequence units (e.g.: genes)."@en ;
  rdfs:subClassOf orth:HierarchicalClusteringTree .

<http://purl.obolibrary.org/obo/CDAO_0000178> a rdf:Property ;
  rdfs:label "has" ;
  rdfs:comment "Generic 'has' property."@en ;
  rdfs:range orth:GeneTreeNode .

orth:GeneTreeNode a rdfs:Class ;
  rdfs:label "Gene tree node"@en ;
  rdfs:comment "A node of a tree whose leaf nodes are sequence units and whose internal nodes are clusters of homologs"@en ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/CDAO_0000140> .

orth:ParalogyRelation a rdfs:Class ;
  rdfs:label "paralogy relation"@en ;
  rdfs:comment "Homology relation that involves sequences that diverged after a duplication event."@en ;
  rdfs:subClassOf orth:HomologyRelation .

orth:Gene a rdfs:Class ;
  rdfs:label "Gene"@en ;
  rdfs:comment "A region (or regions) that includes all of the sequence elements necessary to encode a functional transcript. A gene may include regulatory regions, transcribed regions and/or other functional sequence regions."@en ;
  rdfs:subClassOf orth:SequenceUnit .

orth:OrthologsCluster a rdfs:Class ;
  rdfs:label "Cluster of orthologs"@en ;
  rdfs:comment """Set of homologous sequences derived from a speciation event.

"""@en ;
  rdfs:subClassOf orth:HomologsCluster .

orth:HomologsCluster a rdfs:Class ;
  rdfs:label "Cluster of homologous sequences"@en ;
  rdfs:comment "Set of homologous sequences"@en ;
  rdfs:subClassOf orth:GeneTreeNode , <http://purl.obolibrary.org/obo/SO_0005855> .

<http://purl.obolibrary.org/obo/SO_0000104> a rdfs:Class ;
  rdfs:label "polypeptide" ;
  rdfs:comment "A sequence of amino acids linked by peptide bonds which may lack appreciable tertiary structure and may not be liable to irreversible denaturation."@en .

<http://purl.obolibrary.org/obo/CDAO_0000077> a rdfs:Class ;
  rdfs:label "geneDuplication" ;
  rdfs:comment "Evolutionary event that consists on the duplication of a gene"@en ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/CDAO_0000064> .

<http://semanticscience.org/resource/SIO_000750> a rdfs:Class ;
  rdfs:label "database"@en ;
  rdfs:comment "A database is a data store such as relational, hierarchical and graph databases."@en .

orth:Subgene a rdfs:Class ;
  rdfs:label "gene region"@en ;
  rdfs:comment "A region of the sequence of the gene."@en ;
  rdfs:subClassOf orth:SequenceUnit .

<http://purl.obolibrary.org/obo/CDAO_0000194> a rdf:Property ;
  rdfs:label "part_of" ;
  rdfs:range <https://w3id.org/linkml/Any> .

orth:OrthologyRelation a rdfs:Class ;
  rdfs:label "orthology relation"@en ;
  rdfs:comment "homology pairwise relation that involves sequences that diverged after a speciation event."@en ;
  rdfs:subClassOf orth:HomologyRelation .

orth:TaxonomicRange a rdfs:Class ;
  rdfs:label "Taxonomic level"@en ;
  rdfs:comment "The taxonomic level represents the taxon at which a group of sequences are considered members of the same cluster of orthologs/paralogs"@en .

orth:taxRange a rdf:Property ;
  rdfs:label "taxonomic level"@en ;
  rdfs:comment "Property that stores the name of the taxonomic level at which a given cluster of homologs has been calculated"@en ;
  rdfs:domain orth:TaxonomicRange ;
  rdfs:range xsd:string .

orth:HierarchicalClusteringTree a rdfs:Class ;
  rdfs:label "Hierarchical clustering tree"@en ;
  rdfs:comment "A tree whose content is the result of the application of hierarchical clustering to a dataset"@en ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/CDAO_0000012> .

<http://purl.obolibrary.org/obo/NCIT_C14250> a rdfs:Class ;
  rdfs:label "Organism" ;
  rdfs:comment "A living thing, such as an animal, a plant, a bacterium, or a fungus., Any individual living (or previously living) being. EXAMPLE(S): animal, human being."@en .

<http://xmlns.com/foaf/0.1/Organization> a rdfs:Class .

orth:OrthologyDataset a rdfs:Class ;
  rdfs:label "Orthology datasource"@en ;
  rdfs:comment """Dataset that provides orthology relations including clusters of orthologs, pairwise orthology relations, and so on.

Examples would be the content of resources such as OMA, InParanoid, TreeFam, PhylomeDB and so on. Each release of the resources is different dataset."""@en .

orth:hasHomologyData a rdf:Property ;
  rdfs:label "has homology data"@en ;
  rdfs:comment "Inverse property of inDataset.  It permits to retrieve  the clusters or homology relations included in a particular dataset."@en ;
  rdfs:domain orth:OrthologyDataset ;
  rdfs:range <https://w3id.org/linkml/Any> ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/CDAO_0000178> .

<http://purl.org/pav/version> a rdf:Property ;
  rdfs:label "Version"@en ;
  rdfs:comment """The version number of a resource. This is a freetext string, typical values are \"1.5\" or \"21\". The URI identifying the previous version can be provided using prov:previousVersion.

This property is normally used in a functional way, although PAV does not formally restrict this."""@en ;
  rdfs:range xsd:string .

orth:inDatabase a rdf:Property ;
  rdfs:label "in database"@en ;
  rdfs:comment "A property to define the database an orthology dataset belongs to."@en ;
  rdfs:domain orth:OrthologyDataset ;
  rdfs:range xsd:string .

orth:SequenceUnit a rdfs:Class ;
  rdfs:label "Sequence unit"@en ;
  rdfs:comment "protein or DNA sequence as a unit of comparison"@en ;
  rdfs:subClassOf orth:GeneTreeNode .

<http://purl.obolibrary.org/obo/CDAO_0000121> a rdfs:Class ;
  rdfs:label "speciation" ;
  rdfs:comment "Evolutionary event related with the evolution of a gene in different species"@en ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/CDAO_0000064> .

<http://purl.obolibrary.org/obo/CDAO_0000064> a rdfs:Class ;
  rdfs:label "cladogeneticChange" ;
  rdfs:comment "Evolutionary event"@en .

<http://purl.obolibrary.org/obo/RO_0002350> a rdf:Property ;
  rdfs:label "member of"@en ;
  rdfs:comment "Is member of is a mereological relation between a item and a collection."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://purl.org/dc/terms/identifier> a rdf:Property ;
  rdfs:label "identifier"@en ;
  rdfs:comment "This property is orignally defined in dcterms schema however in the context of the ORTH ontology we define this property as being an OWL datatype property rather than a generic RDF property. This property should be assigned to any individual that have one or more identifiers. For example, uniprot:P01308 dcterms:identifier \"P01308\"."@en ;
  rdfs:range xsd:string .

orth:hasOrtholog a rdf:Property ;
  rdfs:label "has ortholog"@en ;
  rdfs:comment "Orthologous pairwise relation between genes/proteins. For example, A Gene(A) hasOrtholog Gene(B). This property can be materialized or inferred by applying a logical rule."@en ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf orth:hasHomolog .

orth:hasParalog a rdf:Property ;
  rdfs:label "has paralog"@en ;
  rdfs:comment "Paralogous pairwise relation between genes/proteins. For example, a Gene(A) hasParalog Gene(B). This property can be materialized or inferred by applying a logical rule."@en ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf orth:hasHomolog .

orth:hasXenolog a rdf:Property ;
  rdfs:label "has xenolog"@en ;
  rdfs:comment "Xenologous pairwise relation between genes/proteins. For example, a Gene(A) hasXenolog Gene(B)."@en ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf orth:hasHomolog .

orth:isHomologousMember a rdf:Property ;
  rdfs:label "is homologous member"@en ;
  rdfs:comment "Inverse of has homologous member. This property permits to find the cluster in which a cluster or sequence unit is included."@en ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/RO_0002350> .

orth:taxRangeId a rdf:Property ;
  rdfs:label "taxonomic level identifier"@en ;
  rdfs:comment "This property links a cluster of homologs with its taxonomic level."@en ;
  rdfs:range xsd:integer .

<http://semanticscience.org/resource/SIO_000028> a rdf:Property ;
  rdfs:label "has part"@en ;
  rdfs:comment "has part is a transitive, reflexive and antisymmetric relation between a whole and itself or a whole and its part."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://semanticscience.org/resource/SIO_010078> a rdf:Property ;
  rdfs:label "encodes"@en ;
  rdfs:comment "A relation between two objects, in which the first object contains information that is used to produce the second object."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://semanticscience.org/resource/SIO_010079> a rdf:Property ;
  rdfs:label "is encoded by"@en ;
  rdfs:comment "A relation between two objects, in which the first object is produced from the information contained in the second object."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .
