Skip to content

Repository for SHACL Shapes at the Institute of Data Science at Maastricht University

License

Notifications You must be signed in to change notification settings

MaastrichtU-IDS/shacl-shapes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for SHACL Shapes

A repository for SHACL Shapes at the Institute of Data Science at Maastricht University.

The shapes are automatically retrieved and exposed by the shapes-of-you registry: https://maastrichtu-ids.github.io/shapes-of-you

Add a new shape

Contributions are welcome! See the guidelines to contribute 👨‍💻.

Clone the repository:

git clone https://github.com/MaastrichtU-IDS/shacl-shapes
cd shacl-shapes

Add your shape file, commit, push and send a pull request.

SHACL shapes resources

Generate SHACL Shapes from RDF and validate

SHACL Play is a platform exposing a few practical tools to build SHACL shapes

  • Generate SHACL shapes from RDF choosing a ruleset

    • OWL to SHACL: open world
    • OWL to SHACL: semi closed
    • OWL to SHACL: closed
  • Generate a UML diagram from SHACL shape

  • Validate your SHACL shapes

  • Add your shapes or rules to their catalogs

Generate SHACL Shapes from OWL ontologies

You can use Astrea to convert OWL ontologies files to SHACL shapes files: https://astrea.linkeddata.es

Example querying it automatically (for the BioLink model ontology):

curl -X POST --header 'Content-Type: application/json' --header 'Accept: text/rdf+turtle' -d '{"ontologies": ["https://raw.githubusercontent.com/biolink/biolink-model/master/biolink-model.owl.ttl"]}' https://astrea.linkeddata.es/api/shacl/url

Generate SHACL Shapes from RDF file (smaller project)

Shaclgen takes either a instance graph(s) or schema(s) as input and generates a basic shape file based on the classes and properties present: https://github.com/uwlib-cams/shaclgen

Generate web form from Shapes

Schímatos: a SHACL-based Web-Form Generator for Knowledge Graph Editing (RS).

Schímatos is a form-based Web application with which users can create and edit data against SHACL constraints. If you are interested in an overview of how the tool works you can check out this video https://youtu.be/PvnJGnB7hOU (we have an abridged version as part of our talk on Wednesday).You can also try the tool for yourself at https://schimatos.github.io and visit our GitHub at https://github.com/schimatos/schimatos.org

Make modular shapes

LODE shows how to make your shapes more modular.

Validate RDF with SHACL Shapes

To validate RDF against SHACL Shapes and get a human-readable of the issues: https://rdfshape.weso.es/shaclValidate

About

Repository for SHACL Shapes at the Institute of Data Science at Maastricht University

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published