Open labra opened 6 years ago
Shex.js implementation parses example definitions defined as JSON files which can dynamically be loaded and tried. An example is this.
The structure is this:
{ "name": "bibframe book", "schemaURL": "book.shex", "passes": [ ], "fails": [ ] }
where passes[] and fails[] are arrays of data/shapemap:
{"name": "simple", "dataURL": "book.ttl", "queryMap": "<samples9298996>@<Work>" }
One missing property is the schemaEngine so it could be either ShEx, SHACL, or whatever.
schemaEngine
ShEx
SHACL
A first attempt has been done but there was a change in the format of the JSON file.
Eric suggested a dynamic menu whose contents are generated from the JSON file.
Shex.js implementation parses example definitions defined as JSON files which can dynamically be loaded and tried. An example is this.
The structure is this:
where passes[] and fails[] are arrays of data/shapemap:
One missing property is the
schemaEngine
so it could be eitherShEx
,SHACL
, or whatever.