PREFIX atlas: <http://uri.interlex.org/tgbugs/uris/readable/atlas/>
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#>

atlas:Lateral a rdfs:Class ;
  rdfs:label "lateral" ;
  rdfs:comment "direction away from the midline" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:hasOppositeDirection a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:XAxis a rdfs:Class ;
  rdfs:label "x axis" ;
  rdfs:subClassOf atlas:SpatialAxis .

atlas:hasDirection a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:ClosedCurve a rdfs:Class ;
  rdfs:label "anatomical closed curve" ;
  rdfs:comment "curves that are topologically equivalent to a circle" ;
  rdfs:subClassOf atlas:Annotation .

atlas:annotates a rdf:Property ;
  rdfs:label "annotates" ;
  rdfs:domain atlas:Annotation ;
  rdfs:range atlas:Space .

atlas:Right a rdfs:Class ;
  rdfs:label "right" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:PositiveX a rdfs:Class ;
  rdfs:label "positive x" ;
  rdfs:subClassOf atlas:SpatialDirection .

atlas:Border a rdfs:Class ;
  rdfs:label "anatomical border" ;
  rdfs:comment "A border is a spatial entities that when projected into two dimensions forms a line (line in 2d or plane in 3d). The border may be of finite length, and may occupy a subsegment of a longer closed boundary." ;
  rdfs:subClassOf atlas:Line .

atlas:Boundary a rdfs:Class ;
  rdfs:label "anatomical boundary" ;
  rdfs:comment "A boundary is a closed curve or surface that is topologically equivalent to a circle, it defines an inside and an outside that are disconnected." ;
  rdfs:subClassOf atlas:ClosedCurve .

atlas:Dorsal a rdfs:Class ;
  rdfs:label "dorsal" ;
  rdfs:comment "toward the back or toward the top of the skull in organisms where development has twisted things (humans)" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:Resolution a rdfs:Class ;
  rdfs:label "resolution" ;
  rdfs:subClassOf atlas:Vector .

atlas:hasUnit a rdf:Property ;
  rdfs:label "hasUnit" ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:hasResolutionX a rdf:Property ;
  rdfs:label "hasResolutionX" ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:hasResolutionY a rdf:Property ;
  rdfs:label "hasResolutionY" ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:hasResolutionZ a rdf:Property ;
  rdfs:label "hasResolutionZ" ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:Atlas a rdfs:Class ;
  rdfs:label "parcellation atlas" ;
  rdfs:comment "An anatomical reference atlas is information content entity that contains minimally a notion of space and one of an annotation set or an unannotated but registered set of source data, the space may be explicit or implicit. An atlas is anything that is used to guide experiments or deal with some spatial relation between things or the location of things. For example a feature atlas may have only a boolean mask of stained/unstained for a given marker across the whole brain. On the other hand there may be purely schematic or conceptual atlases that show the relative positions of landmarks that are useful for guiding surgical procedures that have an intentionally distorted or schematic representation of space but that nonetheless capture real an critical spatial relations between regions. Reference atlases usually have additional parts that make them more useful in certain situations, such as a well defined coordinate system, delineations indicating the boundaries of various regions or cell populations, landmarks, and labels and names to make it easier to communicate about well known and useful locations." ;
  rdfs:subClassOf atlas:Artifact .

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

atlas:Medial a rdfs:Class ;
  rdfs:label "medial" ;
  rdfs:comment "toward the midline" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:SpacePreservingLinearTransformation a rdfs:Class ;
  rdfs:label "space preserving linear transformation" ;
  rdfs:subClassOf atlas:LinearTransformation .

<http://uri.interlex.org/tgbugs/uris/readable/hasInformationInput> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://uri.interlex.org/tgbugs/uris/readable/hasInformationOutput> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:NegativeY a rdfs:Class ;
  rdfs:label "negative y" ;
  rdfs:subClassOf atlas:SpatialDirection .

