-
Notifications
You must be signed in to change notification settings - Fork 3
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
Handle dcat:accessService #698
Comments
@ddeboer could you append the selection in query.ts to handle this "extra" DCAT data? |
@coret The SHACL now requires accessURL OR downloadURL OR accessService. Is this intentional? The query itself always assumed accessURL must always be available. Also keep in mind all these OPTIONALs in our SPARQL query may slow things down. Also: accessService expects a node, not a literal (URL). |
@ddeboer the "accessURL OR downloadURL" was already in the SHACL, I now added the "OR accessService". So if the query only looks at accessURL, it should be expanded to "accessURL OR downloadURL OR accessService". |
There's an additional sub-issue. The DCAT implementation by Triply (see for example the <script> blocks within https://data.netwerkdigitaalerfgoed.nl/coret/GoudaTimeMachine) omits an dcat:mediaType for dcat:Distribution with a dcat:accessService. Currently thats required in our SHACL. Asked about if this was an oversight or deliberate omission, the response was:
I tend to agree. But this makes querying the Dataset Register also harder. Now we can just filter on dcat:mediaType (sourced from schema:encodingFormat) to find linked data. With dcat:accessService (and without dcat:mediaType) the SPARQL becomes harder. It's semantically better though. |
|
The dcat:accessService property is a new property of the dcat:Distribution. It's meant to link to a DataService, which allows for a better description of services like SPARQL-endpoint. This new property should be allowed in the DCAT validation and stored in the right way (as we use DCAT for the data in our triplestore, a transformation is not be needed, just the right selection).
The text was updated successfully, but these errors were encountered: