/** * Read a file containing SPARQL Update operations, and execute the operations. * * @param filename * @param dataset * @param initialBinding Presets for variables. */ public static void readExecute(String filename, Dataset dataset, QuerySolution initialBinding) { readExecute( filename, GraphStoreFactory.create(dataset), BindingUtils.asBinding(initialBinding)); }
/** * Read a file containing SPARQL Update operations, and execute the operations. * * @param filename * @param model * @param initialBinding Presets for variables. */ public static void readExecute(String filename, Model model, QuerySolution initialBinding) { readExecute(filename, GraphStoreFactory.create(model), BindingUtils.asBinding(initialBinding)); }
/** * Execute a single SPARQL Update operation. * * @param update * @param dataset * @param initialBinding Presets for variables. */ public static void execute(Update update, Dataset dataset, QuerySolution initialBinding) { execute(update, GraphStoreFactory.create(dataset), BindingUtils.asBinding(initialBinding)); }
/** * Execute a single SPARQL Update operation. * * @param update * @param model * @param initialBinding Presets for variables. */ public static void execute(Update update, Model model, QuerySolution initialBinding) { execute(update, GraphStoreFactory.create(model), BindingUtils.asBinding(initialBinding)); }
/** * Parse a string containing SPARQL Update operations, and execute the operations. * * @param updateString * @param dataset * @param initialBinding Presets for variables. */ public static void parseExecute( String updateString, Dataset dataset, QuerySolution initialBinding) { parseExecute( updateString, GraphStoreFactory.create(dataset), BindingUtils.asBinding(initialBinding)); }
/** * Parse a string containing SPARQL Update operations, and execute the operations. * * @param updateString * @param model * @param initialBinding Presets for variables. */ public static void parseExecute(String updateString, Model model, QuerySolution initialBinding) { parseExecute( updateString, GraphStoreFactory.create(model), BindingUtils.asBinding(initialBinding)); }