atlas:AnnotationCriteria a rdfs:Class ;
  rdfs:label "anatomical annotation criteria" ;
  rdfs:subClassOf atlas:Artifact .

atlas:DorsalVentralAxis a rdfs:Class ;
  rdfs:label "dorsal ventral axis" ;
  rdfs:comment "the anatomical axis from back to belly" ;
  rdfs:subClassOf atlas:AnatomicalAxis .

<http://purl.obolibrary.org/obo/UBERON_0001062> a rdfs:Class .

atlas:Rostral a rdfs:Class ;
  rdfs:label "rostral" ;
  rdfs:comment "toward the snount" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

<http://uri.interlex.org/tgbugs/uris/readable/parcellationTerminology> a rdfs:Class .

atlas:RotationMatrix a rdfs:Class ;
  rdfs:label "rotation matrix" ;
  rdfs:subClassOf atlas:TransformationMatrix .

atlas:transforms a rdf:Property ;
  rdfs:label "transforms" ;
  rdfs:domain atlas:TransformationRule ;
  rdfs:range atlas:Space .

atlas:Axis a rdfs:Class ;
  rdfs:label "axis" .

atlas:Anterior a rdfs:Class ;
  rdfs:label "anterior" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:Terminology a rdfs:Class ;
  rdfs:label "parcellation terminology" ;
  rdfs:comment "a collection of terms that can be used to name annotations in an atlas" ;
  rdfs:subClassOf atlas:Artifact .

atlas:Point a rdfs:Class ;
  rdfs:label "anatomical point" ;
  rdfs:comment "a 1d point defined by a single vector having the same dimensions as the space in which it is defined" ;
  rdfs:subClassOf atlas:Annotation .

atlas:Landmark a rdfs:Class ;
  rdfs:label "anatomical landmark" ;
  rdfs:comment "Any annotation that is not closed (topologically equivalent to a point)." ;
  rdfs:subClassOf atlas:Annotation .

atlas:spaceUnit a rdfs:Class .

<http://uri.interlex.org/tgbugs/uris/readable/parcellationAtlas> a rdfs:Class .

atlas:PositiveY a rdfs:Class ;
  rdfs:label "positive y" ;
  rdfs:subClassOf atlas:SpatialDirection .

atlas:Region a rdfs:Class ;
  rdfs:label "parcellation region" ;
  rdfs:comment "Parcellation regions are 'anatomical entities' that correspond to some part of a real biological system and are equivalent to an intersection between a parcellation label and a specific version of an atlas that defines or uses that label and that provides a definitive (0, 1, or probabilistic) way to determine whether a particular sample corresponds to any given region. " ;
  rdfs:subClassOf atlas:Label .

atlas:names a rdf:Property ;
  rdfs:label "names" ;
  rdfs:domain atlas:Region ;
  rdfs:range atlas:Annotation .

atlas:Superior a rdfs:Class ;
  rdfs:label "superior" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:Line a rdfs:Class ;
  rdfs:label "anatomical line" ;
  rdfs:subClassOf atlas:Annotation .

atlas:Annotation a rdfs:Class ;
  rdfs:label "parcellation annotation" ;
  rdfs:subClassOf atlas:Artifact .

atlas:SpatialAxis a rdfs:Class ;
  rdfs:label "spatial axis" ;
  rdfs:subClassOf atlas:Axis .

atlas:RostralCaudalAxis a rdfs:Class ;
  rdfs:label "rostral caudal axis" ;
  rdfs:comment "The snout to tail axis." ;
  rdfs:subClassOf atlas:AnatomicalAxis .

atlas:AnteriorPosteriorAxis a rdfs:Class ;
  rdfs:label "anterior posterior axis" ;
  rdfs:subClassOf atlas:AnatomicalAxis .

atlas:NegativeX a rdfs:Class ;
  rdfs:label "negative x" ;
  rdfs:subClassOf atlas:SpatialDirection .

