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

Add support for shape-based testing of JSON-LD/OWL output #34

Open
gaurav opened this issue Aug 7, 2019 · 0 comments
Open

Add support for shape-based testing of JSON-LD/OWL output #34

gaurav opened this issue Aug 7, 2019 · 0 comments
Labels
programming only No discussion necessary; just pure programming needed testing

Comments

@gaurav
Copy link
Member

gaurav commented Aug 7, 2019

We can use shape-based testing such as using ShEx or Shacl to make sure that JSON-LD/OWL generated by this library is described correctly. If existing shapes are available for OWL types such as classes, restrictions and instances, we could reuse those in this testing. The shapes we build for our own types could be reused in our other tools (phyloref/clade-ontology#65, phyloref/klados#83).

Note that we had an error caused by the type of an entity being set incorrectly (#33); to guard against some issues, shape-based testing should make sure that we detect the correct number of shapes in an input file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
programming only No discussion necessary; just pure programming needed testing
Projects
None yet
Development

No branches or pull requests

1 participant