PREFIX koio: <https://kgrid.org/koio#>
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#>

koio:KnowledgeObject a rdfs:Class ;
  rdfs:label "knowledge object"@en ;
  rdfs:comment "KnowledgeObject = def., an Information Artifact capable of serving a role as the atomic unit of computable knowledge and therefore comprised of at least one KnowledgeObjectImplementation" ;
  rdfs:subClassOf koio:InformationArtifact .

koio:hasTest a rdf:Property ;
  rdfs:label "has test" ;
  rdfs:comment "hasTest, def., a property that links a knowledge object, service, or knowledge to a specific test designed to evaluate its functionality, performance, or reliability. This property signifies that the component has an associated test to verify or validate its behavior." ;
  rdfs:domain koio:Service ;
  rdfs:range koio:Test ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/BFO_0000051> .

koio:hasService a rdf:Property ;
  rdfs:label "has service" ;
  rdfs:comment "hasService , def., a relation that holds between a whole KnowledgeObject and its Service part(s). Denotes that a KnowledgeObject includes or provides a specific Service." ;
  rdfs:domain koio:KnowledgeObject ;
  rdfs:range koio:Service ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/BFO_0000051> .

koio:hasDocumentation a rdf:Property ;
  rdfs:label "has documentation" ;
  rdfs:comment "hasDocumentation, def., a property that indicates an association between a knowledge object, knowledge, or service and documentation that describes, relates to, or provides information about each of these things." ;
  rdfs:domain koio:Test ;
  rdfs:range koio:InformationArtifact ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/BFO_0000051> .

koio:hasKnowledge a rdf:Property ;
  rdfs:label "has knowledge" ;
  rdfs:comment "hasKnowledge, def., indicates that a Knowledge Object contains or is associated with specific Knowledge." ;
  rdfs:domain koio:KnowledgeObject ;
  rdfs:range koio:Knowledge ;
  rdfs:subPropertyOf <http://purl.obolibrary.org/obo/BFO_0000051> .

koio:InformationArtifact a rdfs:Class ;
  rdfs:label "information artifact"@en ;
  rdfs:comment "An InformationArtifact = def., an Artifact that is the IndependentContinuant bearer created as the result of one or more intentional processes. Examples: uniprot, the english language, the contents of this document or a printout of it, the temperature measurements from a weather balloon. For more information, see the project home page at https://github.com/information-artifact-ontology/IAO" ;
  rdfs:subClassOf koio:Artifact .

koio:KnowledgeObjectCollection a rdfs:Class ;
  rdfs:label "knowledge object collection"@en ;
  rdfs:comment "Knowledge Object Collection = def., two or more Knowledge Objects with a collectionIdentifer" ;
  rdfs:subClassOf koio:Collection .

<http://www.ebi.ac.uk/swo/SWO_0000001> a rdfs:Class .

<http://www.ebi.ac.uk/swo/interface/SWO_9000054> a rdfs:Class .

<http://www.ebi.ac.uk/swo/SWO_0000108> a rdfs:Class .

<http://www.ebi.ac.uk/swo/SWO_9000050> a rdfs:Class .

koio:Implementation a rdfs:Class ;
  rdfs:label "implementation" ;
  rdfs:comment "def., a computer or machine processable file that is or informs a series of instructions that can be directly interpreted or executed." ;
  rdfs:subClassOf koio:InformationArtifact .

koio:Test a rdfs:Class ;
  rdfs:label "test" ;
  rdfs:comment "Test, def., an information content entity conveying a systematic procedure to assess specific aspects of software performance, functionality, or security. Tests are created to ensure that the software meets specified requirements or to identify any defects." ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/IAO_0000030> .

<http://www.ebi.ac.uk/swo/SWO_0000085> a rdf:Property ;
  rdfs:comment """Note: KSL added this definition to contextualize the definition below from SWO.
implemented by, def., is the relationship between an abstract KO component and a piece of software (or computer processable content)  which includes an implementation of that abstract KO component for use when processed by a computer.""" ;
  rdfs:domain koio:Test ;
  rdfs:range koio:Implementation .

<http://www.ebi.ac.uk/swo/interface/SWO_9000053> a rdfs:Class .

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

koio:Collection a rdfs:Class ;
  rdfs:label "collection"@en ;
  rdfs:comment "Collection = def. an InformationArtifact comprised of two or more InformationArtifacts and at least one collectionIdentifier" ;
  rdfs:subClassOf koio:InformationArtifact .

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

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

koio:Knowledge a rdfs:Class ;
  rdfs:label "knowledge" ;
  rdfs:comment "Knowledge, def., information or understanding about a subject, obtained through experience or study." ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/IAO_0000030> .

koio:Artifact a rdfs:Class ;
  rdfs:label "artifact"@en ;
  rdfs:comment """Artifact =def. a MaterialEntity created or modified or selected by some agent to realize a certain FUNCTION or ROLE (Examples: a key, a lock, a digital file stored on a particular computing machine, a screwdriver)


Smith & Ceusters, Aboutness: Towards Foundations for the Information Artifact Ontology""" ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/BFO_0000040> .

koio:Service a rdfs:Class ;
  rdfs:label "service" ;
  rdfs:comment """Service, def., a Service is a defined function or capability provided by a software system. Each Service provides a way to use or interact with a KnowledgeObject, facilitating access and utilization of the Knowledge encapsulated within the KnowledgeObject.

A Service is a specification of what a self-contained piece of software does.""" ;
  rdfs:subClassOf <http://purl.obolibrary.org/obo/IAO_0000030> .

<http://www.ebi.ac.uk/swo/SWO_0004001> a rdf:Property ;
  rdfs:domain koio:Service ;
  rdfs:range <http://www.ebi.ac.uk/swo/SWO_9000050> .

<http://purl.obolibrary.org/obo/RO_0002502> a rdf:Property ;
  rdfs:comment "depends on, def., indicates that a service uses a specific knowledge" ;
  rdfs:domain koio:Service ;
  rdfs:range koio:Knowledge .

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

koio:KOIOVersion a rdf:Property ;
  rdfs:label "KOIO version" ;
  rdfs:comment "The version of KOIO from which metadata is derived" ;
  rdfs:range <https://w3id.org/linkml/Any> .
