This class is for deleting instances which ETled from particular file, -f takes filename as input ,this is the file name which we want to delete all instances ETLed from .-r takes repository configuration file path
FLOW : deleteInsntaceETledFromFIle(String) takes file name as input ,it then calls getResourcesOfFile(String) where it builds query to ge the Instance URI's we want to delete,It builds the query by calling
SPARQLQueryUtil.getInstance().getResourcesETLedFromFileQuery(fileName); .We query repository using the query which we built it then returns results in xml format ,xml is parsed for Instance URIs in ETLSPARQLQueryUtil.getInstanceURI(resources)
method ,which returns array if instance URI's .
DeETL(String) -
Constructor for class org.eaglei.datatools.etl.utils.DeETL
Constructor where we get the ReposiotryProvider object and also gets session by loging into reposiotry
Returns the a sparql query that asks the repo for the URI of a resource of Model ,It builds query of properties containing only rdfs:type and rdfs:lable as predicate