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

[Spec]: add dcat:endpointDescription and dct:conformsTo #935

Open
rorlic opened this issue Oct 4, 2023 · 6 comments
Open

[Spec]: add dcat:endpointDescription and dct:conformsTo #935

rorlic opened this issue Oct 4, 2023 · 6 comments
Labels
needs triage Issue needs to be evaluated by team spec conformity

Comments

@rorlic
Copy link
Contributor

rorlic commented Oct 4, 2023

Please add dcat:endpointDescription to each dcat:DataService (aka a view) referring to the dcat:Catalog.
In addition, add dct:conformsTo to both <https://w3id.org/tree/specification> & <https://w3id.org/ldes/specification> .

Technically it is not a MUST but a SHOULD, see TREE specification.

Example:

<http://localhost:8080>
        rdf:type           dcat:Catalog ;
        terms:description  "All my LDES'es"@en ;
        terms:title        "All my observations"@en ;
        dcat:dataset       <http://localhost:8080/observations> ;
        dcat:service       <http://localhost:8080/observations/by-page/description> .

<http://localhost:8080/observations>
        rdf:type           dcat:Dataset ;
        terms:description  "LDES containing my observations"@en ;
        terms:title        "Observations LDES"@en .

<http://localhost:8080/observations/by-page/description>
        rdf:type            dcat:DataService ;
        terms:description   "Default paginated view on my observations"@en ;
        terms:title         "My observations by page"@en ;
        dcat:endpointURL    <http://localhost:8080/observations/by-page> ;
        dcat:servesDataset  <http://localhost:8080/observations> .

add:

<http://localhost:8080/observations/by-page/description> 
  dcat:endpointDescription <http://localhost:8080> ;
  dct:conformsTo <https://w3id.org/tree/specification> , <https://w3id.org/ldes/specification> .
@rorlic rorlic added bug Something isn't working spec conformity needs triage Issue needs to be evaluated by team labels Oct 4, 2023
@rorlic rorlic assigned rorlic and sandervd and unassigned rorlic and sandervd Oct 4, 2023
@pietercolpaert
Copy link
Collaborator

It’s not bad!

One small comment on choosing the dcat:Catalog IRI more carefully:

http://localhost:8080 is the IRI for your landing page of your server. I would disambiguate it from the catalog of datasets and services that are available from this server.

How about using http://localhost:8080/catalog#Catalog? This way, we have a page http://localhost:8080/catalog describing a catalog http://localhost:8080/catalog#Catalog. A client that visits http://localhost:8080 could be temporarily redirected to http://localhost:8080/catalog, so you can still use the base hostname for something else in the future.

@rorlic rorlic removed the bug Something isn't working label Nov 6, 2023
@jobulcke
Copy link
Collaborator

jobulcke commented Nov 8, 2023

Solved together with issue #964

@jobulcke jobulcke closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
@xdxxxdx
Copy link

xdxxxdx commented Apr 15, 2024

Hello @rorlic @jobulcke,
With version /ldes-server:2.13.0-SNAPSHOT.
image
The description can be added to the view.
e.g. http://localhost:8080/bearb/timebased-50/description
But this url is not dereferenceable. (I mean this link, links to nothing)
image
IMO, the link should link to a page?
Thanks

@xdxxxdx xdxxxdx reopened this Apr 15, 2024
@rorlic
Copy link
Contributor Author

rorlic commented Apr 15, 2024

it never pointed to anything before, but to what would you expect it to point? what should the page display?

@xdxxxdx
Copy link

xdxxxdx commented Apr 15, 2024

Hello @rorlic ,
I am just wondering should all info regarding http://localhost:8080/bearb/timebased-50/description be in the context (in-band) of page localhost/bearb/timebased-50.
Or it is also possible there will be extra info regarding http://localhost:8080/bearb/timebased-50/description is at the page http://localhost:8080/bearb/timebased-50/description.
Thanks

@pietercolpaert
Copy link
Collaborator

Simple fix would indeed be to use http://localhost:8080/bearb/timebased-50#description → hash instead of a slash here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be evaluated by team spec conformity
Projects
Archived in project
Development

No branches or pull requests

5 participants