atlas:Anchoring a rdfs:Class ;
  rdfs:label "anchoring" ;
  rdfs:comment "dataset -> annotation" ;
  rdfs:subClassOf atlas:Process .

atlas:Translation a rdfs:Class ;
  rdfs:label "translation" ;
  rdfs:subClassOf atlas:SpacePreservingLinearTransformation .

atlas:Delineation a rdfs:Class ;
  rdfs:label "anatomical delineation" ;
  rdfs:comment "an annotation with criteria demarcating the border between two regions or the boundary of a single region" ;
  rdfs:subClassOf atlas:Annotation .

atlas:ImageSpace a rdfs:Class ;
  rdfs:label "anatomical image space" ;
  rdfs:comment "an image space is the intrinsic or implicit space that is defined by an image, in digital images it is usually discretized as matrix, it usually euclidean and supports a cartesian distance metric, however in cases where there is a non-uniformly sampling sensor or if the image was collected in the frequency domain (e.g. for MRI images) then the image space has different dimensions which may non-spatial (FIXME need some clarity about data captured in the frequency domain)" ;
  rdfs:subClassOf atlas:Space .

atlas:AnatomicalAxisAlignmentVectorCartesian a rdfs:Class ;
  rdfs:label "cartesian anatomical axis alignment vector" ;
  rdfs:subClassOf atlas:AnatomicalAxisAlignmentVector .

atlas:hasDirectionMappedToPositiveX a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:hasDirectionMappedToPositiveY a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:hasDirectionMappedToPositiveZ a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:NonLinearRegistration a rdfs:Class ;
  rdfs:label "nonlinear registration" ;
  rdfs:subClassOf atlas:Registration .

atlas:PositiveZ a rdfs:Class ;
  rdfs:label "positive z" ;
  rdfs:subClassOf atlas:SpatialDirection .

atlas:SpatialDirection a rdfs:Class ;
  rdfs:label "spatial direction" ;
  rdfs:subClassOf atlas:Direction .

atlas:AnatomicalAxisAlignmentVector a rdfs:Class ;
  rdfs:label "anatomical axis alignment vector" .

atlas:AxisDirectionMatrix a rdfs:Class ;
  rdfs:label "axis direction matrix" ;
  rdfs:subClassOf atlas:Matrix .

atlas:Artifact a rdfs:Class ;
  rdfs:label "parcellation artifact" .

atlas:AnatomicalDataset a rdfs:Class ;
  rdfs:label "anatomical dataset" ;
  rdfs:subClassOf atlas:Data .

atlas:hasResolution a rdf:Property ;
  rdfs:label "hasResolution" ;
  rdfs:domain atlas:Data ;
  rdfs:range atlas:Resolution .

atlas:hasSpace a rdf:Property ;
  rdfs:label "hasSpace" ;
  rdfs:domain atlas:Data ;
  rdfs:range atlas:Space .

atlas:isMeasurementOf a rdf:Property ;
  rdfs:label "isMeasurementOf" ;
  rdfs:domain atlas:Data ;
  rdfs:range <https://w3id.org/linkml/Any> .

atlas:Registration a rdfs:Class ;
  rdfs:label "spatial registration" ;
  rdfs:comment "Registration is the process of changing the relative position and/or scaling of two datasets so that they become aligned for some definition of alignment." ;
  rdfs:subClassOf atlas:Alignment .

atlas:Space a rdfs:Class ;
  rdfs:label "anatomical space" ;
  rdfs:comment "An anatomical space is a combination of a mathematical space with an anatomical space such that there is a defined mapping between the anatomical axes and the mathematical axes. A mathematical coordinate space by itself is NOT an anatomical space because it admits all possible orientations and reflections of the anatomical space, so for example a brain can be rotated in all directions and still be in that mathematical coordinate space. Such spaces are called unoriented spaces and are a source of significant pain when dealing with anatomical datasets." ;
  rdfs:subClassOf atlas:Artifact .

