PREFIX B2AI: <https://w3id.org/bridge2ai/standards-schema/>
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#>

B2AI:AnatomicalEntity a rdfs:Class ;
  rdfs:comment "A subcellular location, cell type or gross anatomical part" ;
  rdfs:subClassOf <http://schema.org/Thing> .

<http://schema.org/name> a rdf:Property ;
  rdfs:comment "A human-readable name for a thing." ;
  rdfs:range xsd:string .

B2AI:subclass_of a rdf:Property ;
  rdfs:comment "Holds between two classes where the domain class is a specialization of the range class." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range <http://schema.org/Thing> ;
  rdfs:subPropertyOf B2AI:related_to .

B2AI:contributor_name a rdf:Property ;
  rdfs:comment "The name of the person who added this node." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf B2AI:node_property .

<http://schema.org/description> a rdf:Property ;
  rdfs:comment "A human-readable description for a thing." ;
  rdfs:range xsd:string .

B2AI:has_application a rdf:Property ;
  rdfs:comment "A list of one or more specific applications of this entity to a specific purpose." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range B2AI:Application .

B2AI:contribution_date a rdf:Property ;
  rdfs:comment "The date on which the node was added." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:date ;
  rdfs:subPropertyOf B2AI:node_property .

B2AI:used_in_bridge_2_ai a rdf:Property ;
  rdfs:comment "True if the entity is used, developed, or otherwise related to work in the Bridge2AI consortium. If false, the entity is not explicitly related to Bridge2AI. If not specified, it is not known if the entity is related to Bridge2AI." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:boolean ;
  rdfs:subPropertyOf B2AI:node_property .

B2AI:related_to a rdf:Property ;
  rdfs:comment "A relationship that is asserted between two named things." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range <http://schema.org/Thing> .

B2AI:contributor_orcid a rdf:Property ;
  rdfs:comment "The ORCiD of the person who added this node." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:anyURI ;
  rdfs:subPropertyOf B2AI:node_property .

B2AI:contributor_github_name a rdf:Property ;
  rdfs:comment "The name of the github user who added this node." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf B2AI:node_property .

B2AI:category a rdf:Property ;
  rdfs:comment "CURIE for the high level ontology class in which this entity is categorized. Corresponds to the label for the entity type class, e.g., \"B2AI_STANDARD:DataStandard\"." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:anyURI ;
  rdfs:subPropertyOf B2AI:type .

B2AI:Application a rdfs:Class ;
  rdfs:comment "A set of details describing a specific application of a resource (e.g., a standard or a dataset) to a specific purpose. In the context of Bridge2AI, this will generally refer to an artificial intelligence-driven application. The related_to slot can be used to link to other relevant entities, such as other Applications, UseCases, DataSets, or Standards. Application objects have unique identifiers with the prefix B2AI_APP. This allows an Application to be referenced from other objects if needed. The category slot for Application objects should always be set to B2AI:Application for clarity." ;
  rdfs:subClassOf <http://schema.org/Thing> .

B2AI:datasheet a rdf:Property ;
  rdfs:comment "List of one or more URLs pointing to related datasheets in the Datasheets for Datasets format." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:anyURI ;
  rdfs:subPropertyOf B2AI:node_property .

B2AI:references a rdf:Property ;
  rdfs:comment "List of one or more Reference objects for related publications, preprints, or other references." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range B2AI:Reference ;
  rdfs:subPropertyOf B2AI:node_property .

<http://schema.org/Thing> a rdfs:Class ;
  rdfs:comment "A generic grouping for any identifiable entity" .

B2AI:Reference a rdfs:Class ;
  rdfs:comment "A bibliographic reference to a publication, preprint, or other citable resource." .

B2AI:ref_publication_year a rdf:Property ;
  rdfs:comment "Year of publication of the referenced publication, preprint, or other citable resource. Use four-digit year format (e.g., 2023)." ;
  rdfs:domain B2AI:Reference ;
  rdfs:range xsd:integer .

B2AI:ref_authors a rdf:Property ;
  rdfs:comment "List of authors of the referenced publication, preprint, or other citable resource. Format as surname(s) given name initials, e.g., \"Brockheimer J\", \"Gudmundsdottir JF\"." ;
  rdfs:domain B2AI:Reference ;
  rdfs:range xsd:string .

B2AI:ref_title a rdf:Property ;
  rdfs:comment "Title of the referenced publication, preprint, or other citable resource." ;
  rdfs:domain B2AI:Reference ;
  rdfs:range xsd:string .

B2AI:ref_journal a rdf:Property ;
  rdfs:comment "Journal or venue of the referenced publication, preprint, or other citable resource. Follow the NLM Catalog journal title abbreviations where possible (e.g., J Biol Chem)." ;
  rdfs:domain B2AI:Reference ;
  rdfs:range xsd:string .

B2AI:ref_url a rdf:Property ;
  rdfs:comment "URL of the referenced publication, preprint, or other citable resource. This will often be a DOI in URL form." ;
  rdfs:domain B2AI:Reference ;
  rdfs:range xsd:anyURI .

B2AI:edam_id a rdf:Property ;
  rdfs:comment "Unique EDAM identifier" ;
  rdfs:range xsd:anyURI .

B2AI:mesh_id a rdf:Property ;
  rdfs:comment "Unique MeSH identifier" ;
  rdfs:range xsd:anyURI .

B2AI:ncit_id a rdf:Property ;
  rdfs:comment "Unique NCIt Identifier" ;
  rdfs:range xsd:anyURI .

B2AI:node_property a rdf:Property ;
  rdfs:comment "A grouping for any property that holds between a node and a value." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:string .

B2AI:type a rdf:Property ;
  rdfs:comment "A generic slot for any label corresponding to the label for an entity type associated to the class." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:string .

B2AI:url a rdf:Property ;
  rdfs:comment "URL for basic documentation of the standard or tool." ;
  rdfs:range xsd:anyURI ;
  rdfs:subPropertyOf B2AI:node_property .

B2AI:xref a rdf:Property ;
  rdfs:comment "URI of corresponding class in an ontology of experimental procedures, in CURIE form." ;
  rdfs:domain <http://schema.org/Thing> ;
  rdfs:range xsd:anyURI ;
  rdfs:subPropertyOf B2AI:node_property .
