SPARQL 1.1 Protocol Validator

This is a Java and Bash script port of some of the tests from Gregory Williams SPARQL 1.1 Protocol Validator which are causing dotNetRDF issues.

Porting them to Java allows us to run much more easily in Windows environments without needing a Perl/CGI setup

Running the Java port

Run on *nix platforms like so:

./validate hostname /path/to/query /path/to/update

On Windows platforms:

java -jar target\sparql-protocol-validator.jar hostname /path/to/query /path/to/update

Running the Bash port

The bash script can be run as follows:

./ hostname /path/to/query /path/to/update

A zero exit code indicates success, any other exit code indicates failure