Project

General

Profile

1 5509 leinfelder
<%@ 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$'
9
 *      '$Date$'
10
 * '$Revision$'
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 5385 leinfelder
%>
27 5509 leinfelder
28
<%@ include file="../../common/common-settings.jsp"%>
29
<%@ include file="../../common/configure-check.jsp"%>
30 5385 leinfelder
<html>
31
<head>
32 5509 leinfelder
<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 5385 leinfelder
</head>
51
<body>
52 5509 leinfelder
<script language="javascript">
53
	insertTemplateOpening("<%=CONTEXT_URL%>");
54
</script>
55 5385 leinfelder
56 5574 leinfelder
<div id="content_wrapper">
57
58 5533 leinfelder
<h2>Annotation-based search</h2>
59 5385 leinfelder
60 5509 leinfelder
<form method="POST" action="<%=SERVLET_URL%>" target="_top" id="searchForm" name="searchForm" onSubmit="return checkSearch(this)">
61
	<input name="query" type="hidden" />
62
	<input name="qformat" value="semtools" type="hidden" />
63 5533 leinfelder
	<input name="action" value="semquery" type="hidden" />
64 5509 leinfelder
65 5602 leinfelder
	<table class="group group_border">
66 5509 leinfelder
		<tr>
67 5602 leinfelder
			<th colspan="5">
68
				<p>
69
					Locate <b>data packages</b> that have been semantically annotated within the observation model by
70
					selecting concepts from
71
					<br/>
72
					(a) existing semantic annotations
73
					<br/>
74
					(b) registered OBOE extension ontologies
75
				</p>
76
			</th>
77 5533 leinfelder
		</tr>
78
		<tr>
79
			<td>
80 5602 leinfelder
				<table class="subGroup subGroup_border">
81
					<tr>
82
						<th colspan="1">
83
							Entity
84
						</th>
85
					</tr>
86
					<tr>
87
						<td>Find observations of</td>
88
					</tr>
89
					<tr>
90
						<td>
91
							(a)
92
							<select name="dynamicValue" id="dynamicValue" multiple="multiple" size="5" style="width: 216px">
93
								<option title="A long description for Kelp">Kelp</option>
94
								<option>Tree</option>
95
							</select>
96
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity"/>
97
						</td>
98
					</tr>
99
					<tr>
100
						<td colspan="1">
101
							(b)
102
							<input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="30" />
103
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity"/>
104
						</td>
105
					</tr>
106
				</table>
107 5533 leinfelder
			</td>
108
			<td>
109 5602 leinfelder
				<table class="subGroup subGroup_border">
110
					<tr>
111
						<th colspan="1">
112
							Characteristic
113
						</th>
114
					</tr>
115
					<tr>
116
						<td>where measurements of</td>
117
					</tr>
118
					<tr>
119
						<td>
120
							<select name="dynamicValue" id="dynamicValue" multiple="multiple" size="5" style="width: 216px">
121
								<option title="A long description for Height">Height</option>
122
								<option>Weight</option>
123
							</select>
124
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic"/>
125
						</td>
126
					</tr>
127
					<tr>
128
						<td colspan="1">
129
							<input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="30" />
130
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic"/>
131
						</td>
132
					</tr>
133
				</table>
134 5533 leinfelder
			</td>
135
			<td>
136 5602 leinfelder
				<table class="subGroup subGroup_border">
137
					<tr>
138
						<th colspan="1">
139
							Standard
140
						</th>
141
					</tr>
142
					<tr>
143
						<td>were recorded in units of</td>
144
					</tr>
145
					<tr>
146
						<td>
147
							<select name="dynamicValue" id="dynamicValue" multiple="multiple" size="5" style="width: 216px">
148
								<option title="A long description for Meter">Meter</option>
149
								<option>Inch</option>
150
								<option>Gram</option>
151
							</select>
152
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard"/>
153
						</td>
154
					</tr>
155
					<tr>
156
						<td colspan="1">
157
							<input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="30" />
158
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard"/>
159
						</td>
160
					</tr>
161
				</table>
162 5533 leinfelder
			</td>
163
			<td>
164 5602 leinfelder
				<table class="subGroup subGroup_border">
165
					<tr>
166
						<th colspan="1">
167
							Protocol
168
						</th>
169
					</tr>
170
					<tr>
