Swirrl / rdf-validator

RDF Validator for running suites of SPARQL validations
Eclipse Public License 1.0
3 stars 1 forks source link

Implemented queries #12

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi,

I only see the rdf data cube constraints coming from the spec implemented. I expected to find some additional queries to test if the data comply to the additional constraints the swirrl processing pipelines impose such as the required use of qb:measureType even in the context of having just one measurement. Have I overlooked something?

lkitching commented 6 years ago

@PaulZH - Those validation queries are defined in the graphql-qb repository, currently on the issue_127 branch in the validation folder. See the Data validation section of the README in that branch.

Robsteranium commented 6 years ago

I presume you're talking about table2qb input validation? Indeed we should add that - there's an issue for the codelist-pipeline but the others pipelines deserve validation too. I suspect we'd implement this by inspects the tabular inputs - e.g. comparing the column headings/ contents with the config - rather than the rdf outputs not least because you mightn't be able to even generate an output given invalid input.

Please note that the measure type is only required because we've not got around to implementing the multi-measure approach yet.