-
Notifications
You must be signed in to change notification settings - Fork 1
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
dcat:distribution, model fix, inspect API updates #911
Comments
Currently, cubes that have been built using csvcubed v0.4.10 or lower cannot be inspected using csvcubed v0.5.0 or greater, as the primary identifier has changed from Additional information on the version of csvcubed used to build the cube is also now available in the metadata JSON file, which may also be leveraged to determine how the cube should be inspected. The Possible solutions:
Build activity informationcsvcubed version < 0.5.0
csvcubed version >= 0.5.0
|
* Updating the release version in pyproject.toml * test commit * WIP * WIP * WIP * WIP * WIP * WIP * Tidy up * tidy up * Working * Added comments * fixed pyright errors * more pyright * Changed #csvqb to #qbDataSet * PR comments addressed * poetry lock * poetry lock * oops * small change --------- Co-authored-by: Auto-version-incrementer <[email protected]>
With yanked csvcubed 0.5.0 we adopted the following change to the object model.
This impacts csvcubed's inspect command, which calls https://github.com/GSS-Cogs/csvcubed/blob/main/src/csvcubed/inspect/sparql_handler/sparql_queries/select_catalog_metadata.sparql which primarily looks for the
dcat:Dataset
Which is no longer present; however it should be present. Consider the application profile where the CSV-W is the distribution. This leads us to the following:
So the catalogue metadata is attached to the dataset, but the CSV-W's primary subject is now the
Attachable
,qb:Dataset
, etc.This should allow the SPARQL query to remain unchanged.
The metadata attached to the
dcat:Distribution
should be at most (Not these are not requirements, just what we can fill in that we already have we should add, nothing new new please):tl;dr main subject of the CSV-W metadata file should be
<dataset.csv#csvqb>
which isdcat:isDistributionOf
thedcat:Dataset
. Thedcat:Dataset
is the one which should have the catalogue metadata attached to it.The text was updated successfully, but these errors were encountered: