vitro/webapp/web/jenaIngest/renameResource.jsp

29 lines
No EOL
1.2 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%-- $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"%>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jenaIngest/ingestUtils.js"></script>
<p><a href="ingest">Ingest Home</a></p>
<h2>Change Namespace of Resources</h2>
<p>This tool will change all resources in the supplied "old namespace"
to be in the "new namespace." Additionally, the local names will be updated
to follow the established "n" + random integer naming convention.</p>
<p>This tool operates on the main web application model only, not on any
of the additional Jena models.</p>
<form id="takeuri" action="ingest" method="get">
<input type="hidden" name="action" value="renameResource"/>
<p>Old Namespace  <input id="uri1" type="text" size="52" name="uri1"/></p>
<p>New Namespace  <input id="uri2" type="text" size="52" name="uri2"/></p>
<p><input type="submit" name="submit" value="Change namespace" /></p>
</form>