LD4P / arm

BIBFRAME extension ontologies for modeling bibliographic metadata in the art and rare materials domains.
https://ld4p.github.io/arm/
16 stars 11 forks source link

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

Open rjyounes opened 6 years ago

rjyounes commented 6 years ago

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 https://github.com/ld4l-labs/vitrolib/issues/211.