atlas:AxisOrigin a rdfs:Class ;
  rdfs:label "axis origin" ;
  rdfs:subClassOf atlas:Vector .

atlas:NonLinearTransformation a rdfs:Class ;
  rdfs:label "nonlinear transformation" ;
  rdfs:subClassOf atlas:Transformation .

atlas:Ventral a rdfs:Class ;
  rdfs:label "ventral" ;
  rdfs:comment "toward the belly" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:Parcellation a rdfs:Class ;
  rdfs:label "anatomical parcellation" ;
  rdfs:subClassOf atlas:AnnotationSet .

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

atlas:AnnotationSet a rdfs:Class ;
  rdfs:label "anatomical annotation set" ;
  rdfs:comment "A set of anatomical annotations that are anchored in the same space." ;
  rdfs:subClassOf atlas:Artifact .

atlas:Rotation a rdfs:Class ;
  rdfs:label "rotation" ;
  rdfs:subClassOf atlas:SpacePreservingLinearTransformation .

atlas:Centroid a rdfs:Class ;
  rdfs:label "anatomical centroid" ;
  rdfs:comment "a point surrounded by an indeterminate/unknown/probabilistic (but closed) boundary where the indeterminateness of said boundary is usually due to the fact that the context in which a label associated with the centroid is being used does not admit a single operational defintion, i.e. that there is not agreement on the exact definition of the term but there is some agreement that it exists" ;
  rdfs:subClassOf atlas:Point .

atlas:Label a rdfs:Class ;
  rdfs:label "parcellation label" ;
  rdfs:comment "Parcellation labels are strings characthers sometimes associated with a unique identifier, such as an index number or an iri." ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/UBERON_0001062> .

atlas:Left a rdfs:Class ;
  rdfs:label "left" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:CoordinatedDataset a rdfs:Class ;
  rdfs:label "coordinated dataset" ;
  rdfs:subClassOf atlas:Data .

atlas:LinearTransformation a rdfs:Class ;
  rdfs:label "linear transformation" ;
  rdfs:subClassOf atlas:Transformation .

atlas:UnorientedSpace a rdfs:Class ;
  rdfs:label "unoriented space" ;
  rdfs:comment "A mathematical space that is not equipped with an explicit mapping between spatial and anatomical axes. In such spaces it is not possible to determine whether an anatomical dataset is correctly oriented even if that dataset has been annotated with landmarks that can be used to determine the anatomical axes." .

atlas:LinearRegistration a rdfs:Class ;
  rdfs:label "linear registration" ;
  rdfs:subClassOf atlas:Registration .

atlas:Alignment a rdfs:Class ;
  rdfs:label "spatial alignment" ;
  rdfs:comment "dataset -> dataset, rotation, translation" ;
  rdfs:subClassOf atlas:Process .

atlas:Orienting a rdfs:Class ;
  rdfs:label "spatial orienting" ;
  rdfs:comment "axis -> axis" ;
  rdfs:subClassOf atlas:Alignment .

atlas:Matrix a rdfs:Class ;
  rdfs:label "matrix" .

atlas:TransformationMatrix a rdfs:Class ;
  rdfs:label "transformation matrix" ;
  rdfs:subClassOf atlas:Matrix , atlas:TransformationRule .

atlas:CoordinateSystemDefinition a rdfs:Class ;
  rdfs:label "coordinate system definition" ;
  rdfs:subClassOf atlas:Artifact .

atlas:Segmentation a rdfs:Class ;
  rdfs:label "anatomical segmentation" ;
  rdfs:comment "an annotation set that may or may not have an explicit bounding region but that does break or separate the area or volume into distinct segments" ;
  rdfs:subClassOf atlas:AnnotationSet .

atlas:CoordinateSystemApplication a rdfs:Class ;
  rdfs:label "coordinate system application" ;
  rdfs:subClassOf atlas:Process .