171
						<td>following procedures outlined by</td>
172
					</tr>
173
					<tr>
174
						<td>
175
							<select name="dynamicValue" id="dynamicValue" multiple="multiple" size="5" style="width: 216px">
176
								<option title="A long description for LabA">LabA</option>
177
								<option>LabB</option>
178
							</select>
179
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol"/>
180
						</td>
181
					</tr>
182
					<tr>
183
						<td colspan="1">
184
							<input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="30" />
185
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol"/>
186
						</td>
187
					</tr>
188
				</table>
189 5533 leinfelder
			</td>
190 5602 leinfelder
			<td>
191
				<table class="subGroup subGroup_border">
192
					<tr>
193
						<th colspan="2">
194
							Measurement
195
						</th>
196
					</tr>
197
					<tr>
198
						<td>typically defined as</td>
199
					</tr>
200
					<tr>
201
						<td>
202
							<select name="dynamicValue" id="dynamicValue" multiple="multiple" size="5" style="width: 216px">
203
								<option title="NitrogenConcentration">NitrogenConcentration</option>
204
							</select>
205
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement"/>
206
						</td>
207
					</tr>
208
					<tr>
209
						<td colspan="1">
210
							<input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="30" />
211
							<input type="hidden" name="dynamicClass" id="dynamicClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement"/>
212
						</td>
213
					</tr>
214
				</table>
215
			</td>
216 5533 leinfelder
		</tr>
217
		<tr>
218 5602 leinfelder
			<td colspan="5">Match All? <input type="checkbox" name="matchAll" checked="checked"/></td>
219 5509 leinfelder
		</tr>
220
		<tr>
221 5602 leinfelder
			<td colspan="5">From same Observation? <input type="checkbox" name="strict"/></td>
222 5509 leinfelder
		</tr>
223
		<tr>
224 5602 leinfelder
			<td colspan="5"><input type="submit" value="Search"/></td>
225 5509 leinfelder
		</tr>
226 5602 leinfelder
	</table>
227
		<!--
228 5509 leinfelder
		<tr>
229 5602 leinfelder
			<td>Entity: (SBC only)</td>
230
			<td><input type="text" name="entity" class="bp_form_complete-1523-uri" size="100" /></td>
231 5509 leinfelder
		</tr>
232 5602 leinfelder
		 -->
233 5509 leinfelder
</form>
234
235 5602 leinfelder
<!--
236 5509 leinfelder
<h2>Ontology search</h2>
237
<div id="bp_quick_jump"></div>
238
<script type="text/javascript">
239
    var BP_ontology_id = "all";
240
</script>
241
<script src="<%=STYLE_SKINS_URL%>/semtools/bioportal/quick_jump.js" type="text/javascript" charset="utf-8">
242
</script>
243
244
<h2>Tree browser</h2>
245
246
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
247
	id="OntologyTree" width="300" height="100%"
248
	codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
249
	<param name="movie" value="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" />
250
	<param name="quality" value="high" />
251
	<param name="bgcolor" value="#ffffff" />
252
	<param name="allowScriptAccess" value="always" />
253
	<param name="flashVars" value="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true" />
254
	<embed src="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" quality="high" bgcolor="#ffffff"
255
		width="300" height="100%" name="OntologyTree" align="middle"
256
		play="true"
257
		loop="false"
258
		allowScriptAccess="always"
259
		type="application/x-shockwave-flash"
260
		flashVars="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true"
261
		pluginspage="http://www.adobe.com/go/getflashplayer">
262
	</embed>
263
</object>
264 5602 leinfelder
-->
265 5509 leinfelder
266
<!-- Included default search/login -->
267
<% if ( PropertyService.getProperty("spatial.runSpatialOption").equals("true") ) { %>
268
<script language="javascript">
269
	insertMap("<%=CONTEXT_URL%>");
270
</script>
271
<br/>
272
<% } %>
273
274
<script language="javascript">
275
	insertSearchBox("<%=CONTEXT_URL%>");
276
	insertLoginBox("<%=CONTEXT_URL%>");
277
</script>
278
279 5574 leinfelder
</div>
280
281 5509 leinfelder
<script language="javascript">
282
	insertTemplateClosing("<%=CONTEXT_URL%>");
283
</script>
284
285 5385 leinfelder
</body>
286
</html>