Skip to content

[Spec] maxCardinality 0? #32

@pietercolpaert

Description

@pietercolpaert

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions