NIHVIVO-3130 NIHVIVO-3089 ingest tools fixes and improvements

This commit is contained in:
brianjlowe 2011-11-04 21:01:34 +00:00
parent 4d8206b018
commit f5e1661f9a
22 changed files with 331 additions and 309 deletions

View file

@ -17,7 +17,7 @@
ModelMaker maker = (ModelMaker) request.getSession().getAttribute("vitroJenaModelMaker");
if (maker == null) {
maker = (ModelMaker) getServletContext().getAttribute("vitroJenaModelMaker");
maker = (ModelMaker) getServletContext().getAttribute("vitroJenaSDBModelMaker");
}
%>
@ -36,15 +36,27 @@
<p>Or upload a file from your computer:</p>
<p><input type="file" name="filePath" /></p>
<p/>
<p>This tool will automatically generate a mini ontology to represent the
data in the CSV file. A property will be produced for each column in the
spreadsheet, based on the text in the header for that column.</p><p>In what
namespace should these properties be created?</p>
<input type="text" name="tboxNamespace"/>
<p>Namespace in which to generate class and properties</p>
<p>Namespace in which to generate properties</p>
<!--
<input type="checkbox" name="discardTbox"/> do not add TBox or RBox to result model
-->
<p>
<p>Each row in the spreadsheet will produce an resource. Each of these
resources will be a member of a class in the namespace selected above.</p>
<p>What should the local name of this class be? This is normally a word or two
in "camel case" starting with an uppercase letter. (For example, if the
spreadsheet represents a list of faculty members, you might enter
"FacultyMember" on the next line.)</p>
<input type="text" name="typeName"/>
<p>Class Name for Resources</p>
<p>Class Local Name for Resources</p>
<select name="destinationModelName">
<option value="vitro:baseOntModel">webapp assertions</option>
@ -56,7 +68,7 @@
}
%> <option value="">(none)</option>
</select>
<p>Destination Model</p>
<p>Model in which to save the converted spreadsheet data</p>
<select name="tboxDestinationModelName">
<option value="vitro:baseOntModel">webapp assertions</option>
@ -68,6 +80,11 @@
}
%> <option value="">(none)</option>
</select>
<p>Destination Model for TBox</p>
<p>Model in which to save the automatically-generated ontology</p>
<p/>
<p>The data in the CSV file will initially be represented using blank
nodes (RDF resources without URIs). You will choose how to assign
URIs to these resources in the next step.</p>
<input class="submit" type="submit" value="Next Step"/>