Skip to content

ShEx module

Jose Emilio Labra Gayo edited this page Jan 8, 2018 · 1 revision

The ShEx module implements a ShEx validator.

The language grammar is processed by ANTLR and is defined in ShExDoc.g4

The module is itself decomposed in the following modules:

  • The ShEx abstract syntax is defined in shex
  • implicits defines implicit encoders/decoders to Json from the abstract syntax.
  • compact contains definitions related with ShEx Compact syntax. It uses ANTLR to generate an syntax tree which is visited and converted to the ShEx abstract syntax.
  • ShExR contains conversion to/from ShEx abstract syntax and RDF.
  • validator defines the validation semantics using monads.
Clone this wiki locally