-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Linux line endings, switched from JENAROOT to SHACLROOT
- Loading branch information
1 parent
6c7f621
commit 6703a39
Showing
7 changed files
with
63 additions
and
50 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 |
---|---|---|
|
@@ -6,7 +6,7 @@ Contact: Holger Knublauch ([email protected]) | |
|
||
Can be used to perform SHACL constraint checking and rule inferencing 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 code is totally not optimized for performance, just for correctness.** | ||
|
||
Coverage: | ||
* SHACL Core and SHACL-SPARQL validation | ||
|
@@ -36,9 +36,9 @@ To use them, set up your environment similar to https://jena.apache.org/document | |
|
||
For example, on Windows: | ||
|
||
SET JENAROOT=C:\Users\Holger\Desktop\shacl-1.0.0-bin | ||
SET SHACLROOT=C:\Users\Holger\Desktop\shacl-1.0.0-bin | ||
|
||
SET PATH=%PATH%;%JENAROOT%\bin | ||
SET PATH=%PATH%;%SHACLROOT%\bin | ||
|
||
Both tools take the following parameters, for example: | ||
|
||
|
@@ -49,4 +49,4 @@ whereby -shapesfile is optional and falls back to using the data graph as shapes | |
Currently only Turtle (.ttl) files are supported. | ||
|
||
The tools print the validation report or the inferences graph to the output screen. | ||
The output of the command line utilities is not limited by the SHACL license. | ||
The output of the command line utilities is not limited by the license of the SHACL API. |
File renamed without changes.
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
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,18 +1,18 @@ | ||
@echo off | ||
@rem Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
if "%JENAROOT%" == "" goto :rootNotSet | ||
set JENA_HOME=%JENAROOT% | ||
if "%SHACLROOT%" == "" goto :rootNotSet | ||
set SHACL_HOME=%SHACLROOT% | ||
:rootNotSet | ||
|
||
if NOT "%JENA_HOME%" == "" goto :okHome | ||
echo JENA_HOME not set | ||
if NOT "%SHACL_HOME%" == "" goto :okHome | ||
echo SHACL_HOME not set | ||
exit /B | ||
|
||
:okHome | ||
set JENA_CP=%JENA_HOME%\lib\*; | ||
set LOGGING=file:%JENA_HOME%/jena-log4j.properties | ||
set SHACL_CP=%SHACL_HOME%\lib\*; | ||
set LOGGING=file:%SHACL_HOME%/log4j.properties | ||
|
||
@rem JVM_ARGS comes from the environment. | ||
java %JVM_ARGS% -Dlog4j.configuration="%LOGGING%" -cp "%JENA_CP%" org.topbraid.shacl.tools.Infer %* | ||
java %JVM_ARGS% -Dlog4j.configuration="%LOGGING%" -cp "%SHACL_CP%" org.topbraid.shacl.tools.Infer %* | ||
exit /B |
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
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,18 +1,18 @@ | ||
@echo off | ||
@rem Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
if "%JENAROOT%" == "" goto :rootNotSet | ||
set JENA_HOME=%JENAROOT% | ||
if "%SHACLROOT%" == "" goto :rootNotSet | ||
set SHACL_HOME=%SHACLROOT% | ||
:rootNotSet | ||
|
||
if NOT "%JENA_HOME%" == "" goto :okHome | ||
echo JENA_HOME not set | ||
if NOT "%SHACL_HOME%" == "" goto :okHome | ||
echo SHACL_HOME not set | ||
exit /B | ||
|
||
:okHome | ||
set JENA_CP=%JENA_HOME%\lib\*; | ||
set LOGGING=file:%JENA_HOME%/jena-log4j.properties | ||
set SHACL_CP=%SHACL_HOME%\lib\*; | ||
set LOGGING=file:%SHACL_HOME%/log4j.properties | ||
|
||
@rem JVM_ARGS comes from the environment. | ||
java %JVM_ARGS% -Dlog4j.configuration="%LOGGING%" -cp "%JENA_CP%" org.topbraid.shacl.tools.Validate %* | ||
java %JVM_ARGS% -Dlog4j.configuration="%LOGGING%" -cp "%SHACL_CP%" org.topbraid.shacl.tools.Validate %* | ||
exit /B |
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