public class rdfcompare extends Object
This program will read two RDF models, in a variety of languages, and compare them. Input can be read either from a URL or from a file. The program writes its results to the standard output stream and sets its exit code to 0 if the models are equal, to 1 if they are not and to -1 if it encounters an error.
java jena.rdfcompare model1 model2 [lang1 [lang2]] model1 and model2 can be file names or URL's lang1 and lang2 specify the language of the input and can be: RDF/XML N-TRIPLE N3
public static void main(String... args)
args
- the command line argumentsLicenced under the Apache License, Version 2.0