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

Create ASK queries to test compatibility of a data cube with Cubiql #127

Open
BillSwirrl opened this issue Aug 16, 2018 · 5 comments
Open
Assignees

Comments

@BillSwirrl
Copy link
Member

Extend the list of queries in the integrity constraints in the RDF Data Cube Vocabulary

https://www.w3.org/TR/vocab-data-cube/#wf

to include any specific requirements for Cubiql

@zeginis
Copy link
Contributor

zeginis commented Aug 16, 2018

@BillSwirrl I have updated the text description of the CubiQL data requirements

The ASK queries should cover these requirements

@zeginis
Copy link
Contributor

zeginis commented Sep 13, 2018

The ASK queries should cover the following:

  • Dataset should use measure dimension even if there is only one measure (compliant with IC-15 and IC-16, not compliant with IC-14)
  • The codes used for each of the cube dimensions (including qb:measureType) should be defined at a separate code list
  • The values of the dimensions should be URIs
  • The values of the geo dimension should have a label
  • The values of the time dimensions should have time:hasBeginning and time:hasEnd. And the value of the time:hasBeginning and time:hasEnd should be connected through time:inXSDDateTime to an xsd:dateTime

@lkitching
Copy link
Contributor

@zeginis - Dimension values no longer have to be URIs. xsd:string and xsd:decimal are now explicitly supported and mapped to the corresponding GraphQL types. Dimensions with an unknown type are mapped to string and mapped to tagged literals within queries.

@zeginis
Copy link
Contributor

zeginis commented Sep 14, 2018

In this case there is no code list for this dimension. Is this ok for the schema building?

@lkitching
Copy link
Contributor

@zeginis - Yes it should create the schema ok. If you set the xsd:range on the dimension it will try use that if has a type mapping for it (currently only string or decimal).

lkitching added a commit that referenced this issue Sep 14, 2018
Issue #127 - Add validation queries for use with rdf-validator which
checks a data source against the requirements CubiQL makes on data cubes.

The queries are templates which expect the relevant configuration values
to be provided when executed.

Add instructions to the README on running these validations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants