nwb-linkml/nwb-schema-language/project/owl/nwb_schema_language.owl.ttl

343 lines
12 KiB
Turtle

@prefix IAO: <http://purl.obolibrary.org/obo/IAO_> .
@prefix PATO: <http://purl.obolibrary.org/obo/PATO_> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix famrel: <http://example.org/famrel/> .
@prefix linkml: <https://w3id.org/linkml/> .
@prefix my_datamodel: <https://w3id.org/my_org/my_datamodel> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
linkml:SubsetDefinition a owl:Class ;
rdfs:label "subset_definition" .
linkml:TypeDefinition a owl:Class ;
rdfs:label "type_definition" .
linkml:topValue a owl:DatatypeProperty ;
rdfs:label "value" .
my_datamodel: a owl:Ontology ;
rdfs:label "my_datamodel" ;
IAO:0000700 my_datamodel:Address,
my_datamodel:HasAliases,
my_datamodel:NamedThing,
my_datamodel:Registry,
my_datamodel:Relationship ;
dcterms:license "https://creativecommons.org/publicdomain/zero/1.0/" ;
dcterms:title "My Datamodel" ;
rdfs:seeAlso "https://example.org/" ;
linkml:generation_date "2022-09-06T10:01:46" ;
linkml:metamodel_version "1.7.0" ;
linkml:source_file "nwb_schema_language.yaml" ;
linkml:source_file_date "2022-09-06T10:00:58" ;
linkml:source_file_size 3771 .
my_datamodel:employed_at a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "employed_at" ;
rdfs:range my_datamodel:Organization .
my_datamodel:is_current a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "is_current" ;
rdfs:range linkml:Boolean .
my_datamodel:Registry a owl:Class,
linkml:ClassDefinition ;
rdfs:label "Registry" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:allValuesFrom my_datamodel:Person ;
owl:onProperty my_datamodel:persons ],
[ a owl:Restriction ;
owl:allValuesFrom my_datamodel:Organization ;
owl:onProperty my_datamodel:organizations ] ;
skos:definition "Top level data container" .
my_datamodel:age_in_years a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "age_in_years" ;
rdfs:range linkml:Integer .
my_datamodel:city a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "city" ;
rdfs:range linkml:String .
my_datamodel:current_address a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "current_address" ;
rdfs:range my_datamodel:Address ;
skos:definition "The address at which a person currently lives" .
my_datamodel:founding_date a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "founding_date" ;
rdfs:range linkml:String .
my_datamodel:has_familial_relationships a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "has_familial_relationships" ;
rdfs:range my_datamodel:FamilialRelationship .
my_datamodel:mission_statement a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "mission_statement" ;
rdfs:range linkml:String .
my_datamodel:organizations a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "organizations" ;
rdfs:range my_datamodel:Organization .
my_datamodel:persons a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "persons" ;
rdfs:range my_datamodel:Person .
my_datamodel:postal_code a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "postal_code" ;
rdfs:range linkml:String .
my_datamodel:street a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "street" ;
rdfs:range linkml:String .
famrel:02 a owl:Class,
my_datamodel:FamilialRelationshipType ;
rdfs:label "PARENT_OF" .
PATO:0001421 a owl:Class,
my_datamodel:PersonStatus ;
rdfs:label "ALIVE" .
PATO:0001422 a owl:Class,
my_datamodel:PersonStatus ;
rdfs:label "DEAD" .
schema:birthDate a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "birth_date" ;
rdfs:range linkml:String ;
skos:exactMatch schema:birthDate .
schema:description a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "description" ;
rdfs:range linkml:String ;
skos:exactMatch schema:description .
schema:email a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "primary_email" ;
rdfs:range linkml:String ;
skos:exactMatch schema:email .
schema:identifier a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "id" ;
rdfs:range linkml:String ;
skos:exactMatch schema:identifier .
schema:image a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "image" ;
rdfs:range linkml:String ;
skos:exactMatch schema:image .
schema:name a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "name" ;
rdfs:range linkml:String ;
skos:exactMatch schema:name .
<http://www.w3.org/ns/prov#endedAtTime> a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "ended_at_time" ;
rdfs:range linkml:Date ;
skos:exactMatch <http://www.w3.org/ns/prov#endedAtTime> .
<http://www.w3.org/ns/prov#startedAtTime> a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "started_at_time" ;
rdfs:range linkml:Date ;
skos:exactMatch <http://www.w3.org/ns/prov#startedAtTime> .
my_datamodel:FamilialRelationship a owl:Class,
linkml:ClassDefinition ;
rdfs:label "FamilialRelationship" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:onClass my_datamodel:FamilialRelationshipType ;
owl:onProperty my_datamodel:type ;
owl:qualifiedCardinality 1 ],
[ a owl:Restriction ;
owl:onClass my_datamodel:Person ;
owl:onProperty my_datamodel:related_to ;
owl:qualifiedCardinality 1 ],
my_datamodel:Relationship .
<https://w3id.org/my_org/my_datamodelPersonStatus#UNKNOWN> a owl:Class,
my_datamodel:PersonStatus ;
rdfs:label "UNKNOWN" .
my_datamodel:Relationship a owl:Class,
linkml:ClassDefinition ;
rdfs:label "Relationship" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty my_datamodel:related_to ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty my_datamodel:type ],
[ 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 linkml:Date ;
owl:onProperty <http://www.w3.org/ns/prov#startedAtTime> ] .
my_datamodel:related_to a owl:ObjectProperty,
linkml:SlotDefinition .
my_datamodel:type a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "type" ;
rdfs:range linkml:String .
famrel:01 a owl:Class,
my_datamodel:FamilialRelationshipType ;
rdfs:label "CHILD_OF",
"SIBLING_OF" .
my_datamodel:Address a owl:Class,
linkml:ClassDefinition ;
rdfs:label "Address" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty my_datamodel:city ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty my_datamodel:street ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty my_datamodel:postal_code ] ;
skos:exactMatch schema:PostalAddress .
my_datamodel:FamilialRelationshipType a owl:Class,
linkml:EnumDefinition ;
rdfs:label "FamilialRelationshipType" ;
owl:unionOf ( famrel:01 famrel:02 famrel:01 ) ;
linkml:permissible_values famrel:01,
famrel:02 .
my_datamodel:HasAliases a owl:Class,
linkml:ClassDefinition ;
rdfs:label "HasAliases" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:allValuesFrom linkml:String ;
owl:onProperty my_datamodel:aliases ],
linkml:mixin ;
skos:definition "A mixin applied to any class that can have aliases/alternateNames" .
my_datamodel:NamedThing a owl:Class,
linkml:ClassDefinition ;
rdfs:label "NamedThing" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty schema:description ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty schema:name ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty schema:image ],
[ a owl:Restriction ;
owl:onClass linkml:String ;
owl:onProperty schema:identifier ;
owl:qualifiedCardinality 1 ] ;
skos:closeMatch schema:Thing ;
skos:definition "A generic grouping for any identifiable entity" .
my_datamodel:Organization a owl:Class,
linkml:ClassDefinition ;
rdfs:label "Organization" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty my_datamodel:mission_statement ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty my_datamodel:founding_date ],
[ a owl:Restriction ;
owl:allValuesFrom linkml:String ;
owl:onProperty my_datamodel:aliases ],
my_datamodel:HasAliases,
my_datamodel:NamedThing ;
skos:definition "An organization such as a company or university" ;
skos:exactMatch schema:Organization .
my_datamodel:Person a owl:Class,
linkml:ClassDefinition ;
rdfs:label "Person" ;
rdfs:subClassOf [ a owl:Restriction ;
owl:allValuesFrom linkml:String ;
owl:onProperty my_datamodel:aliases ],
[ a owl:Restriction ;
owl:allValuesFrom my_datamodel:FamilialRelationship ;
owl:onProperty my_datamodel:has_familial_relationships ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:Integer ;
owl:onProperty my_datamodel:age_in_years ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass my_datamodel:Address ;
owl:onProperty my_datamodel:current_address ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty schema:birthDate ],
[ a owl:Restriction ;
owl:maxQualifiedCardinality 1 ;
owl:onClass linkml:String ;
owl:onProperty schema:email ],
my_datamodel:HasAliases,
my_datamodel:NamedThing ;
skos:definition "A person (alive, dead, undead, or fictional)." ;
skos:exactMatch schema:Person .
my_datamodel:PersonStatus a owl:Class,
linkml:EnumDefinition ;
rdfs:label "PersonStatus" ;
owl:unionOf ( PATO:0001421 PATO:0001422 <https://w3id.org/my_org/my_datamodelPersonStatus#UNKNOWN> ) ;
linkml:permissible_values PATO:0001421,
PATO:0001422,
<https://w3id.org/my_org/my_datamodelPersonStatus#UNKNOWN> .
my_datamodel:aliases a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "aliases" ;
rdfs:range linkml:String ;
skos:exactMatch schema:alternateName .
linkml:ClassDefinition a owl:Class ;
rdfs:label "class_definition" .
linkml:SlotDefinition a owl:Class ;
rdfs:label "slot_definition" .