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
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
Metadata Files
README.md
SHACL-S
Scala implementation of SHACL.
This project contains an implementation of SHACL in Scala.
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 testcompiles 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
- Push a tag and watch the CI do a regular release
git tag -a v0.1.0 -m "v0.1.0"git push origin v0.1.0Note 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
- Author: Jose Emilio Labra Gayo
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
- Website: http://www.weso.es
- Repositories: 137
- Profile: https://github.com/weso
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
- Homepage: https://github.com/weso/shacl-s
- Documentation: https://appdoc.app/artifact/es.weso/shacl_2.13/
- License: MIT
-
Latest release: 0.1.83
published about 3 years ago
Rankings
repo1.maven.org: es.weso:shacl_3
shacl
- Homepage: https://github.com/weso/shacl-s
- Documentation: https://appdoc.app/artifact/es.weso/shacl_3/
- License: MIT
-
Latest release: 0.1.83
published about 3 years ago
Rankings
repo1.maven.org: es.weso:shacl_2.12
shacl
- Homepage: https://github.com/weso/shacl-s
- Documentation: https://appdoc.app/artifact/es.weso/shacl_2.12/
- License: MIT
-
Latest release: 0.1.83
published about 3 years ago
Rankings
Dependencies
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/download-artifact v2 composite
- actions/setup-java v2 composite
- actions/upload-artifact v2 composite
- actions/checkout v2.3.4 composite
- olafurpg/setup-scala v10 composite
- actions/checkout v1 composite
- actions/setup-java v1 composite