W3C home > Mailing lists > Public > public-bioschemas@w3.org > December 2017

RE: ShEX vs JSON schema

From: BATISTA Dominique <Dominique.BATISTA@france-bioinformatique.fr>
Date: Tue, 12 Dec 2017 20:14:23 +0000
To: Leyla Garcia <ljgarcia@ebi.ac.uk>, "public-bioschemas@w3.org" <public-bioschemas@w3.org>
Message-ID: <8C70EB0E82E7D347B3835C52465272F528CA0FBA@CNMB02WVP.core-res.rootcore.local>
Hello everyone,

Regarding SheX/SHaCL, I think Kenneth and I should really have a talk to figure this out. If we want to use these formats, I need to have a few things ready here (like learning how to actually build and use SheX, which compatible PHP and JS lib I can use and other technical stuff that will probably boring to you guys).

You can find JSON specs here: https://github.com/terazus/bioschemas_validator_drupal7/tree/master/specs/default/softwareapplication

Inside the repo, you will find a JSON for the parent (softwareapplication.json) and one JSON for each compatible child (controlaction, creativework, offer, ...). If we want to use JSON, I will need to fuse these files into one big JSON with one simple rule: element at position 0 (so the first element) is always the parent. 

Best regards :)

Dominique Batista
Ingénieur Web IFB Core
CNRS - UMS3601
Site: http://www.france-bioinformatique.fr

From: Leyla Garcia [ljgarcia@ebi.ac.uk]
Sent: Tuesday, December 12, 2017 6:41 PM
To: public-bioschemas@w3.org; BATISTA Dominique
Subject: ShEX vs JSON schema

Dear all,

Any thoughts on using ShEX [1] or SHACL [2] rather than JSON schema [3]
for validation purposes?

You can see a ShEX examples to validate the protein profile on our
specifications repo [4]. An example in turtle is available [5] so you
can play with it [6]

@Dominique, could you please share one of the JSON schemas you are using
on your Bioschemas validator?


[1] http://shex.io/shex-primer/index.html
[2] https://www.w3.org/TR/shacl/
[3] http://json-schema.org/
(not that shex is the official extension or anything, I just needed to
distinguish it)
[6] http://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.html
Received on Tuesday, 12 December 2017 20:14:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 12 December 2017 20:14:59 UTC