1
|
<%@ page language="java"%>
|
2
|
<%
|
3
|
/**
|
4
|
*
|
5
|
* '$RCSfile$'
|
6
|
* Copyright: 2008 Regents of the University of California and the
|
7
|
* National Center for Ecological Analysis and Synthesis
|
8
|
* '$Author: leinfelder $'
|
9
|
* '$Date: 2010-08-30 16:34:14 -0700 (Mon, 30 Aug 2010) $'
|
10
|
* '$Revision: 5533 $'
|
11
|
*
|
12
|
* This program is free software; you can redistribute it and/or modify
|
13
|
* it under the terms of the GNU General Public License as published by
|
14
|
* the Free Software Foundation; either version 2 of the License, or
|
15
|
* (at your option) any later version.
|
16
|
*
|
17
|
* This program is distributed in the hope that it will be useful,
|
18
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20
|
* GNU General Public License for more details.
|
21
|
|
22
|
* You should have received a copy of the GNU General Public License
|
23
|
* along with this program; if not, write to the Free Software
|
24
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
25
|
*/
|
26
|
%>
|
27
|
|
28
|
<%@ include file="../../common/common-settings.jsp"%>
|
29
|
<%@ include file="../../common/configure-check.jsp"%>
|
30
|
<html>
|
31
|
<head>
|
32
|
<title>Semantic search</title>
|
33
|
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/semtools/semtools.css">
|
34
|
<script type="text/javascript"
|
35
|
src="<%=STYLE_SKINS_URL%>/semtools/search.js"></script>
|
36
|
|
37
|
<script type="text/javascript">
|
38
|
// Set defaults for this installation
|
39
|
//var BP_SEARCH_SERVER = "http://oor-01.cim3.net";
|
40
|
//var BP_SITE = "Sandbox";
|
41
|
//var BP_ORG = "OOR";
|
42
|
</script>
|
43
|
<script language="Javascript" type="text/JavaScript"
|
44
|
src="<%=STYLE_SKINS_URL%>/semtools/bioportal/form_complete.js">
|
45
|
</script>
|
46
|
|
47
|
<script language="javascript" type="text/javascript" src="<%=STYLE_SKINS_URL%>/semtools/semtools.js"></script>
|
48
|
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/branding.js"></script>
|
49
|
|
50
|
</head>
|
51
|
<body>
|
52
|
<script language="javascript">
|
53
|
insertTemplateOpening("<%=CONTEXT_URL%>");
|
54
|
</script>
|
55
|
|
56
|
<h2>Annotation-based search</h2>
|
57
|
|
58
|
<form method="POST" action="<%=SERVLET_URL%>" target="_top" id="searchForm" name="searchForm" onSubmit="return checkSearch(this)">
|
59
|
<input name="query" type="hidden" />
|
60
|
<input name="qformat" value="semtools" type="hidden" />
|
61
|
<input name="action" value="semquery" type="hidden" />
|
62
|
|
63
|
<table>
|
64
|
<tr>
|
65
|
<td>
|
66
|
<select name="dynamicClass" id="dynamicClass">
|
67
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity" selected="selected">Entity</option>
|
68
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
|
69
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
|
70
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
|
71
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
|
72
|
</select>
|
73
|
</td>
|
74
|
<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
|
75
|
</tr>
|
76
|
<tr>
|
77
|
<td>
|
78
|
<select name="dynamicClass" id="dynamicClass">
|
79
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
|
80
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic" selected="selected">Characteristic</option>
|
81
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
|
82
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
|
83
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
|
84
|
</select>
|
85
|
</td>
|
86
|
<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
|
87
|
</tr>
|
88
|
<tr>
|
89
|
<td>
|
90
|
<select name="dynamicClass" id="dynamicClass">
|
91
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
|
92
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
|
93
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard" selected="selected">Standard</option>
|
94
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
|
95
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
|
96
|
</select>
|
97
|
</td>
|
98
|
<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
|
99
|
</tr>
|
100
|
<tr>
|
101
|
<td>
|
102
|
<select name="dynamicClass" id="dynamicClass">
|
103
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
|
104
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
|
105
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
|
106
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol" selected="selected">Protocol</option>
|
107
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
|
108
|
</select>
|
109
|
</td>
|
110
|
<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
|
111
|
</tr>
|
112
|
<tr>
|
113
|
<td>
|
114
|
<select name="dynamicClass" id="dynamicClass">
|
115
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
|
116
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
|
117
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
|
118
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
|
119
|
<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement" selected="selected">Measurement</option>
|
120
|
</select>
|
121
|
</td>
|
122
|
<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
|
123
|
</tr>
|
124
|
<!--
|
125
|
<tr>
|
126
|
<td>Entity: (SBC only)</td>
|
127
|
<td><input type="text" name="entity" class="bp_form_complete-1523-uri" size="100" /></td>
|
128
|
</tr>
|
129
|
-->
|
130
|
<tr>
|
131
|
<td colspan="2">Match All? <input type="checkbox" name="matchAll" checked="checked"/></td>
|
132
|
</tr>
|
133
|
<tr>
|
134
|
<td colspan="2">From same Observation? <input type="checkbox" name="strict"/></td>
|
135
|
</tr>
|
136
|
<tr>
|
137
|
<td colspan="2"><input type="submit" value="Search"/></td>
|
138
|
</tr>
|
139
|
</table>
|
140
|
</form>
|
141
|
|
142
|
<h2>Ontology search</h2>
|
143
|
<div id="bp_quick_jump"></div>
|
144
|
<script type="text/javascript">
|
145
|
var BP_ontology_id = "all";
|
146
|
</script>
|
147
|
<script src="<%=STYLE_SKINS_URL%>/semtools/bioportal/quick_jump.js" type="text/javascript" charset="utf-8">
|
148
|
</script>
|
149
|
|
150
|
<h2>Tree browser</h2>
|
151
|
|
152
|
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
|
153
|
id="OntologyTree" width="300" height="100%"
|
154
|
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
|
155
|
<param name="movie" value="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" />
|
156
|
<param name="quality" value="high" />
|
157
|
<param name="bgcolor" value="#ffffff" />
|
158
|
<param name="allowScriptAccess" value="always" />
|
159
|
<param name="flashVars" value="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true" />
|
160
|
<embed src="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" quality="high" bgcolor="#ffffff"
|
161
|
width="300" height="100%" name="OntologyTree" align="middle"
|
162
|
play="true"
|
163
|
loop="false"
|
164
|
allowScriptAccess="always"
|
165
|
type="application/x-shockwave-flash"
|
166
|
flashVars="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true"
|
167
|
pluginspage="http://www.adobe.com/go/getflashplayer">
|
168
|
</embed>
|
169
|
</object>
|
170
|
|
171
|
<!-- Included default search/login -->
|
172
|
<% if ( PropertyService.getProperty("spatial.runSpatialOption").equals("true") ) { %>
|
173
|
<script language="javascript">
|
174
|
insertMap("<%=CONTEXT_URL%>");
|
175
|
</script>
|
176
|
<br/>
|
177
|
<% } %>
|
178
|
|
179
|
<script language="javascript">
|
180
|
insertSearchBox("<%=CONTEXT_URL%>");
|
181
|
insertLoginBox("<%=CONTEXT_URL%>");
|
182
|
</script>
|
183
|
|
184
|
<script language="javascript">
|
185
|
insertTemplateClosing("<%=CONTEXT_URL%>");
|
186
|
</script>
|
187
|
|
188
|
</body>
|
189
|
</html>
|