Skip to content

Commit

Permalink
Version 0.1.71
Browse files Browse the repository at this point in the history
  • Loading branch information
labra committed Nov 2, 2020
1 parent 6b9b569 commit 608f119
Show file tree
Hide file tree
Showing 5 changed files with 658 additions and 1,068 deletions.
2 changes: 1 addition & 1 deletion .bsp/sbt.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"sbt","version":"1.4.0","bspVersion":"2.0.0-M5","languages":["scala"],"argv":["/usr/lib/jvm/jdk-12.0.2/bin/java","-Xms100m","-Xmx100m","-classpath","/usr/share/sbt/bin/sbt-launch.jar","xsbt.boot.Boot","-bsp"]}
{"name":"sbt","version":"1.4.0","bspVersion":"2.0.0-M5","languages":["scala"],"argv":["C:\\compi\\Java\\jdk12_0_2/bin/java","-Xms100m","-Xmx100m","-classpath","C:\\compi\\Scala\\bin\\sbt-launch.jar","xsbt.boot.Boot","-bsp"]}
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,28 @@ It is possible to run the program inside `sbt` as:
Example:

```sh
sbt "run --data examples/shacl/good1.ttl
--engine ShaClex"
sbt "run --data examples/shacl/good1.ttl \
--engine shaclex \
--showValidationReport"
```

It is also possible to use [Jena SHACL](https://jena.apache.org/documentation/shacl/) using:

```sh
sbt "run --data examples/shacl/good1.ttl \
--engine JenaSHACL \
--showValidationReport"
```

or [Top Braid SHACL API] using:

```sh
sbt "run --data examples/shacl/good1.ttl \
--engine shacl-tq \
--showValidationReport"
```


### Validating RDF with ShEx

Example:
Expand Down
2 changes: 1 addition & 1 deletion examples/shacl/001-literal.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prefix schema: <http://schema.org/>
prefix sh: <http://www.w3.org/ns/shacl#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>

:User a sh:NodeShape, rdfs:Class ; #\color{red}{Not a valid Shapes graph}
:User a sh:NodeShape, rdfs:Class ;
sh:property [
sh:path schema:name ;
sh:nodeKind sh:Literal ;
Expand Down
Loading

0 comments on commit 608f119

Please sign in to comment.