atlas:Scaling a rdfs:Class ;
  rdfs:label "scaling" ;
  rdfs:subClassOf atlas:LinearTransformation .

atlas:Transformation a rdfs:Class ;
  rdfs:label "spatial transformation" ;
  rdfs:comment "space -> space" ;
  rdfs:subClassOf atlas:Process .

atlas:MedialLateralAxis a rdfs:Class ;
  rdfs:label "medial lateral axis" ;
  rdfs:subClassOf atlas:AnatomicalAxis .

<http://purl.obolibrary.org/obo/NCBITaxon_1> a rdfs:Class .

atlas:Tiling a rdfs:Class ;
  rdfs:label "anatomical tiling parcellation" ;
  rdfs:comment "an annotation set that forms a non-overlapping cover of a single bounding annotation" ;
  rdfs:subClassOf atlas:AnnotationSet .

<http://uri.interlex.org/tgbugs/uris/readable/parcellationArtifact> a rdfs:Class .

atlas:AnatomicalAxis a rdfs:Class ;
  rdfs:label "anatomical axis" ;
  rdfs:comment "an anatomical axis, e.g. rostral caudal, dorsal ventral, etc. is composed of two colinear and opposed anatomical directions" ;
  rdfs:subClassOf atlas:Axis .

atlas:NegativeZ a rdfs:Class ;
  rdfs:label "negative z" ;
  rdfs:subClassOf atlas:SpatialDirection .

atlas:Caudal a rdfs:Class ;
  rdfs:label "caudal" ;
  rdfs:comment "toward the tail" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:InferiorSuperiorAxis a rdfs:Class ;
  rdfs:label "inferior superior axis" ;
  rdfs:subClassOf atlas:AnatomicalAxis .

atlas:Process a rdfs:Class ;
  rdfs:label "process" .

atlas:Data a rdfs:Class ;
  rdfs:label "anatomical data" ;
  rdfs:comment "Some specialized data that is about some organism." ;
  rdfs:subClassOf atlas:Artifact .

atlas:Posterior a rdfs:Class ;
  rdfs:label "posterior" ;
  rdfs:comment "toward the buttocks" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:Vector a rdfs:Class ;
  rdfs:label "vector" .

atlas:LeftRightAxis a rdfs:Class ;
  rdfs:label "left right axis" ;
  rdfs:subClassOf atlas:AnatomicalAxis .

<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> .

atlas:YAxis a rdfs:Class ;
  rdfs:label "y axis" ;
  rdfs:subClassOf atlas:SpatialAxis .

<http://uri.interlex.org/tgbugs/uris/readable/parcellationRegion> a rdfs:Class .

atlas:AnatomicalDirection a rdfs:Class ;
  rdfs:label "anatomical direction" ;
  rdfs:subClassOf atlas:Direction .

atlas:AnnotationCriteriaApplication a rdfs:Class ;
  rdfs:label "annotation criteria application" ;
  rdfs:subClassOf atlas:Process .

atlas:Inferior a rdfs:Class ;
  rdfs:label "inferior" ;
  rdfs:subClassOf atlas:AnatomicalDirection .

atlas:ZAxis a rdfs:Class ;
  rdfs:label "z axis" ;
  rdfs:subClassOf atlas:SpatialAxis .

<http://uri.interlex.org/tgbugs/uris/readable/parcellationLabel> a rdfs:Class .

atlas:Direction a rdfs:Class ;
  rdfs:label "direction" .

atlas:TransformationRule a rdfs:Class ;
  rdfs:label "transformation rule" ;
  rdfs:subClassOf atlas:Artifact .

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

<http://uri.interlex.org/tgbugs/uris/readable/labelPartOf> a rdf:Property ;
  rdfs:label "labelPartOf" ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/BFO_0000050> .

<http://www.w3.org/2002/07/owl#real> a rdfs:Datatype .
