diff options
Diffstat (limited to 'schema/validate-jena/README')
-rw-r--r-- | schema/validate-jena/README | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/schema/validate-jena/README b/schema/validate-jena/README new file mode 100644 index 00000000..dddfe013 --- /dev/null +++ b/schema/validate-jena/README @@ -0,0 +1,17 @@ +Validate RDF data according to a schema using Apache Jena +--------------------------------------------------------- + +To compile this you will need Apache Jena available, and a Java compiler. + +You can download a binary distribution of Apache Jena from +<https://jena.apache.org/download/index.html>. + +Here is an example of fetching a version of Apache Jena, compiling the +validation tool to a .class file with `javac` and running it with `java`: + + wget http://mirrors.ukfast.co.uk/sites/ftp.apache.org/jena/binaries/apache-jena-2.13.0.tar.gz + tar xf apache-jena-2.13.0.tar.gz + javac -classpath ./apache-jena-2.13.0/lib/jena-core-2.13.0.jar \ + ValidateTool.java + java -classpath ./apache-jena-2.13.0/lib/jena-core-2.13.0.jar:./apache-jena-2.13.0/lib/slf4j-api-1.7.6.jar:./apache-jena-2.13.0/lib/slf4j-log4j12-1.7.6.jar:./apache-jena-2.13.0/lib/log4j-1.2.17.jar:./apache-jena-2.13.0/lib/xercesImpl-2.11.0.jar:./apache-jena-2.13.0/lib/xml-apis-1.4.01.jar:./apache-jena-2.13.0/lib/jena-iri-1.1.2.jar:. \ + ValidateTool |