{"id":15389297,"url":"https://github.com/tpluscode/shacl-cli","last_synced_at":"2026-03-01T14:02:52.884Z","repository":{"id":60748834,"uuid":"544406206","full_name":"tpluscode/shacl-cli","owner":"tpluscode","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-19T23:24:52.000Z","size":423,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T01:25:58.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpluscode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-10-02T11:54:29.000Z","updated_at":"2022-10-20T09:24:37.000Z","dependencies_parsed_at":"2024-10-18T20:03:41.491Z","dependency_job_id":"829d4a78-b20e-49b8-90bd-63d9504ae254","html_url":"https://github.com/tpluscode/shacl-cli","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.3125,"last_synced_commit":"38db96067070e2d0b124d95ffac945878bf22206"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tpluscode/shacl-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpluscode%2Fshacl-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpluscode%2Fshacl-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpluscode%2Fshacl-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpluscode%2Fshacl-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpluscode","download_url":"https://codeload.github.com/tpluscode/shacl-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpluscode%2Fshacl-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29970543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T13:32:00.443Z","status":"ssl_error","status_checked_at":"2026-03-01T13:32:00.084Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-01T14:59:56.869Z","updated_at":"2026-03-01T14:02:52.849Z","avatar_url":"https://github.com/tpluscode.png","language":"JavaScript","readme":"# shacl-cli [![npm version](https://badge.fury.io/js/@tpluscode%2Fshacl-cli.svg)](https://badge.fury.io/js/@tpluscode%2Fshacl-cli)\n\nValidate RDF using SHACL from the command line. Uses RDF/JS tooling\n\n## Why?\n\n* [x] Loads shapes and data graph from any RDF format known to [@rdfjs/formats-common](https://npm.im/@rdfjs/formats-common).\n* [x] Requires only node. No JVM, no Python, etc\n* [x] Easily load shapes and data from multiple sources using globs\n\n## Installation\n\n```\nnpm install @tpluscode/shacl-cli\n```\n\n## Usage\n\n```\nUsage: shacl-cli validate [options]\n\nOptions:\n  --shapes \u003cshapes...\u003e      Sources of the Shapes Graph\n  --data \u003cdata...\u003e          Source of the Data Graph\n  --prefixes \u003cprefixes...\u003e  Prefixes of common vocabularies known to the @zazuko/rdf-vocabularies package or custom prefixes as prefix=namespace\n  -h, --help                display help for command\n```\n\n### Shapes and data as globs\n\nValidates multiple data files using multiple shape sources\n\n```\nshacl-cli validate \\\n  --shapes example/shape/*.ttl \\\n  --data example/person/*.ttl\n```\n\n### Select individual files\n\nBoth `--shapes` and `--data` allow multiple values and can be used multiple times\n\n```\nshacl-cli validate \\\n  --shapes example/shape/Person.ttl example/shape/Occupation.ttl \\\n  --data example/person/John.ttl \\\n  --data example/person/Frank.ttl\n```\n\n### Output prefixes\n\nThe output is a nicely formatted turtle. Add `--prefixes` to shorten URIs.\n\n```\nshacl-cli validate \\\n  --shapes example/shape/*.ttl \\\n  --data example/person/*.ttl \\\n  --prefixes schema person=http://example.org/person/\n```\n\n### Other formats are supported\n\n```\nshacl-cli validate \\\n  --shapes example/shape/*.ttl \\\n  --data example/person/multiple.trig\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpluscode%2Fshacl-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpluscode%2Fshacl-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpluscode%2Fshacl-cli/lists"}