NIHVIVO-1582: Added to all ingest tool pages breadcrumb navigation to go back to ingest menu page, fixed width textarea form element to fit the width of page container on Advance Data Tools pages.
This commit is contained in:
parent
4ab3b466aa
commit
f37838eb2a
24 changed files with 50 additions and 70 deletions
|
@ -17,9 +17,9 @@ td {
|
|||
<BODY onload="init()">
|
||||
<div id="content" class="sparqlform"
|
||||
style="width: 900px; margin: 0 auto;">
|
||||
<h1>
|
||||
<h2>
|
||||
SPARQL Query Builder
|
||||
</h1>
|
||||
</h2>
|
||||
<table id="builder" width="100%">
|
||||
<tr>
|
||||
<td width="33%">
|
||||
|
@ -49,19 +49,19 @@ td {
|
|||
</tr>
|
||||
</table>
|
||||
<div>
|
||||
<input type="button" value="Generate Query" onclick="genQuery();" />
|
||||
<input type="button" id="submit" value="Generate Query" onclick="genQuery();" />
|
||||
</div>
|
||||
<div id="sparqlquery" style="visibility: hidden;">
|
||||
<form action="sparqlquery">
|
||||
<div>
|
||||
<textarea id="query" name="query" rows="20" cols="111">
|
||||
<textarea id="query" name="query" rows="20" cols="111" class="maxWidth">
|
||||
|
||||
</textarea>
|
||||
</div>
|
||||
<p>
|
||||
<h4>
|
||||
<h3>
|
||||
Format for SELECT query results:
|
||||
</h4>
|
||||
</h3>
|
||||
<input id='RS_XML_BUTTON' type='radio' name='resultFormat'
|
||||
value='RS_XML'>
|
||||
<label for='RS_XML_BUTTON'>
|
||||
|
@ -95,9 +95,9 @@ td {
|
|||
</p>
|
||||
|
||||
<p>
|
||||
<h4>
|
||||
<h3>
|
||||
Format for CONSTRUCT and DESCRIBE query results:
|
||||
</h4>
|
||||
</h3>
|
||||
<input id='RR_RDFXML_BUTTON' type='radio' name='rdfResultFormat'
|
||||
value='RDF/XML'>
|
||||
<label for='RR_RDFXML_BUTTON'>
|
||||
|
@ -158,7 +158,7 @@ td {
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<input type="submit" value="Run Query" class="green button">
|
||||
<input type="submit" value="Run Query" id="submit">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
<body>
|
||||
<div id="content" class="sparqlform">
|
||||
<h1>SPARQL Query</h1>
|
||||
<h2>SPARQL Query</h2>
|
||||
<form action='sparqlquery'>
|
||||
query:
|
||||
<div>
|
||||
<textarea name='query' rows ='30' cols='100' class="span-23">
|
||||
<textarea name='query' rows ='30' cols='100' class="span-23 maxWidth">
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||
|
@ -48,7 +48,7 @@ LIMIT 20
|
|||
</div>
|
||||
|
||||
<p>
|
||||
<h4>Format for SELECT query results:</h4>
|
||||
<h3>Format for SELECT query results:</h3>
|
||||
<input id='RS_XML_BUTTON' type='radio' name='resultFormat' value='RS_XML'> <label for='RS_XML_BUTTON'>RS_XML</label>
|
||||
<input id='RS_TEXT_BUTTON' type='radio' name='resultFormat' value='RS_TEXT' checked='checked'> <label for='RS_TEXT_BUTTON'>RS_TEXT</label>
|
||||
<input id='RS_CSV_BUTTON' type='radio' name='resultFormat' value='vitro:csv'> <label for='RS_CSV_BUTTON'>CSV</label>
|
||||
|
@ -58,7 +58,7 @@ LIMIT 20
|
|||
</p>
|
||||
|
||||
<p>
|
||||
<h4>Format for CONSTRUCT and DESCRIBE query results:</h4>
|
||||
<h3>Format for CONSTRUCT and DESCRIBE query results:</h3>
|
||||
<input id='RR_RDFXML_BUTTON' type='radio' name='rdfResultFormat' value='RDF/XML'> <label for='RR_RDFXML_BUTTON'>RDF/XML</label>
|
||||
<input id='RR_RDFXMLABBREV_BUTTON' type='radio' name='rdfResultFormat' value='RDF/XML-ABBREV' checked='checked'> <label for='RR_RDFXMLABBREV_BUTTON'>RDF/XML-ABBREV</label>
|
||||
<input id='RR_N3_BUTTON' type='radio' name='rdfResultFormat' value='N3'> <label for='RR_N3_BUTTON'>N3</label>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<h2>Connect to Jena Database</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Connect to Jena Database</h2>
|
||||
|
||||
<form action="ingest" method="post">
|
||||
<input type="hidden" name="action" value="connectDB"/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<h2>Create New Model</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Create New Model</h2>
|
||||
|
||||
<form style="margin-bottom:2ex;" action="ingest" method="post">
|
||||
<input type="hidden" name="action" value="createModel"/>
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
|
||||
%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Convert CSV to RDF</h3>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Convert CSV to RDF</h2>
|
||||
|
||||
<form action="csv2rdf" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="action" value="csv2rdf"/>
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
}
|
||||
|
||||
%>
|
||||
|
||||
<h2>Execute RDF-Encoded Ingest Workflow</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Execute RDF-Encoded Ingest Workflow</h2>
|
||||
|
||||
<form action="ingest" method="get"i>
|
||||
<input type="hidden" name="action" value="executeWorkflow"/>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="staticPageBackground">
|
||||
|
||||
<h2> Export to RDF </h2>
|
||||
<h2>Export to RDF</h2>
|
||||
|
||||
<form action="" method="get">
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
%>
|
||||
|
||||
<h2>Generate TBox from Assertions Data</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Generate TBox from Assertions Data</h2>
|
||||
|
||||
<form action="ingest" method="get">
|
||||
<input type="hidden" name="action" value="generateTBox"/>
|
||||
|
|
|
@ -26,21 +26,20 @@ function init(){
|
|||
}
|
||||
%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Available Jena Models</h2>
|
||||
|
||||
<h3>Available Jena Models</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="sdbform" action="ingest" method="get">
|
||||
<input type="hidden" name="action" value="sdbModels"/>
|
||||
<input id="submit" type="submit" name="submit" value="SDB Models"/>
|
||||
<input type="submit" name="submit" value="SDB Models"/>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form name="rdbform" action="ingest" method="get">
|
||||
<input type="hidden" name="action" value="rdbModels"/>
|
||||
<input id="submit" type="submit" name="submit" value="RDB Models"/>
|
||||
<input type="submit" name="submit" value="RDB Models"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -48,7 +47,7 @@ function init(){
|
|||
<form action="ingest" method="get">
|
||||
<input type="hidden" name="action" value="createModel"/>
|
||||
<input type="hidden" name="modelType" value="${modelType}"/>
|
||||
<input id="submit" type="submit" name="submit" value="Create Model"/>
|
||||
<input type="submit" name="submit" value="Create Model"/>
|
||||
</form>
|
||||
<form name="information">
|
||||
<input type="hidden" name="info" value="${infoLine}"/>
|
||||
|
@ -66,7 +65,7 @@ function init(){
|
|||
<input type="hidden" name="action" value="loadRDFData"/>
|
||||
<input type="hidden" name="modelName" value="<%=modelName%>"/>
|
||||
<input type="hidden" name="modelType" value="${modelType}"/>
|
||||
<input id="submit" type="submit" name="submit" value="load RDF data"/>
|
||||
<input type="submit" name="submit" value="load RDF data"/>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -81,7 +80,7 @@ function init(){
|
|||
<input type="hidden" name="action" value="clearModel"/>
|
||||
<input type="hidden" name="modelName" value="<%=modelName%>"/>
|
||||
<input type="hidden" name="modelType" value="${modelType}"/>
|
||||
<input id="submit" type="submit" name="submit" value="clear statements"/>
|
||||
<input type="submit" name="submit" value="clear statements"/>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -89,7 +88,7 @@ function init(){
|
|||
<input type="hidden" name="action" value="removeModel"/>
|
||||
<input type="hidden" name="modelName" value="<%=modelName%>"/>
|
||||
<input type="hidden" name="modelType" value="${modelType}"/>
|
||||
<input id="submit" type="submit" name="submit" value="remove"/>
|
||||
<input type="submit" name="submit" value="remove"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -99,7 +98,7 @@ function init(){
|
|||
<input type="hidden" name="action" value="attachModel"/>
|
||||
<input type="hidden" name="modelName" value="<%=modelName%>"/>
|
||||
<input type="hidden" name="modelType" value="${modelType}"/>
|
||||
<input id="submit" type="submit" name="submit" value="attach to webapp"/>
|
||||
<input type="submit" name="submit" value="attach to webapp"/>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -107,7 +106,7 @@ function init(){
|
|||
<input type="hidden" name="action" value="detachModel"/>
|
||||
<input type="hidden" name="modelName" value="<%=modelName%>"/>
|
||||
<input type="hidden" name="modelType" value="${modelType}"/>
|
||||
<input id="submit" type="submit" name="submit" value="detach from webapp"/>
|
||||
<input type="submit" name="submit" value="detach from webapp"/>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -115,7 +114,7 @@ function init(){
|
|||
<input type="hidden" name="action" value="permanentURI" />
|
||||
<input type="hidden" name="modelName" value="<%=modelName%>" />
|
||||
<input type="hidden" name="modelType" value="${modelType}"/>
|
||||
<input id="submit" type="submit" name="submit" value="generate permanent URIs" /></form>
|
||||
<input type="submit" name="submit" value="generate permanent URIs" /></form>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<h2>Load RDF Data</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Load RDF Data</h2>
|
||||
|
||||
<form style="margin-bottom: 2ex;" action="uploadRDF" method="POST" enctype="multipart/form-data">
|
||||
<input type="hidden" name="modelName"
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
<script type="text/javascript" src="js/jquery.js"></script>
|
||||
<script type="text/javascript" src="js/jenaIngest/ingestUtils.js"></script>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Merge Individuals</h3>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Merge Individuals</h2>
|
||||
|
||||
<p>This tool allows two individuals with different URIs to be collapsed into a
|
||||
single URI. Any statements using the "duplicate individual URI" will be
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
||||
<%@ page import="com.hp.hpl.jena.rdf.model.Model"%>
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Merge Individuals</h3>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Merge Individuals</h2>
|
||||
|
||||
<form action="ingest" method="get">
|
||||
<input type="hidden" name="action" value="mergeResult"/>
|
||||
<%String result = (String) request.getAttribute("result");%>
|
||||
|
|
|
@ -15,9 +15,7 @@
|
|||
|
||||
%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Assign Permanent URIs To Resources</h3>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Assign Permanent URIs To Resources</h2>
|
||||
|
||||
<p>This tool will rename the resources in the selected model to with new
|
||||
randomly-generated URIs following the pattern used in the main application.
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
}
|
||||
|
||||
%>
|
||||
|
||||
<h2>Process Property Value Strings</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Process Property Value Strings</h2>
|
||||
|
||||
<form action="ingest" method="get"i>
|
||||
<input type="hidden" name="action" value="processStrings"/>
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
|
||||
%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Convert Blank Nodes to Named Resources</h3>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Convert Blank Nodes to Named Resources</h2>
|
||||
|
||||
<form action="ingest" method="get"i>
|
||||
<input type="hidden" name="action" value="renameBNodes"/>
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
<script type="text/javascript" src="js/jquery.js"></script>
|
||||
<script type="text/javascript" src="js/jenaIngest/ingestUtils.js"></script>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Change Namespace of Resources</h3>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > 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
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Rename Resource</h2>
|
||||
|
||||
<h3>Rename Resource</h3>
|
||||
<%String result = (String) request.getAttribute("result");%>
|
||||
<p><b><%=result%></b></p>
|
|
@ -16,10 +16,8 @@
|
|||
}
|
||||
|
||||
%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Smush Resources</h3>
|
||||
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Smush Resources</h2>
|
||||
|
||||
<form action="ingest" method="get"i>
|
||||
<input type="hidden" name="action" value="smushSingleModel"/>
|
||||
|
|
|
@ -23,10 +23,9 @@
|
|||
<%@page import="java.util.HashSet"%>
|
||||
<%@page import="java.util.Set"%>
|
||||
<%@page import="java.util.Arrays"%>
|
||||
<%@page import="java.util.ArrayList"%><h2>Execute SPARQL CONSTRUCT
|
||||
Query</h2>
|
||||
<%@page import="java.util.ArrayList"%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Execute SPARQL CONSTRUCT Query</h2>
|
||||
|
||||
<c:if test="${requestScope.constructedStmtCount != null}">
|
||||
<h3 class="notice">${requestScope.constructedStmtCount} statements
|
||||
|
@ -63,7 +62,9 @@ Query</h2>
|
|||
jenaOntModel.leaveCriticalSection();
|
||||
}
|
||||
%>
|
||||
</select> <textarea rows="16" cols="40" name="sparqlQueryStr"><c:choose>
|
||||
</select>
|
||||
|
||||
<textarea rows="16" cols="40" name="sparqlQueryStr" class="maxWidth"><c:choose>
|
||||
<c:when test="${param.sparqlQueryStr != null}">
|
||||
${param.sparqlQueryStr}
|
||||
</c:when>
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
}
|
||||
|
||||
%>
|
||||
|
||||
<h2>Split Property Value Strings into Multiple Property Values</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Split Property Value Strings into Multiple Property Values</h2>
|
||||
|
||||
<form action="ingest" method="get">
|
||||
<input type="hidden" name="action" value="splitPropertyValues"/>
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
|
||||
%>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
|
||||
<h3>Subtract One Model from Another</h3>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Subtract One Model from Another</h2>
|
||||
|
||||
<form action="ingest" method="get"i>
|
||||
<input type="hidden" name="action" value="subtractModels"/>
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
}
|
||||
|
||||
%>
|
||||
|
||||
<h2>Execute RDF-Encoded Ingest Workflow</h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Execute RDF-Encoded Ingest Workflow</h2>
|
||||
|
||||
<form action="ingest" method="get"i>
|
||||
<input type="hidden" name="action" value="executeWorkflow"/>
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
|
||||
%>
|
||||
|
||||
<h3><a href="ingest">Ingest Home</a></h3>
|
||||
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Load XML and convert to RDF</h2>
|
||||
|
||||
<form action="jenaXmlFileUpload" method="post" enctype="multipart/form-data">
|
||||
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
<p>Uploaded XML files and converted to RDF.</p>
|
||||
<p>Loaded <%= request.getAttribute("statementCount") %> statements to the model <%= request.getAttribute("targetModel") %>.</p>
|
||||
|
||||
<h2><a href="ingest">Ingest Home</a></h2>
|
||||
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a></h2>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue