String version = RIOT.getVersion() ;
String homepage = "http://jena.apache.org/" ;
String systemURI = "http://jena.apache.org/#riot" ; // Null for bNode.
// Include information later.
EarlReport report = new EarlReport(systemURI, name, version, homepage) ;
FactoryTestRiot.report = report ;
Model model = report.getModel() ;
model.setNsPrefix("rdft", VocabLangRDF.getURI()) ;
// Update the EARL report.
Resource jena = model.createResource()
.addProperty(FOAF.homepage, model.createResource("http://jena.apache.org/")) ;
// ARQ is part of Jena.
Resource arq = report.getSystem()
.addProperty(DCTerms.isPartOf, jena) ;
// Andy wrote the test software (updates the thing being tested as well as they are the same).
Resource who = model.createResource(FOAF.Person)
.addProperty(FOAF.name, "Andy Seaborne")
.addProperty(FOAF.homepage,
model.createResource("http://people.apache.org/~andy")) ;
Resource reporter = report.getReporter() ;
reporter.addProperty(DC.creator, who) ;
model.setNsPrefix("doap", DOAP.getURI()) ;
model.setNsPrefix("xsd", XSD.getURI()) ;
// DAWG specific stuff.
Resource system = report.getSystem() ;
system.addProperty(RDF.type, DOAP.Project) ;
system.addProperty(DOAP.name, name) ;
system.addProperty(DOAP.homepage, homepage) ;
system.addProperty(DOAP.maintainer, who) ;