Skip to content

Commit

Permalink
Merge pull request #18 from jeswr/jeswr-patch-1
Browse files Browse the repository at this point in the history
fix: demonstrate usage of shacl extended syntax
  • Loading branch information
jeswr authored Jan 1, 2023
2 parents 077ebe9 + fc9c7a5 commit 22c9693
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ shape ex:TestShape -> ex:TestClass1 ex:TestClass2 {
## Extended SHACL Compact Syntax

The [SHACL Compact Syntax specification](https://w3c.github.io/shacl/shacl-compact-syntax/) is not expressive enough to
make any RDF 1.0 statement. This package includes an opt-in extended syntax that allows users to make any RDF 1.0 statement.
make any RDF 1.0 statement. This package includes an opt-in extended syntax that allows users to make any RDF 1.0 statement. Parsing of this extended syntax can be enabled via an option in the `parse` function

```ts
const quads = parse(/*shaclc extended string*/, { extendedSyntax: true })
```

### Making additional statements about the `NodeShape`

Expand Down

0 comments on commit 22c9693

Please sign in to comment.