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

Re: ShEX vs JSON schema

From: Dan Brickley <danbri@danbri.org>
Date: Wed, 13 Dec 2017 13:01:42 +0000
Message-ID: <CAFfrAFo7_RkpRswM2WRo5rHV+qmDemZ7UYwnm6Q3SGNLcuK+gw@mail.gmail.com>
To: "Gray, Alasdair J G" <A.J.G.Gray@hw.ac.uk>
Cc: Leyla Garcia <ljgarcia@ebi.ac.uk>, public-bioschemas@w3.org, BATISTA Dominique <dominique.batista@france-bioinformatique.fr>
>From a schema.org perspective it would be fantastic to see some evaluation
of shex and/or shacl to capture bioschemas data shapes. We have been having
some related exploratory discussions inside Google too.


On 13 Dec 2017 10:02, "Gray, Alasdair J G" <A.J.G.Gray@hw.ac.uk> wrote:

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> 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
Web: http://www.macs.hw.ac.uk/~ajg33
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

   1. Heriot-Watt University, a Scottish charity registered under number
   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
   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 Wednesday, 13 December 2017 13:02:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 13 December 2017 13:02:18 UTC