Skip to main content

Table 1 Steps for Validation DCSO instances using ShEx

From: DCSO: towards an ontology for machine-actionable data management plans

RDFShape

ShEx2 Simple Online Validator

1. Go to DCSO validation directory in GitHuba;

1. Go to DCSO validation directoryb in GitHub;

2. On a different browser window or tab, go to the RDFShape validator servicec;

2. On a different browser window or tab, go to the ShEx.io validator service;

3. On Github, copy the content of a valid DMP example from the file valid-dmp-example_dcso.3.0.2.ttl;

3. On Github, copy the content of a valid DMP example from the file valid-dmp-example_dcso.3.0.2.ttl;

4. Paste that valid example on the first text area of the RDFShape validation service, (e.g., RDF input);

4. Paste that valid example on the right text area of ShEx2 Validator;

5. On GitHub, copy the content of the DCSO ShEx schema from the file dcso-dmp.3.0.2.shex;

5. On GitHub, copy the content of the DCSO ShEx schema from the file dcso-dmp.3.0.2.shex;

6. Paste that schema on the second text area of the RDFShape validation service, (e.g., ShEx);

6. Paste that schema on the left text area of ShEx2 Validator;

7. Define what entity should be validated by adding the text ex:dmp_1@< dmp> to the third text area in the validator, (e.g., ShapeMap);

7. Define what entity should be validated by adding the text < https://w3id.org/dcso /id/example/dmp_1>@< dmp> to the “Query Map” text area in the validator;

8. Run the validation by clicking the button Validate;

8. Run the validation by clicking the button Validate;

9. You should get a passing validation.

9. You should get a passing validation.

  1. ahttps://github.com/RDA-DMP-Common/RDA-DMP-Common-Standard/tree/master/ontologies/validation. Accessed 11 Apr 2022
  2. bhttps://github.com/RDA-DMP-Common/RDA-DMP-Common-Standard/tree/master/ontologies/validation. Accessed 11 Apr 2022
  3. chttps://rdfshape.weso.es/shExValidate. Accessed 09 Mar 2022
  4. dhttp://shex.io/webapps/shex.js/doc/shex-simple.html. Accessed 11 Apr 2022