@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ks: <https://w3id.org/linkml/tests/kitchen_sink/> .
@prefix linkml: <https://w3id.org/linkml/> .
@prefix ns1: <http://purl.obolibrary.org/obo/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://www.w3.org/ns/prov#wasGeneratedBy> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "was generated by" ;
    rdfs:range <https://w3id.org/linkml/tests/core/Activity> .

linkml:SubsetDefinition a owl:Class ;
    rdfs:label "subset_definition" ;
    skos:definition "the name and description of a subset" .

linkml:TypeDefinition a owl:Class ;
    rdfs:label "type_definition" ;
    skos:definition "A data type definition." .

<https://w3id.org/linkml/tests/core/activity_set> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "activity set" ;
    rdfs:range <https://w3id.org/linkml/tests/core/Activity> .

<https://w3id.org/linkml/tests/core/agent_set> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "agent set" ;
    rdfs:range <https://w3id.org/linkml/tests/core/Agent> .

<https://w3id.org/linkml/tests/kitchen_sink.owl.ttl> a owl:Ontology ;
    rdfs:label "kitchen_sink" ;
    ns1:IAO_0000700 <https://w3id.org/linkml/tests/core/Activity>,
        <https://w3id.org/linkml/tests/core/Agent>,
        ks:Address,
        ks:Concept,
        ks:Dataset,
        ks:Event,
        ks:HasAliases,
        ks:Relationship,
        ks:WithLocation ;
    dcterms:license "https://creativecommons.org/publicdomain/zero/1.0/" ;
    rdfs:seeAlso "https://example.org/" ;
    skos:definition """Kitchen Sink Schema

This schema does not do anything useful. It exists to test all features of linkml.

This particular text field exists to demonstrate markdown within a text field:

Lists:

   * a
   * b
   * c

And links, e.g to [Person](Person.md)""" ;
    linkml:generation_date "2021-10-07 18:16" ;
    linkml:metamodel_version "1.7.0" ;
    linkml:source_file "kitchen_sink.yaml" ;
    linkml:source_file_date "Thu Oct  7 18:11:46 2021" ;
    linkml:source_file_size 4456 .

ks:has_marriage_history a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "has marriage history" ;
    rdfs:range ks:MarriageEvent .

linkml:topValue a owl:DatatypeProperty ;
    rdfs:label "value" .

<http://www.w3.org/ns/prov#actedOnBehalfOf> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "acted on behalf of" ;
    rdfs:range <https://w3id.org/linkml/tests/core/Agent> .

<http://www.w3.org/ns/prov#used> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "used" ;
    rdfs:domain <https://w3id.org/linkml/tests/core/Activity> ;
    rdfs:range linkml:String .

<http://www.w3.org/ns/prov#wasAssociatedWith> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "was associated with" ;
    rdfs:range <https://w3id.org/linkml/tests/core/Agent> .

<https://w3id.org/linkml/tests/core/description> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "description" ;
    rdfs:range linkml:String .

ks:Dataset a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Dataset" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom ks:Company ;
            owl:onProperty ks:companies ],
        [ a owl:Restriction ;
            owl:allValuesFrom <https://w3id.org/linkml/tests/core/Activity> ;
            owl:onProperty ks:activities ],
        [ a owl:Restriction ;
            owl:allValuesFrom ks:Person ;
            owl:onProperty ks:persons ] .

ks:MarriageEvent a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "MarriageEvent" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:Person ;
            owl:onProperty ks:married_to ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:Place ;
            owl:onProperty ks:in_location ],
        ks:Event,
        ks:WithLocation .

ks:Organization a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Organization" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom linkml:String ;
            owl:onProperty ks:aliases ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/name> ],
        [ a owl:Restriction ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/id> ;
            owl:qualifiedCardinality 1 ],
        ks:HasAliases .

ks:activities a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "activities" ;
    rdfs:range <https://w3id.org/linkml/tests/core/Activity> .

