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-01 14:19:49 -0700 (Wed, 01 Sep 2010) $'
10
 * '$Revision: 5535 $'
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>Ontology Management (Metacat)</h2>
57
<p>Ontologies should be registered in Metacat before they can be used in Annotation-based searches.</p>
58
<form method="POST" action="<%=SERVLET_URL%>" target="_top" id="registrationForm" name="registrationForm" ">
59
	<input name="qformat" value="semtools" type="hidden" />
60
	<table>
61
		<tr>
62
			<td>Action:</td>
63
			<td>
64
				<select name="action" id="action">
65
					<option value="registerOntology">Register Ontology</option>
66
					<option value="unregisterOntology">Unregister Ontology</option>
67
				</select>
68
			</td>
69
		</tr>
70
		<tr>
71
			<td>URI:</td>
72
			<td><input type="text" name="uri" id="uri" size="100" /></td>
73
		</tr>
74
		<tr>
75
			<td>URL:</td>
76
			<td><input type="text" name="url" id="url" size="100" /></td>
77
		</tr>
78
		<tr>
79
			<td colspan="2"><input type="submit" value="Submit"/></td>
80
		</tr>
81
	</table>
82
</form>
83

    
84
<h2>Ontology search (BioPortal)</h2>
85
<p>Ontologies can be located in BioPortal and then registered with Metacat. Use this search interface to find appropriate ontologies.</p>
86
<div id="bp_quick_jump"></div>
87
<script type="text/javascript">
88
    var BP_ontology_id = "all";
89
</script>
90
<script src="<%=STYLE_SKINS_URL%>/semtools/bioportal/quick_jump.js" type="text/javascript" charset="utf-8">
91
</script>
92

    
93
<h2>Tree browser (BioPortal)</h2>
94
<p>Explore existing ontologies</p>
95
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
96
	id="OntologyTree" width="300" height="100%"
97
	codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
98
	<param name="movie" value="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" />
99
	<param name="quality" value="high" />
100
	<param name="bgcolor" value="#ffffff" />
101
	<param name="allowScriptAccess" value="always" />
102
	<param name="flashVars" value="ontology=1523&alerterrors=false&canchangeontology=true&virtual=true" />
103
	<embed src="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" quality="high" bgcolor="#ffffff"
104
		width="300" height="100%" name="OntologyTree" align="middle"
105
		play="true"
106
		loop="false"
107
		allowScriptAccess="always"
108
		type="application/x-shockwave-flash"
109
		flashVars="ontology=1523&alerterrors=false&canchangeontology=true&virtual=true"
110
		pluginspage="http://www.adobe.com/go/getflashplayer">
111
	</embed>
112
</object>
113

    
114
<!-- Included default search/login -->
115
<% if ( PropertyService.getProperty("spatial.runSpatialOption").equals("true") ) { %>
116
<script language="javascript">
117
	insertMap("<%=CONTEXT_URL%>");
118
</script>
119
<br/>
120
<% } %>
121
  
122
<script language="javascript">
123
	insertSearchBox("<%=CONTEXT_URL%>");
124
	insertLoginBox("<%=CONTEXT_URL%>");	
125
</script>
126

    
127
<script language="javascript">
128
	insertTemplateClosing("<%=CONTEXT_URL%>");
129
</script>
130

    
131
</body>
132
</html>
(12-12/21)