Validate RDF data
using Shex in java
NewsVersion 1.2.3 has been released! It is avaible on maven and github.
ShapeDesignerA desktop applications using ShExJava is available. You can download it using this link and access the source here.
ShExJava now uses the Commons RDF API and so support RDF4J, Jena, JSON-LD-Java, OWL API and Apache Clerezza. It can parse ShEx schema in the ShEcC, ShEJ, ShExR formats and can serialize a schema in ShExJ.
To validate data against a ShExSchema using ShExJava, you have two different algorithms:
- the refine algorithm: compute once and for all the typing for the whole graph
- the recursive algorithm: compute only the typing required to answer a validate(node,ShapeLabel) call and forget the results.
Examples of using the library on small examples can be found on the GitHub page. To play with small example, it's also possible to use the demonstrator that comes with a set of example.