ks:addresses a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "addresses" ;
    rdfs:range ks:Address .

ks:age_in_years a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "age in years" ;
    rdfs:range linkml:Integer .

ks:ceo a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "ceo" ;
    rdfs:range ks:Person .

ks:city a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "city" ;
    rdfs:range linkml:String .

ks:companies a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "companies" ;
    rdfs:range ks:Company .

ks:diagnosis a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "diagnosis" ;
    rdfs:range ks:DiagnosisConcept .

ks:employed_at a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "employed at" ;
    rdfs:range ks:Company .

ks:has_birth_event a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "has birth event" ;
    rdfs:range ks:BirthEvent .

ks:has_employment_history a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "has employment history" ;
    rdfs:range ks:EmploymentEvent .

ks:has_familial_relationships a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "has familial relationships" ;
    rdfs:range ks:FamilialRelationship .

ks:has_medical_history a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "has medical history" ;
    rdfs:range ks:MedicalEvent .

ks:is_current a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "is current" ;
    rdfs:range linkml:Boolean .

ks:married_to a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "married to" ;
    rdfs:range ks:Person .

ks:persons a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "persons" ;
    rdfs:range ks:Person .

ks:procedure a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "procedure" ;
    rdfs:range ks:ProcedureConcept .

ks:street a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "street" ;
    rdfs:range linkml:String .

<http://www.w3.org/ns/prov#wasInformedBy> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "was informed by" ;
    rdfs:range <https://w3id.org/linkml/tests/core/Activity> .

ks:BirthEvent a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "BirthEvent" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:Place ;
            owl:onProperty ks:in_location ],
        ks:Event .

ks:DiagnosisConcept a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "DiagnosisConcept" ;
    rdfs:subClassOf ks:Concept .

ks:EmploymentEvent a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "EmploymentEvent" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:Company ;
            owl:onProperty ks:employed_at ],
        ks:Event .

ks:FamilialRelationship a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "FamilialRelationship" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:onClass ks:Person ;
            owl:onProperty ks:related_to ;
            owl:qualifiedCardinality 1 ],
        [ a owl:Restriction ;
            owl:onClass <http://UNKNOWN.org/FamilialRelationshipType> ;
            owl:onProperty ks:type ;
            owl:qualifiedCardinality 1 ],
        ks:Relationship .

ks:MedicalEvent a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "MedicalEvent" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:DiagnosisConcept ;
            owl:onProperty ks:diagnosis ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:ProcedureConcept ;
            owl:onProperty ks:procedure ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:Place ;
            owl:onProperty ks:in_location ],
        ks:Event .

ks:ProcedureConcept a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "ProcedureConcept" ;
    rdfs:subClassOf ks:Concept .

ks:Relationship a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Relationship" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty ks:related_to ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty ks:type ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Date ;
            owl:onProperty <http://www.w3.org/ns/prov#startedAtTime> ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Date ;
            owl:onProperty <http://www.w3.org/ns/prov#endedAtTime> ] .

ks:WithLocation a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "WithLocation" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:Place ;
            owl:onProperty ks:in_location ],
        linkml:mixin .

ks:related_to a owl:ObjectProperty,
        linkml:SlotDefinition .

ks:type a owl:ObjectProperty,
        linkml:SlotDefinition .

<http://www.w3.org/ns/prov#endedAtTime> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "ended at time" ;
    rdfs:range linkml:Date .

<http://www.w3.org/ns/prov#startedAtTime> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "started at time" ;
    rdfs:range linkml:Date .

<https://w3id.org/linkml/tests/core/name> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "name" ;
    rdfs:range linkml:String .

ks:Address a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Address" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty ks:city ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty ks:street ] .

ks:Concept a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Concept" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/id> ;
            owl:qualifiedCardinality 1 ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/name> ] .

ks:Company a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Company" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:Person ;
            owl:onProperty ks:ceo ],
        ks:Organization .

