Skip to content
This repository has been 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

Open
rjyounes opened this issue Jun 5, 2018 · 0 comments

Comments

@rjyounes
Copy link
Contributor

rjyounes commented Jun 5, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant