forked from TopQuadrant/shacl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest spec, moved to latest Jena 3.1 snapshot, test cases …
…aligned with TopBraid
- Loading branch information
1 parent
79b3f6e
commit 6cb24f4
Showing
278 changed files
with
9,688 additions
and
8,183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" output="target/classes" path="src/main/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>shacl</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
eclipse.preferences.version=1 | ||
encoding//src/main/java=UTF-8 | ||
encoding//src/main/resources=UTF-8 | ||
encoding//src/test/java=UTF-8 | ||
encoding//src/test/resources=UTF-8 | ||
encoding/<project>=UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
resolveWorkspaceProjects=true | ||
version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# TopBraid SHACL API | ||
|
||
**An open source implementation of the evolving W3C Shapes Constraint Language (SHACL) based on the Jena API.** | ||
|
||
Contact: Holger Knublauch ([email protected]) | ||
|
||
Can be used to perform SHACL constraint checking in any Jena-based Java application. | ||
This API also serves as a reference implementation developed in parallel to the SHACL spec. | ||
**The code is totally not optimized for performance, just for correctness. And there are unfinished gaps!** | ||
|
||
The same code is used in the TopBraid products (currently ahead of the release cycle, TopBraid 5.2 will catch up). | ||
For interoperability with TopBraid, and during the transition period from SPIN to SHACL, this library | ||
uses code from org.topbraid.spin packages. These will eventually be refactored. | ||
Meanwhile, please don't rely on any class from the org.topbraid.spin packages directly. | ||
|
||
Feedback and questions should go to TopBraid Users mailing list: | ||
https://groups.google.com/forum/#!forum/topbraid-users | ||
Please prefix your messages with [SHACL API] | ||
|
||
To get started, look at the classes ModelConstraintValidator and ResourceConstraintValidator in | ||
the package org.topbraid.shacl.constraints. There is also an [Example Test Case](../master/src/test/java/org/topbraid/shacl/ValidateSquareExampleTest.java) | ||
# TopBraid SHACL API | ||
|
||
**An open source implementation of the evolving W3C Shapes Constraint Language (SHACL) based on the Jena API.** | ||
|
||
Contact: Holger Knublauch ([email protected]) | ||
|
||
Can be used to perform SHACL constraint checking in any Jena-based Java application. | ||
This API also serves as a reference implementation developed in parallel to the SHACL spec. | ||
**The code is totally not optimized for performance, just for correctness. And there are unfinished gaps!** | ||
|
||
The same code is used in the TopBraid products (currently ahead of the release cycle, TopBraid 5.2 will catch up). | ||
For interoperability with TopBraid, and during the transition period from SPIN to SHACL, this library | ||
uses code from org.topbraid.spin packages. These will eventually be refactored. | ||
Meanwhile, please don't rely on any class from the org.topbraid.spin packages directly. | ||
|
||
Feedback and questions should go to TopBraid Users mailing list: | ||
https://groups.google.com/forum/#!forum/topbraid-users | ||
Please prefix your messages with [SHACL API] | ||
|
||
To get started, look at the classes ModelConstraintValidator and ResourceConstraintValidator in | ||
the package org.topbraid.shacl.constraints. There is also an [Example Test Case](../master/src/test/java/org/topbraid/shacl/ValidationExample.java) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.