constraining a property by its shape

Hi,

Is there any way to constrain properties used within a shape by the shape of the properties? I’m thinking of something like this (not legal):

:Ontology Nonliteral {
    a [owl:Ontology] ;
    owl:imports IRI+ ;
    @:AnnotationProperty .*
}

:AnnotationProperty IRI {
    a owl:AnnotationProperty
}

I would like to say that the ontology shape can have any number of properties that are annotation properties.

Thanks,
Jim

Received on Tuesday, 27 June 2023 13:56:36 UTC