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

Domain, range and usage of dcat:first, dcat:last is hard to understand #1513

Closed
stigbd opened this issue May 24, 2022 · 2 comments · Fixed by #1516
Closed

Domain, range and usage of dcat:first, dcat:last is hard to understand #1513

stigbd opened this issue May 24, 2022 · 2 comments · Fixed by #1516
Labels
dataset-series dcat due for closing Issue that is going to be closed if there are no objection within 6 days Editorial
Milestone

Comments

@stigbd
Copy link

stigbd commented May 24, 2022

In an early attempt to use the much welcomed dcat:DatasetSeries in our Norwegian application profile DCAT-AP-NO, I find it hard to understand how dcat:first and dcat:last is to be used.

None of the examples show the usage of these properties.

Based on the assumption that domain/range is dcat:DatasetSeries/dcat:Dataset and what I think is the intention behind these properties, this should work as an example:

ex:EUCatalogue a dcat:Catalog ;
  dcterms:title "European Data Catalogue"@en ;
  dcat:dataset ex:budget  ;
  .

ex:budget a dcat:DatasetSeries ;
  dcterms:title "Budget data"@en ;
  dcat:first ex:budget-2018 ;
  dcat:last ex:budget-2020 ;
  .
  
ex:budget-2018 a dcat:Dataset ;
  dcterms:title "Budget data for year 2018"@en ;
  dcat:inSeries ex:budget ;
  dcterms:issued "2019-01-01"^^xsd:date ;
  dcat:next ex:budget-2019 ;
  .
  
ex:budget-2019 a dcat:Dataset ;
  dcterms:title "Budget data for year 2019"@en ;
  dcat:inSeries ex:budget ;
  dcterms:issued "2020-01-01"^^xsd:date ;
  dcat:prev ex:budget-2018 ;
  dcat:next ex:budget-2020 ;
  .
  
ex:budget-2020 a dcat:Dataset ;
  dcterms:title "Budget data for year 2020"@en ;
  dcat:inSeries ex:budget ;
  dcterms:issued "2021-01-01"^^xsd:date ;
  dcat:prev ex:budget-2019 ;
  .

I suggest you include domain, range and an example showing the usage of these properties.

@riccardoAlbertoni
Copy link
Contributor

Thanks, @stigbd, for your comments.
PR #1516 includes dcat:first and dcat:last in some examples of the current editorial draft.

We didn't restrict the range and domain as these properties might also help in more general use cases. In fact, for the sake of generality, they have been defined at the level of dcat:Resources.

I suggest closing this issue if you don't have any other comments.

@riccardoAlbertoni riccardoAlbertoni added the due for closing Issue that is going to be closed if there are no objection within 6 days label Sep 7, 2022
@riccardoAlbertoni riccardoAlbertoni moved this from To do to Review in progress in DCAT Sprint: Dataset Series Sep 7, 2022
@riccardoAlbertoni riccardoAlbertoni moved this from Review in progress to Reviewer approved in DCAT Sprint: Dataset Series Sep 7, 2022
@stigbd
Copy link
Author

stigbd commented Sep 7, 2022

The additions to the examples look good to me. Thanks for adressing this!

@stigbd stigbd closed this as completed Sep 7, 2022
DCAT Sprint: Dataset Series automation moved this from Reviewer approved to Done Sep 7, 2022
DCAT Sprint: Editorial revisions automation moved this from To do to Done Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataset-series dcat due for closing Issue that is going to be closed if there are no objection within 6 days Editorial
Development

Successfully merging a pull request may close this issue.

3 participants