es.weso:shacl_2.12

SHACL implementation in Scala

https://github.com/weso/shacl-s

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

SHACL implementation in Scala

Basic Info
  • Host: GitHub
  • Owner: weso
  • License: mit
  • Language: Scala
  • Default Branch: master
  • Size: 236 KB
Statistics
  • Stars: 8
  • Watchers: 2
  • Forks: 2
  • Open Issues: 133
  • Releases: 0
Created over 6 years ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License Zenodo

README.md

SHACL-S

Scala implementation of SHACL.

This project contains an implementation of SHACL in Scala.

Continuous Integration

Codacy Badge

codecov

Maven Central

Introduction

This project contains an implementation of SHACL in Scala.

Installation and compilation

The project uses sbt for compilation as well as Java 1.11.

  • sbt test compiles and runs the tests

Usage

Once compiled, the program can be run as a command line tool. It is possible to run the program inside sbt as:

Validating RDF data with SHACL

Example:

sh sbt "run --data examples/shacl/good1.ttl --engine ShaClex"

Interactive mode with sbt

It is usually faster to run the sbt command, which opens the interactive sbt shell and inside that shell, execute the different commands.

sh $ sbt ... several information about loading libraries sbt> run -d examples/shacl/good1.ttl --engine ShaClex

Binary mode

The fastest way to run Shacl-s is to compile the code and generate a binary. The following command:

sh $ sbt universal:packageBin ...generates the file... target/universal/shacl-s-N.N.N.zip

which contains the compressed binary code.

Implementation details

  • The engine is based on purely functional concepts using the cats library

Compatibility tests

The current implementation passes all shacl-core tests. In order to generate the EARL report, run:

$ sbt [...] sbt:shaclex> project shacl sbt:shacl> testOnly es.weso.shacl.report.ReportGeneratorCompatTest

Publishing to OSS-Sonatype

This project uses the sbt ci release plugin for publishing to OSS Sonatype.

SNAPSHOT Releases

Open a PR and merge it to watch the CI release a -SNAPSHOT version

Full Library Releases
  1. Push a tag and watch the CI do a regular release
  2. git tag -a v0.1.0 -m "v0.1.0"
  3. git push origin v0.1.0 Note that the tag version MUST start with v.

More information

  • More information about SHACL can be read in the Validating RDF data co-authored by one of the authors.
  • This project was originally part of SHaclEx but we decided to modularize that project and keep the SHACl implementation in its own repository.
  • An online demo based on this library is available at http://rdfshape.weso.es.
  • Another online demo based on this library customized for Wikidata is available at http://wikishape.weso.es.
  • This project was based on ShExcala which was focused on Shape Expressions only.

Author & contributors

Contributors:

Adopters

  • RDFShape: An online demo powered by this library.
  • Wikishape: An online demo powered by this library for Wikidata.
  • Eclipse lyo: An SDK and a modelling environment to design and develop linked data applications based on the OSLC standards. The validation library is lyo-validation.

Contribution

Contributions are greatly appreciated. Please fork this repository and open a pull request to add more features or submit issues

Owner

  • Name: Web Semantics Oviedo, University of Oviedo
  • Login: weso
  • Kind: organization
  • Location: Asturias, Spain

Semantic web research group at University of Oviedo

GitHub Events

Total
  • Watch event: 1
  • Issue comment event: 29
  • Push event: 13
  • Pull request event: 68
  • Create event: 2
Last Year
  • Watch event: 1
  • Issue comment event: 29
  • Push event: 13
  • Pull request event: 68
  • Create event: 2

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 2
  • Total pull requests: 208
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 months
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.7
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 47
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.45
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Remya-Ramachandran (1)
  • scala-steward (1)
  • ralphtq (1)
Pull Request Authors
  • scala-steward (252)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads: unknown
  • Total dependent packages: 11
    (may contain duplicates)
  • Total dependent repositories: 6
    (may contain duplicates)
  • Total versions: 14
repo1.maven.org: es.weso:shacl_2.13

shacl

  • Versions: 5
  • Dependent Packages: 4
  • Dependent Repositories: 0
Rankings
Dependent packages count: 13.4%
Average: 27.7%
Dependent repos count: 32.0%
Stargazers count: 32.1%
Forks count: 33.1%
Last synced: 10 months ago
repo1.maven.org: es.weso:shacl_3

shacl

  • Versions: 4
  • Dependent Packages: 3
  • Dependent Repositories: 0
Rankings
Dependent packages count: 16.9%
Average: 28.5%
Dependent repos count: 32.0%
Stargazers count: 32.1%
Forks count: 33.1%
Last synced: 11 months ago
repo1.maven.org: es.weso:shacl_2.12

shacl

  • Versions: 5
  • Dependent Packages: 4
  • Dependent Repositories: 6
Rankings
Dependent repos count: 10.0%
Dependent packages count: 13.9%
Average: 29.7%
Stargazers count: 46.4%
Forks count: 48.3%
Last synced: 11 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/download-artifact v2 composite
  • actions/setup-java v2 composite
  • actions/upload-artifact v2 composite
.github/workflows/release.yml actions
  • actions/checkout v2.3.4 composite
  • olafurpg/setup-scala v10 composite
.github/workflows/scala.yml actions
  • actions/checkout v1 composite
  • actions/setup-java v1 composite
.github/workflows/clean.yml actions