Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow adding an Item part to an Item that is not a BoundCollection #211

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

Comments

@rjyounes
Copy link
Collaborator

rjyounes commented Jun 5, 2018

Domain class needs to be BoundCollection, not Item.

@rjyounes
Copy link
Collaborator Author

rjyounes commented Jun 5, 2018

In the SHACL, there should be a BoundCollectionForm which sh:nodes the ItemForm but adds a property shape with sh:path bf:partOf. The general ItemForm should omit that property.

See LD4P/arm#102 for more discussion.

Workaround: manually change domain of faux property to BoundCollection.

@rjyounes rjyounes changed the title Disallow adding a part to an Item that is not a BoundCollection Disallow adding an Item part to an Item that is not a BoundCollection Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant