/** Read a file containing SPARQL Update operations, and execute the operations. * @param filename * @param dataset */ public static void readExecute(String filename, DatasetGraph dataset) { readExecute(filename, dataset, null) ; }
/** Read a file containing SPARQL Update operations, and execute the operations. * @param filename * @param graph */ public static void readExecute(String filename, Graph graph) { readExecute(filename, toDatasetGraph(graph)) ; }
/** Read a file containing SPARQL Update operations, and execute the operations. * @param filename * @param dataset */ public static void readExecute(String filename, Dataset dataset) { readExecute(filename, dataset.asDatasetGraph()) ; }
protected static void script(DatasetGraph gStore, String filename) { UpdateAction.readExecute(FileBase + "/" + filename, gStore) ; }
/** Read a file containing SPARQL Update operations, and execute the operations. * @param filename * @param model */ public static void readExecute(String filename, Model model) { readExecute(filename, toDatasetGraph(model.getGraph())) ; }