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

[Spec] maxCardinality 0? #32

Open
pietercolpaert opened this issue May 14, 2024 · 0 comments
Open

[Spec] maxCardinality 0? #32

pietercolpaert opened this issue May 14, 2024 · 0 comments

Comments

@pietercolpaert
Copy link
Member

pietercolpaert commented May 14, 2024

What if we want to cleanly exclude a property that could be present in an entity description?

I.e., if this happens on a page:

<Collection> tree:member <A>, <B> .
### member 1
<A> a dcat:Dataset ;
        dct:title "A" .

### Member 2
<B> a dcat:Distribution ;
        dct:title "B" .
<A> dcat:distribution <B> .

Then we want to make sure that in a Dataset, you don’t want the dcat:distribution link to be included.

Proposed solution is to support maxCardinility 0, and thus add a property in a shape topology that indicates the notToBeIncludedPaths.

Problems:

  • What if <B> is a blank node instead? Then probably we still want to include it thanks to CBD?
  • What if the triple is used as part of a path?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant