work on NIHVIVO-23 vitro internal Jena models
This commit is contained in:
parent
35452e8b36
commit
3e23a63be1
4 changed files with 21 additions and 3 deletions
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
%>
|
%>
|
||||||
|
|
||||||
|
<p><a href="ingest">Ingest Home</a></p>
|
||||||
|
|
||||||
<h2>Convert CSV to RDF</h2>
|
<h2>Convert CSV to RDF</h2>
|
||||||
|
|
||||||
<form action="ingest" method="get"i>
|
<form action="ingest" method="get"i>
|
||||||
|
@ -42,6 +44,7 @@
|
||||||
<p>Class Name for Resources</p>
|
<p>Class Name for Resources</p>
|
||||||
|
|
||||||
<select name="destinationModelName">
|
<select name="destinationModelName">
|
||||||
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
||||||
<%
|
<%
|
||||||
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
||||||
String modelName = (String) it.next();
|
String modelName = (String) it.next();
|
||||||
|
@ -53,6 +56,7 @@
|
||||||
<p>Destination Model</p>
|
<p>Destination Model</p>
|
||||||
|
|
||||||
<select name="tboxDestinationModelName">
|
<select name="tboxDestinationModelName">
|
||||||
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
||||||
<%
|
<%
|
||||||
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
||||||
String modelName = (String) it.next();
|
String modelName = (String) it.next();
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
%>
|
%>
|
||||||
|
|
||||||
|
<p><a href="ingest">Ingest Home</a></p>
|
||||||
|
|
||||||
<h2>Convert Blank Nodes to Named Resources</h2>
|
<h2>Convert Blank Nodes to Named Resources</h2>
|
||||||
|
|
||||||
<form action="ingest" method="get"i>
|
<form action="ingest" method="get"i>
|
||||||
|
@ -25,7 +27,7 @@
|
||||||
<h3>Select URI prefix</h3>
|
<h3>Select URI prefix</h3>
|
||||||
|
|
||||||
<p>URIs will be constructed from the following string concatenated with a random integer:</p>
|
<p>URIs will be constructed from the following string concatenated with a random integer:</p>
|
||||||
<input type="text" name="namespaceEtcStr"/>
|
<input type="text" style="width:65%;" name="namespaceEtcStr"/>
|
||||||
|
|
||||||
<p/>
|
<p/>
|
||||||
|
|
||||||
|
@ -45,6 +47,7 @@
|
||||||
<h3>Select Destination Model</h3>
|
<h3>Select Destination Model</h3>
|
||||||
|
|
||||||
<select name="destinationModelName">
|
<select name="destinationModelName">
|
||||||
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
||||||
<%
|
<%
|
||||||
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
||||||
String modelName = (String) it.next();
|
String modelName = (String) it.next();
|
||||||
|
|
|
@ -17,16 +17,19 @@
|
||||||
|
|
||||||
%>
|
%>
|
||||||
|
|
||||||
|
<p><a href="ingest">Ingest Home</a></p>
|
||||||
|
|
||||||
<h2>Subtract One Model from Another</h2>
|
<h2>Subtract One Model from Another</h2>
|
||||||
|
|
||||||
<form action="ingest" method="get"i>
|
<form action="ingest" method="get"i>
|
||||||
<input type="hidden" name="action" value="subtractModels"/>
|
<input type="hidden" name="action" value="subtractModels"/>
|
||||||
|
|
||||||
<select name="modela">
|
<select name="modela">
|
||||||
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
||||||
<%
|
<%
|
||||||
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
||||||
String modelName = (String) it.next();
|
String modelName = (String) it.next();
|
||||||
%> <option value="<%=modelName%>"/><%=modelName%></option>
|
%> <option value="<%=modelName%>"><%=modelName%></option>
|
||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
|
@ -34,6 +37,7 @@
|
||||||
<p>model to be subtracted from</p>
|
<p>model to be subtracted from</p>
|
||||||
|
|
||||||
<select name="modelb">
|
<select name="modelb">
|
||||||
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
||||||
<%
|
<%
|
||||||
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
||||||
String modelName = (String) it.next();
|
String modelName = (String) it.next();
|
||||||
|
@ -45,6 +49,8 @@
|
||||||
<p>model to subtract</p>
|
<p>model to subtract</p>
|
||||||
|
|
||||||
<select name="destinationModelName">
|
<select name="destinationModelName">
|
||||||
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
||||||
String modelName = (String) it.next();
|
String modelName = (String) it.next();
|
||||||
|
|
|
@ -20,14 +20,19 @@
|
||||||
<form action="jenaXmlFileUpload" method="post" enctype="multipart/form-data">
|
<form action="jenaXmlFileUpload" method="post" enctype="multipart/form-data">
|
||||||
|
|
||||||
<input type="file" name="xmlfile"/>
|
<input type="file" name="xmlfile"/>
|
||||||
|
|
||||||
|
<p>XML file</p>
|
||||||
|
|
||||||
<select name="targetModel">
|
<select name="targetModel">
|
||||||
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
||||||
<% for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
<% for (Iterator it = maker.listModels(); it.hasNext(); ) {
|
||||||
String modelName = (String) it.next(); %>
|
String modelName = (String) it.next(); %>
|
||||||
<option value="<%=modelName%>"><%= modelName %></option>
|
<option value="<%=modelName%>"><%= modelName %></option>
|
||||||
<% } %>
|
<% } %>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<p>Destination model</p>
|
||||||
|
|
||||||
<input type="submit" name="submit" value="upload XML and convert to RDF"/>
|
<input type="submit" name="submit" value="upload XML and convert to RDF"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue