{"id":25205210,"url":"https://github.com/sparna-git/shacl-play","last_synced_at":"2026-04-01T18:35:16.512Z","repository":{"id":39634847,"uuid":"222748212","full_name":"sparna-git/shacl-play","owner":"sparna-git","description":"SHACL validation UI, SHACL documentation generator, UML diagram generator from SHACL, SHACL generator from RDF.","archived":false,"fork":false,"pushed_at":"2026-03-31T10:38:47.000Z","size":44080,"stargazers_count":51,"open_issues_count":54,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-31T11:23:24.681Z","etag":null,"topics":["json-ld-context","knowledge-graph","owl","plantuml","playground","rdf","shacl","shacl-rules","sparql","uml"],"latest_commit_sha":null,"homepage":"http://shacl-play.sparna.fr","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sparna-git.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-11-19T17:08:49.000Z","updated_at":"2026-03-31T10:38:51.000Z","dependencies_parsed_at":"2025-06-19T16:30:51.212Z","dependency_job_id":"d16a7d35-4822-4e4c-9a35-76e51f661181","html_url":"https://github.com/sparna-git/shacl-play","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/sparna-git/shacl-play","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparna-git%2Fshacl-play","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparna-git%2Fshacl-play/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparna-git%2Fshacl-play/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparna-git%2Fshacl-play/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparna-git","download_url":"https://codeload.github.com/sparna-git/shacl-play/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparna-git%2Fshacl-play/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json-ld-context","knowledge-graph","owl","plantuml","playground","rdf","shacl","shacl-rules","sparql","uml"],"created_at":"2025-02-10T09:19:21.593Z","updated_at":"2026-04-01T18:35:16.481Z","avatar_url":"https://github.com/sparna-git.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# SHACL Play!\nSHACL validator and documentation generator **live at https://shacl-play.sparna.fr**\n\n## Cool things you can do with SHACL\n\nWith SHACL Play you can:\n- validate an RDF dataset against a SHACL specification, and produce a human-readable report ([`validate`](https://github.com/sparna-git/shacl-play/wiki/Run-SHACL-Play-App-from-command-line#validate)  command)\n- generate an HTML documentation of your SHACL application profile ([`doc`](https://github.com/sparna-git/shacl-play/wiki/Run-SHACL-Play-App-from-command-line#doc) command), or a diagram ([`draw`](https://github.com/sparna-git/shacl-play/wiki/Run-SHACL-Play-App-from-command-line#draw))\n- generate a SHACL from an RDF dataset ([`generate`](https://github.com/sparna-git/shacl-play/wiki/Run-SHACL-Play-App-from-command-line#generate) command)\n- obtain the statistics of an RDF dataset from a SHACL specification ([`analyze`](https://github.com/sparna-git/shacl-play/wiki/Run-SHACL-Play-App-from-command-line#analyze) command)\n- generate SPARQL queries from a SHACL spec ([`shacl2sparql`](https://github.com/sparna-git/shacl-play/wiki/Run-SHACL-Play-App-from-command-line#shacl2sparql) command)\n\nand other cool things with SHACL Rules, too, like applying them for inference.\n\n## Check out Sparnatural, too\n\nIf you use SHACL you may be interested to know that the [Sparnatural Knowledge Graph explorer](https://sparnatural.eu) uses a SHACL file for its [configuration](https://docs.sparnatural.eu/how-to-configure-shacl/How-to-configure-Sparnatural-shacl.html). Which means you can use the same SHACL file to document your dataset, validate data, and provide a query UI.\n\n## Running the application.\n\n### As a command-line\n\nThe easiest and recommended way to run the application is by using its command-line version. There is no need to locally install the online version.\nFor this:\n- Install Java 11\n- [Download the command-line app from the release section](https://github.com/sparna-git/shacl-play/releases/latest)\n- Refer to the [command-line documentation](https://github.com/sparna-git/shacl-play/wiki/Run-SHACL-Play-App-from-command-line)\n\n### With Docker\nThe following `docker` commands should be sufficient to get you started.\nFirst, build the image with:\n```\ndocker build -t shacl-play:latest ./\n```\nThen, start the application on port `8080` with:\n```\ndocker run -p 8080:8080 shacl-play:latest\n```\nRefer to [docker documentation](https://docs.docker.com) for advanced configuration.\n\n## Installing locally\n\nClone this respository:\n\n```bash\ngit clone git@github.com:sparna-git/shacl-play.git\n```\n\n### OSX\n\nInstall maven and tomcat (it must be the 9th version):\n\n```bash\nbrew install maven tomcat@9\n```\n\nGo to the directory where this repository was cloned and build the project as a `.war` file:\n\n```bash\nmvn package\n```\n\nCopy the generated package into tomcat's webapp directory:\n\n```bash\ncp shacl-play/target/shacl-play-0.8.0.war /opt/homebrew/Cellar/tomcat@9/9.0.89/libexec/webapps\n```\n\nStart the tomcat server:\n\n```bash\n /opt/homebrew/Cellar/tomcat@9/9.0.89/bin/catalina start\n```\n\nGo to the default address `http://localhost:8080/shacl-play-0.8.0/` to access SHACL.\n\nDon't forget to stop the server once you don't need it anymore!\n\n```bash\n/opt/homebrew/Cellar/tomcat@9/9.0.89/bin/catalina stop\n```\n\n### Linux\n\nInstall Maven and Tomcat (version 9) using your package manager, here's apt as an example:\n\n```bash\nsudo apt-get update\nsudo apt-get install maven tomcat9\n```\n\nNavigate to the directory where the repository was cloned and build the project as a `.war` file:\n\n```bash\nmvn package\n```\n\nCopy the generated .war file into Tomcat's webapps directory:\n\n```bash\nsudo cp target/shacl-play-0.8.0.war /var/lib/tomcat9/webapps\n```\n\n\nStart the Tomcat server to deploy the application:\n\n```bash\nsudo systemctl start tomcat9\n```\n\nAccess the SHACL-Play web application by navigating to `http://localhost:8080/shacl-play-0.8.0/`\n\nRemember to stop the Tomcat server when it's no longer needed:\n\n```bash\nsudo systemctl stop tomcat9\n```\n\n#### Troubleshooting\n\nIf you're running into issues try to give read and write access to tomcat's SHACL directory, on Mac:\n\n```bash\nchmod 644 /opt/homebrew/Cellar/tomcat/10.1.24/libexec/webapps/shacl-play-0.8.0.war\n```\n\nOr Linux:\n\n```bash\nsudo chmod 644 /var/lib/tomcat9/webapps/shacl-play-0.8.0.war\n```\n\nOr stop and re-start the server.\n\nYou can also export tomcat's binary path to your `.rc` file and add a nickname to it, like tomcat.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparna-git%2Fshacl-play","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparna-git%2Fshacl-play","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparna-git%2Fshacl-play/lists"}