Project

General

Profile

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-09-22 10:59:28 -0700 (Wed, 22 Sep 2010) $'
10
 * '$Revision: 5574 $'
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
<div id="content_wrapper">
57

    
58
<h2>Annotation-based search</h2>
59

    
60
<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
	<input name="action" value="semquery" type="hidden" />
64

    
65
	<table>
66
		<tr>
67
			<td>
68
				<select name="dynamicClass" id="dynamicClass">
69
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity" selected="selected">Entity</option>
70
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
71
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
72
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
73
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
74
				</select>
75
			</td>
76
			<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
77
		</tr>
78
		<tr>
79
			<td>
80
				<select name="dynamicClass" id="dynamicClass">
81
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
82
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic" selected="selected">Characteristic</option>
83
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
84
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
85
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
86
				</select>
87
			</td>
88
			<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
89
		</tr>
90
		<tr>
91
			<td>
92
				<select name="dynamicClass" id="dynamicClass">
93
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
94
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
95
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard" selected="selected">Standard</option>
96
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
97
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
98
				</select>
99
			</td>
100
			<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
101
		</tr>
102
		<tr>
103
			<td>
104
				<select name="dynamicClass" id="dynamicClass">
105
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
106
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
107
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
108
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol" selected="selected">Protocol</option>
109
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement">Measurement</option>
110
				</select>
111
			</td>
112
			<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
113
		</tr>
114
		<tr>
115
			<td>
116
				<select name="dynamicClass" id="dynamicClass">
117
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity">Entity</option>
118
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic">Characteristic</option>
119
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Standard">Standard</option>
120
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol">Protocol</option>
121
					<option value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement" selected="selected">Measurement</option>
122
				</select>
123
			</td>
124
			<td><input type="text" name="dynamicValue" id="dynamicValue" class="bp_form_complete-all-uri" size="100" /></td>
125
		</tr>
126
		<!-- 
127
		<tr>
128
			<td>Entity: (SBC only)</td>
129
			<td><input type="text" name="entity" class="bp_form_complete-1523-uri" size="100" /></td>
130
		</tr>
131
		 -->
132
		<tr>
133
			<td colspan="2">Match All? <input type="checkbox" name="matchAll" checked="checked"/></td>
134
		</tr>
135
		<tr>
136
			<td colspan="2">From same Observation? <input type="checkbox" name="strict"/></td>
137
		</tr>
138
		<tr>
139
			<td colspan="2"><input type="submit" value="Search"/></td>
140
		</tr>
141
	</table>
142
</form>
143

    
144
<h2>Ontology search</h2>
145
<div id="bp_quick_jump"></div>
146
<script type="text/javascript">
147
    var BP_ontology_id = "all";
148
</script>
149
<script src="<%=STYLE_SKINS_URL%>/semtools/bioportal/quick_jump.js" type="text/javascript" charset="utf-8">
150
</script>
151

    
152
<h2>Tree browser</h2>
153

    
154
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
155
	id="OntologyTree" width="300" height="100%"
156
	codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
157
	<param name="movie" value="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" />
158
	<param name="quality" value="high" />
159
	<param name="bgcolor" value="#ffffff" />
160
	<param name="allowScriptAccess" value="always" />
161
	<param name="flashVars" value="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true" />
162
	<embed src="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" quality="high" bgcolor="#ffffff"
163
		width="300" height="100%" name="OntologyTree" align="middle"
164
		play="true"
165
		loop="false"
166
		allowScriptAccess="always"
167
		type="application/x-shockwave-flash"
168
		flashVars="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true"
169
		pluginspage="http://www.adobe.com/go/getflashplayer">
170
	</embed>
171
</object>
172

    
173
<!-- Included default search/login -->
174
<% if ( PropertyService.getProperty("spatial.runSpatialOption").equals("true") ) { %>
175
<script language="javascript">
176
	insertMap("<%=CONTEXT_URL%>");
177
</script>
178
<br/>
179
<% } %>
180
  
181
<script language="javascript">
182
	insertSearchBox("<%=CONTEXT_URL%>");
183
	insertLoginBox("<%=CONTEXT_URL%>");	
184
</script>
185

    
186
</div>
187

    
188
<script language="javascript">
189
	insertTemplateClosing("<%=CONTEXT_URL%>");
190
</script>
191

    
192
</body>
193
</html>
(5-5/14)