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 xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX linkml: <https://w3id.org/linkml/>
PREFIX bcr: <https://example.org/bdpontology/bcr/>
PREFIX sio: <http://semanticscience.org/resource/SIO_>
PREFIX this: <urn:rusalka:model/__anon/model/linkml/f5079c64-c56b-4242-b97c-6c38106261fd#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX vann: <http://purl.org/vocab/vann/>

<http://example.org/bdpontology/bcr> a owl:Ontology ;
  vann:preferredNamespacePrefix "bcr" ;
  vann:preferredNamespaceUri "https://example.org/bdpontology/bcr/"^^xsd:anyURI ;
  sh:declare [
    sh:prefix "linkml" ;
    sh:namespace "https://w3id.org/linkml/"^^xsd:anyURI
  ] , [
    sh:prefix "bcr" ;
    sh:namespace "https://example.org/bdpontology/bcr/"^^xsd:anyURI
  ] , [
    sh:prefix "xsd" ;
    sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI
  ] , [
    sh:prefix "sio" ;
    sh:namespace "http://semanticscience.org/resource/SIO_"^^xsd:anyURI
  ] , [
    sh:prefix "this" ;
    sh:namespace "urn:rusalka:model/__anon/model/linkml/f5079c64-c56b-4242-b97c-6c38106261fd#"^^xsd:anyURI
  ] .

bcr:Person a owl:Class ;
  rdfs:comment "An entry in the repository person/patient table" .

bcr:Entry a owl:Class ;
  rdfs:comment "An entry in a breast cancer registry" ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty bcr:id ;
    owl:allValuesFrom bcr:Person
  ] , [
    a owl:Restriction ;
    owl:onProperty bcr:id ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty bcr:entry_date ;
    owl:allValuesFrom xsd:date
  ] , [
    a owl:Restriction ;
    owl:onProperty bcr:entry_date ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty bcr:age ;
    owl:allValuesFrom xsd:integer
  ] , [
    a owl:Restriction ;
    owl:onProperty bcr:age ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
  ] .

bcr:id a owl:ObjectProperty ;
  rdfs:comment "The identifier of the person diagnosed with breast cancer" ;
  a owl:FunctionalProperty .

bcr:entry_date a owl:DatatypeProperty ;
  rdfs:comment "The date that the person was diagnosed as having breast cancer" ;
  rdfs:range xsd:date ;
  a owl:FunctionalProperty .

bcr:age a owl:DatatypeProperty ;
  rdfs:comment "The age of the person at the point of diagnosis" ;
  rdfs:range xsd:integer ;
  a owl:FunctionalProperty .

vann:preferredNamespacePrefix a owl:AnnotationProperty .

vann:preferredNamespaceUri a owl:AnnotationProperty .

sh:declare a owl:AnnotationProperty .

sh:prefix a owl:AnnotationProperty .

sh:namespace a owl:AnnotationProperty .

xsd:date a rdfs:Datatype .
