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

Requirements schema:DataCatalog cannot hold #52

Open
coret opened this issue Oct 6, 2021 · 2 comments
Open

Requirements schema:DataCatalog cannot hold #52

coret opened this issue Oct 6, 2021 · 2 comments
Assignees

Comments

@coret
Copy link
Contributor

coret commented Oct 6, 2021

Our requirements specifiy several properties to be required with schema:DataCatalog. This leads to validation problems, caused by the fact that a Dataset can have an schema:includedInDataCatalog which is of type schema:DataCatalog.

For example:

{
    "@context": "http://schema.org/",
    "@id": "https://data.labs.kadaster.nl/kadaster/bag2",
    "@type": "Dataset",
    ...
    "includedInDataCatalog": {
      "@type": "DataCatalog",
      "@id": "https://data.labs.kadaster.nl",
      "name": "Kadaster Data Science"
    },
    ...
}

This schema:includedInDataCatalog within a schema:Dataset can not be expected to have all datasets of the Datacatalog. Properties like schema:publisher and schema:name are less likely to be present in schema:includedInDataCatalog.

Prososal: change the cardinality and usage of properties to make them optional (after which this should also be change in the SHACL).

4.6.4. DataCatalog attributes

Property Description Cardinality Usage
@id The HTTP [IRI] of the data catalog. 1 Required
schema:name The name of the data catalog. 0..1 Recommended
schema:description A description of the data catalog. 0..1 Recommended
schema:publish The publisher of the data catalog. 0..1 Recommended
scheme:dataset The datasets that are contained in the data catalog. 0..n Recommended
@ddeboer
Copy link
Member

ddeboer commented Oct 7, 2021

If the SHACL needs to change, only change that but leave the requirements as they are to invite providers to submit full data catalog descriptions.

@coret
Copy link
Contributor Author

coret commented May 24, 2023

Additional cases where the strict requirements hinder validation:

  • Dataverse datasetdescriptions are 'missing' a publisher and datasets:
    "includedInDataCatalog":{"@type":"DataCatalog","name":"UCLA Dataverse","url":"https://dataverse.ucla.edu"}

  • https://data.bibliotheken.nl/doc/datacatalog is 'missing' datasets.

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

2 participants