@@ -0,0 +1,2130 @@
+package de.unibonn.iai.eis.diachron.qualitymetrics.utilities;%0D%0A%0D%0Aimport com.hp.hpl.jena.graph.Triple;%0D%0A%0D%0Aimport de.unibonn.iai.eis.diachron.qualitymetrics.accessibility.availability.Dereferencibility;%0D%0Aimport de.unibonn.iai.eis.diachron.qualitymetrics.accessibility.availability.RDFAccessibility;%0D%0Aimport de.unibonn.iai.eis.diachron.qualitymetrics.accessibility.availability.SPARQLAccessibility;%0D%0Aimport de.unibonn.iai.eis.diachron.qualitymetrics.accessibility.availability.UnstructuredData;%0D%0A%0D%0Apublic class TestClass %7B%0D%0A    %0D%0A%09//test class for the metrics implemented   %0D%0A%09public static void main(String %5B%5D args)%7B%0D%0A%09%09  TestLoader t = new TestLoader();%0D%0A%09%09  t.loadDataSet();%0D%0A%09%09  %0D%0A%09%09  //Objects for Classed to be tested%0D%0A%09%09  RDFAccessibility rdfa= new RDFAccessibility();%0D%0A%09%09  SPARQLAccessibility sparqla= new SPARQLAccessibility();%0D%0A%09%09  Dereferencibility derefa= new Dereferencibility();%0D%0A%09%09  UnstructuredData unstra = new UnstructuredData();%0D%0A%09%09  %0D%0A%09%09  //Test for RDF accessibility class%0D%0A%09%09  %0D%0A%09%09  for(Triple tr : t.getStreamingTriples())%7B%0D%0A%09%09   //System.out.println(tr.getSubject());%0D%0A%09%09   rdfa.compute(tr);%0D%0A%09%09   System.out.println(%22The metric RDF accessibility value triple:%22+tr.getObject()+%22 is %22+rdfa.metricValue());%0D%0A%09%09   %0D%0A%09%09  %7D%0D%0A%09%09  %0D%0A%09%09  //Test for SPARQL accessibility%0D%0A%09%09  %0D%0A%09%09  for(Triple tr : t.getStreamingTriples())%7B%0D%0A%09%09%09   //System.out.println(tr.getSubject());%0D%0A%09%09%09   sparqla.compute(tr);%0D%0A%09%09%09   System.out.println(%22The metric SPARQL accessibility value triple: %22+tr.getObject()+%22 is %22+sparqla.metricValue());%0D%0A%09%09%09   %0D%0A%09%09%09  %7D%0D%0A%09%09  System.out.println(%22Dereferencebility test begins%22);%0D%0A%09%09  //Test for Deferencibility accessibility%0D%0A%09%09  // Passing all the triple for the calculation of the metric value%0D%0A%09%09  for(Triple tr : t.getStreamingTriples())%0D%0A%09%09%09 %7B%0D%0A%09%09%09  System.out.println(tr.getObject());%0D%0A%09%09%09  derefa.compute(tr);%0D%0A%09%09%09  %0D%0A%09%09%09  unstra.compute(tr);%0D%0A%09%09%09 %7D%0D%0A%09%09  //Print the metric values calculated%0D%0A%09%09  System.out.println(%22Metric value for Derefrencibility is: %22 + derefa.metricValue());%0D%0A%09%09  System.out.println(%22Metric value for Unstructureddata is: %22 + unstra.metricValue());%0D%0A%09%09  %09  %0D%0A%09%09  %0D%0A%09%09 %7D%0D%0A%7D%0D%0A

Test class added to main branch