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

Re: ShEX vs JSON schema

From: Petr Holub <petr.holub@bbmri-eric.eu>
Date: Wed, 13 Dec 2017 19:28:34 +0000
To: Franck Michel <franck.michel@cnrs.fr>, "public-bioschemas@w3.org" <public-bioschemas@w3.org>, "A.J.G.Gray@hw.ac.uk" <A.J.G.Gray@hw.ac.uk>
Message-ID: <VI1PR07MB3376CB20B6717D9775B52810C3350@VI1PR07MB3376.eurprd07.prod.outlook.com>
Dear all,

out of curiosity (not being specialist in this) - does not ShEx have also W3C endorsement? It seems to be hosted at W3C (https://www.w3.org/2001/sw/wiki/ShEx) and even its Primer is published uner W3C Community Group (http://shex.io/shex-primer/).



Assoc. Prof. RNDr. Petr Holub, Ph.D.
Senior IT/Data Protection Manager

BBMRI-ERIC: gateway for health  | Neue Stiftingtalstrasse 2/B/6 |  8010 Graz | AUSTRIA
Phone: +43 316 34 99 17-18  | Fax: +43 316 34 99 17-99 | Mobile: +43 664 88 72 18 77
Skype:holubp | petr.holub@bbmri-eric.eu<mailto:petr.holub@bbmri-eric.eu> | www.bbmri-eric.eu<http://www.bbmri-eric.eu><https://mail.acpcloud.de/owa/redir.aspx?C=tQtD-G9C_kuPP8hViFQ4hgNjuhtf_dEI0JIE-vC5gXhf36JcThZMI5N8J9ocveR1mgFita1orqo.&URL=http%3a%2f%2fwww.bbmri-eric.eu%2f>

From: Franck Michel <franck.michel@cnrs.fr>
Sent: Wednesday, December 13, 2017 16:51
To: public-bioschemas@w3.org
Subject: Re: ShEX vs JSON schema

Dear all,

I agree that ShEx or SHACL are preferable to JSON schema: JSON schema obviously applies only to JSON, whereas we would rather have a mechanism that applies to RDF in general, whatever the serialization syntax.

As to the choice between ShEx and SHACL, I must admit I'm puzzled. Does any of you have a pointer to a comparison, their respective B's and C's, application fields etc.? A quick lookup did not bring much, and at this point I just feel like they are competitors. I assume/hope there is more than that.


Le 13/12/2017 à 11:00, Gray, Alasdair J G a écrit :
Dear All,

Leyla, thanks for kicking of this conversation on the list. It is something that I have discussed with several people in face-to-face conversations.
On 12 Dec 2017, at 17:41, Leyla Garcia <ljgarcia@ebi.ac.uk<mailto:ljgarcia@ebi.ac.uk>> wrote:

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

ShEx and SHACL are both more expressive than JSON schema, and better capture the validation needs of the Bioschemas profiles. In particular, they allow for the capture of relationships between entities and also restrictions on the vocabulary terms used.

Between ShEx and SHACL it is a closer run thing and we are doing some experimentation with both. ShEx has a more concise notation than SHACL and I understand that it has more expressive power. However, the SHACL libraries and documentation are more professionally put together and of course it has the endorsement of the W3C working group.

There will be an ELIXIR implementation study in 2018 that has a focus on validation so hopefully some of these issues can be investigated in that.

Best regards


Alasdair J G Gray
Fellow of the Higher Education Academy
Assistant Professor in Computer Science,
School of Mathematical and Computer Sciences
(Athena SWAN Bronze Award)
Heriot-Watt University, Edinburgh UK.

Email: A.J.G.Gray@hw.ac.uk<mailto:A.J.G.Gray@hw.ac.uk>
Web: http://www.macs.hw.ac.uk/~ajg33<http://www.macs.hw.ac.uk/%7Eajg33>
ORCID: http://orcid.org/0000-0002-5711-4872
Office: Earl Mountbatten Building 1.39
Twitter: @gray_alasdair


Heriot-Watt University is The Times & The Sunday Times International University of the Year 2018

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences.

This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Edinburgh Business School a Charity Registered in Scotland, SC026900. Edinburgh Business School is a company limited by guarantee, registered in Scotland with registered number SC173556 and registered office at Heriot-Watt University Finance Office, Riccarton, Currie, Midlothian, EH14 4AS
  3.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.
Received on Thursday, 14 December 2017 01:34:28 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 14 December 2017 01:34:30 UTC