Skip to content
This repository was archived by the owner on Feb 13, 2021. It is now read-only.
This repository was archived by the owner on Feb 13, 2021. It is now read-only.

The bf_partOf PropertyShape for Items should be limited to BoundCollections #102

@rjyounes

Description

@rjyounes

One way to implement this is:

:BoundCollectionForm
a sh:NodeShape ;
sh:node :ItemForm ; # "inherits" all constraints from ItemForm
# adds additional constraints particular to the BoundCollection
sh:targetClass arm:BoundCollection ;
sh:property :BoundCollectionForm_bf_hasPart_arm_Item ;
.

:BoundCollectionForm_bf_hasPart_arm_Item
sh:class bf:Item ;
etc.

The ItemForm would omit this property shape.

For now in VitroLib will use workaround by hard-coding the domain. See ld4l-labs/vitrolib#211.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions