inbo / ipt-dcat

📃 Data Catalog Vocabulary (DCAT) functionality for the IPT
MIT License
4 stars 0 forks source link

Dataset mandatory according to validator #43

Closed peterdesmet closed 9 years ago

peterdesmet commented 9 years ago

Setup: a test IPT registered with a test organization. No published datasets.

If I paste the DCAT feed into the validator, I get one error:

The property: dataset is mandatory

So, if there are no published datasets, should we generate a feed at all?

simon-vc commented 9 years ago

Good question, I suppose not. I'll just return a blank that says there are no published datasets.

peterdesmet commented 9 years ago

Can you have comments in DCAT? If so, I would generate No published datasets. as a comment, so it still validates as DCAT.

simon-vc commented 9 years ago

it would be a valid turtle file, but not a valid dcat still it will be better in comments

pietercolpaert commented 9 years ago

A catalog with no datasets should still be published I believe as usual... The fact that when there are no datasets it doesn't validate shouldn't be too much of a problem ;)

peterdesmet commented 9 years ago

Ok, let's keep the useful information then. @pietercolpaert Isn't it a bit odd that datasets are required then by DCAT-AP?

peterdesmet commented 9 years ago

Confirmed fixed in v1.2