<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ page import="com.hp.hpl.jena.rdf.model.ModelMaker"%> <%@ page import="com.hp.hpl.jena.rdf.model.Model"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.net.URLEncoder"%> <%@ page import="java.util.List"%> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> <%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %> <%@page import="edu.cornell.mannlib.vitro.webapp.auth.requestedAction.usepages.UseAdvancedDataToolsPages" %> <% request.setAttribute("requestedActions", new UseAdvancedDataToolsPages()); %> <% ModelMaker maker = (ModelMaker) request.getSession().getAttribute("vitroJenaModelMaker"); if (maker == null) { maker = (ModelMaker) getServletContext().getAttribute("vitroJenaModelMaker"); } %>

Ingest Menu > Assign Permanent URIs To Resources

This tool will rename the resources in the selected model to with new randomly-generated URIs following the pattern used in the main application. The tool will generate URIs that are not already in use in the main web application model. Statements using the newly-renamed resources will be written to the "model to save."

The permanent URIs may be generated in an arbitrary "new namespace for resources." Otherwise, the "use default namespace" option will generate URIs exactly of the form created through the GUI interface.

<%String modelName = (String)request.getAttribute("modelName"); %>

Current namespace of resources

Model to save

New namespace for resources

Or <%String defaultNamespace = (String)request.getAttribute("defaultNamespace");%>

Use default namespace <%=defaultNamespace%>