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

make distinction between valid and invalid datasetdesriptions #38

Open
coret opened this issue Apr 24, 2024 · 2 comments
Open

make distinction between valid and invalid datasetdesriptions #38

coret opened this issue Apr 24, 2024 · 2 comments

Comments

@coret
Copy link
Contributor

coret commented Apr 24, 2024

A datasetdescription is only added to the dataset register is it's valid. After being added, the datasetdescription can become invalid, due to changes to the datasetdescription or requirements. The current search function of the demonstrator just shows all datasetdescription. To help users searching and stimulate publishers, we do want to make the distinction valid/invalid.

The search form will get a checkbox with the label "Only valid datasetdescriptions", which is checked by default.

When this checkbox is checked, search results will only include valid datasetdescriptions.

@coret
Copy link
Contributor Author

coret commented Apr 24, 2024

Piece of SPARQL which has to be added for the search for valid datasetdescriptions is:

    ?url a schema:EntryPoint ;
         schema:about ?dataset ;
         schema:status ?status .
    FILTER (?status = 200)

But, then we only have 695 valid datasetdescriptions (out of 8192) at the moment, @ddeboer ?

@ddeboer
Copy link
Member

ddeboer commented May 2, 2024

That seems about right. Compare the number of orphan datasets, which no longer have a valid registration.

To pick an example registration: Spinque’s datacalog became invalid (schema:validUntil) at 2023-10-16T21:02:04.942Z. This was reported already at netwerk-digitaal-erfgoed/dataset-register#352 (comment).

To keep the reference between datasets and their registration when the latter becomes invalid, I added netwerk-digitaal-erfgoed/dataset-register#825.

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