OntologyShape
type: NodeShape
target class: Ontology
property:
  path: title
  min count: 1
  severity: Warning
  message: Classes should have at least a title.

ClassShape
type: NodeShape
target: SPARQLTarget
  select: PREFIX owl: <http://www.w3.org/2002/07/owl#> SELECT ?this WHERE { ?this a owl:Class . FILTER(!isBlank(?this)) }
property:
  path: label
  min count: 1
  message: Classes should have at least one label.
  severity: Warning
property:
  path: comment
  min count: 1
  message: Classes should have at least one comment
  severity: Warning

PropertyShape
type: NodeShape
target class: ObjectProperty
target class: DatatypeProperty
target class: AnnotationProperty
target class: OntologyProperty
target class: Property
property:
  path: label
  min count: 1
  message: Properties should have at least one label.
  severity: Warning
property:
  path: comment
  min count: 1
  message: Properties should have at least one comment
  severity: Warning