ks:HasAliases a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "HasAliases" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom linkml:String ;
            owl:onProperty ks:aliases ],
        linkml:mixin .

ks:aliases a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "aliases" ;
    rdfs:range linkml:String .

ks:in_location a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "in location" ;
    rdfs:range ks:Place .

ks:Event a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Event" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Date ;
            owl:onProperty <http://www.w3.org/ns/prov#startedAtTime> ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Boolean ;
            owl:onProperty ks:is_current ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Date ;
            owl:onProperty <http://www.w3.org/ns/prov#endedAtTime> ] .

ks:Place a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Place" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/id> ;
            owl:qualifiedCardinality 1 ],
        [ a owl:Restriction ;
            owl:allValuesFrom linkml:String ;
            owl:onProperty ks:aliases ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/name> ],
        ks:HasAliases .

<https://w3id.org/linkml/tests/core/Agent> a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "agent" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/id> ;
            owl:qualifiedCardinality 1 ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass <https://w3id.org/linkml/tests/core/Activity> ;
            owl:onProperty <http://www.w3.org/ns/prov#wasInformedBy> ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass <https://w3id.org/linkml/tests/core/Agent> ;
            owl:onProperty <http://www.w3.org/ns/prov#actedOnBehalfOf> ] ;
    skos:definition "a provence-generating agent" ;
    skos:exactMatch <http://www.w3.org/ns/prov#Agent> .

<https://w3id.org/linkml/tests/core/id> a owl:ObjectProperty,
        linkml:SlotDefinition ;
    rdfs:label "id" ;
    rdfs:range linkml:String .

ks:Person a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "Person" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom linkml:String ;
            owl:onProperty ks:aliases ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass ks:BirthEvent ;
            owl:onProperty ks:has_birth_event ],
        [ a owl:Restriction ;
            owl:allValuesFrom ks:Address ;
            owl:onProperty ks:addresses ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty ks:name ],
        [ a owl:Restriction ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/id> ;
            owl:qualifiedCardinality 1 ],
        [ a owl:Restriction ;
            owl:allValuesFrom ks:MedicalEvent ;
            owl:onProperty ks:has_medical_history ],
        [ a owl:Restriction ;
            owl:allValuesFrom ks:EmploymentEvent ;
            owl:onProperty ks:has_employment_history ],
        [ a owl:Restriction ;
            owl:allValuesFrom ks:FamilialRelationship ;
            owl:onProperty ks:has_familial_relationships ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Integer ;
            owl:onProperty ks:age_in_years ],
        ks:HasAliases .

<https://w3id.org/linkml/tests/core/Activity> a owl:Class,
        linkml:ClassDefinition ;
    rdfs:label "activity" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty <http://www.w3.org/ns/prov#used> ],
        [ a owl:Restriction ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/id> ;
            owl:qualifiedCardinality 1 ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass <https://w3id.org/linkml/tests/core/Agent> ;
            owl:onProperty <http://www.w3.org/ns/prov#wasAssociatedWith> ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:String ;
            owl:onProperty <https://w3id.org/linkml/tests/core/description> ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Date ;
            owl:onProperty <http://www.w3.org/ns/prov#startedAtTime> ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass linkml:Date ;
            owl:onProperty <http://www.w3.org/ns/prov#endedAtTime> ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass <https://w3id.org/linkml/tests/core/Activity> ;
            owl:onProperty <http://www.w3.org/ns/prov#wasInformedBy> ] ;
    skos:definition "a provence-generating activity" ;
    skos:exactMatch <http://www.w3.org/ns/prov#Activity> .

linkml:ClassDefinition a owl:Class ;
    rdfs:label "class_definition" ;
    skos:definition "the definition of a class or interface" .

linkml:SlotDefinition a owl:Class ;
    rdfs:label "slot_definition" ;
    skos:definition "the definition of a property or a slot" .


