Skip to content

Consider using SHACL as a schema language #10

Open
@MFSY

Description

@MFSY

Hi guys,
This initiative is great. Describing various neuroscience datasets so that they can be easily shared and discovered over the web is a great idea.

I want to raise awareness of the INCF/Neuroshapes project and I'm looking for synergies here.

The INCF/Neuroshapes project definitely shares some of your goals (Neuroscience datasets description and exploration through REST APIs and the web) and adopts more or less the same approach with slight differences though. It uses json-ld (instead of plain json) and W3C SHACL as a schema language (instead of json schema).

The differences are not that big:

  • A json-ld document is a json document to which a context object is added to disambiguate its content. Projects like schema.org and bioschemas.org are using it a lot. When it comes to share, link and connect data over the web and through APIs, json-ld seems to be the way to go.
  • W3C SHACL is a superset of json schema in term of possible constraints even if their syntax are quite different. There is a SHACL version of schema.org and Bioschemas is using SHEX which is very close to SHACL. SHACL can operate on a json-ld document and on any RDF document.

In Neuroshapes, I'm actively working on a schema called MINDS (Minimal Information about a Neuroscience DataSet). I have a pull request (not finalised yet) in Neuroshapes showing what it may look like. The question we try to figure out with MINDS is: is there a set of minimal information one needs to know about a neuroscience datasets to reuse it (we think of subject, brain location, contributors, ...) ?

I'll be happy to join you guys during the brainhackmtl 2018 at Montreal to work on MINDS and producing SHACL schemas for the data formats you guys are working on.

Let me know if you're interested and see you during the hackathon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions