Project

General

Profile

1
<!--
2
  *  '$RCSfile$'
3
  *      Authors: Matt Jones
4
  *    Copyright: 2000 Regents of the University of California and the
5
  *               National Center for Ecological Analysis and Synthesis
6
  *  For Details: http://www.nceas.ucsb.edu/
7
  *
8
  *   '$Author: sgarg $'
9
  *     '$Date: 2005-11-01 09:14:27 -0800 (Tue, 01 Nov 2005) $'
10
  * '$Revision: 2704 $'
11
  * 
12
  * This is an HTML document for displaying metadata catalog tools
13
  *
14
  * This program is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
16
  * the Free Software Foundation; either version 2 of the License, or
17
  * (at your option) any later version.
18
  *
19
  * This program is distributed in the hope that it will be useful,
20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
  * GNU General Public License for more details.
23
  *
24
  * You should have received a copy of the GNU General Public License
25
  * along with this program; if not, write to the Free Software
26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
-->
28
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29
<html>
30
<head>
31
<title>NCEAS Data Repository</title>
32
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css">
33
  <link rel="stylesheet" type="text/css" 
34
        href="@systemidserver@@style-skins-path@/nceas/nceas.css"></link>
35
  <script language="JavaScript" type="text/JavaScript"
36
          src="@systemidserver@@style-skins-path@/nceas/nceas.js"></script>
37
  <script language="JavaScript" type="text/JavaScript"
38
          src="@systemidserver@@style-common-path@/branding.js"></script>
39
  <script language="Javascript">
40
        function trim(stringToTrim) {
41
                return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
42
        }
43

    
44
        function checkSearch(submitFormObj) {
45
                var searchString = trim(submitFormObj.searchstring.value);
46
 		var checkBox = document.getElementById("searchAll");
47

    
48
                if (searchString=="") {
49
			if (confirm("Show *all* data in the KNB?")) {
50
          			searchString = "%";
51
        		} else {
52
          			return false;
53
        		}
54
                }
55

    
56
                if(!checkBox.checked && searchString!="%"){
57
                        submitFormObj.query.value = "<pathquery version=\"1.2\">"
58
                                                           +"<querytitle>Web-Search</querytitle>"
59
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
60
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"
61
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>"
62
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>"
63
                                                           +"<returndoctype>-//NCEAS//resource//EN</returndoctype>"
64
                                                           +"<returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>"
65
                                                           +"<returnfield>originator/individualName/surName</returnfield>"
66
                                                           +"<returnfield>originator/individualName/givenName</returnfield>"
67
                                                           +"<returnfield>creator/individualName/surName</returnfield>"
68
                                                           +"<returnfield>creator/individualName/givenName</returnfield>"
69
                                                           +"<returnfield>originator/organizationName</returnfield>"
70
                                                           +"<returnfield>creator/organizationName</returnfield>"
71
                                                           +"<returnfield>dataset/title</returnfield>"
72
                                                           +"<returnfield>keyword</returnfield>"
73
                                                           +"<querygroup operator=\"INTERSECT\">"
74
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
75
                                                                        +"<value>National Center for Ecological Analysis and Synthesis</value>"
76
                                                                        +"<pathexpr>organizationName</pathexpr>"
77
                                                                +"</queryterm>"
78
                                                                +"<querygroup operator=\"UNION\">"
79
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
80
                                                                                +"<value>" + searchString + "</value>"
81
                                                                                +"<pathexpr>surName</pathexpr>"
82
                                                                        +"</queryterm>"
83
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
84
                                                                                +"<value>" + searchString + "</value>"
85
                                                                                +"<pathexpr>givenName</pathexpr>"
86
                                                                        +"</queryterm>"
87
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
88
                                                                                +"<value>" + searchString + "</value>"
89
                                                                                +"<pathexpr>keyword</pathexpr>"
90
                                                                        +"</queryterm>"
91
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
92
                                                                                +"<value>" + searchString + "</value>"
93
                                                                         +"<pathexpr>para</pathexpr>"
94
                                                                        +"</queryterm>"
95
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
96
                                                                                +"<value>" + searchString + "</value>"
97
                                                                                +"<pathexpr>geographicDescription</pathexpr>"
98
                                                                        +"</queryterm>"
99
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
100
                                                                                +"<value>" + searchString + "</value>"
101
                                                                                +"<pathexpr>literalLayout</pathexpr>"
102
                                                                        +"</queryterm>"
103
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
104
                                                                                +"<value>" + searchString + "</value>"
105
                                                                                +"<pathexpr>abstract/para</pathexpr>"
106
                                                                        +"</queryterm>"
107
                                                                +"</querygroup>"
108
                                                          +"</querygroup>"
109
                                                  +"</pathquery>";
110
                } else {
111
                        queryTermString = "";
112
                        if(searchString != "%"){
113
                                queryTermString = "<queryterm searchmode=\"contains\" casesensitive=\"false\">"
114
                                                        +"<value>" + searchString + "</value>"
115
                                                 +"</queryterm>";
116
                        }
117
                        submitFormObj.query.value = "<pathquery version=\"1.2\">"
118
                                                           +"<querytitle>Web-Search</querytitle>"
119
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
120
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"
121
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>"
122
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>"
123
                                                           +"<returndoctype>-//NCEAS//resource//EN</returndoctype>"
124
                                                           +"<returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>"
125
                                                           +"<returnfield>originator/individualName/surName</returnfield>"
126
                                                           +"<returnfield>originator/individualName/givenName</returnfield>"
127
                                                           +"<returnfield>creator/individualName/surName</returnfield>"
128
                                                           +"<returnfield>creator/individualName/givenName</returnfield>"
129
                                                           +"<returnfield>originator/organizationName</returnfield>"
130
                                                           +"<returnfield>creator/organizationName</returnfield>"
131
                                                           +"<returnfield>dataset/title</returnfield>"
132
                                                           +"<returnfield>keyword</returnfield>"
133
                                                           +"<querygroup operator=\"INTERSECT\">"
134
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
135
                                                                        +"<value>National Center for Ecological Analysis and Synthesis</value>"
136
                                                                        +"<pathexpr>organizationName</pathexpr>"
137
                                                                +"</queryterm>"
138
                                                                + queryTermString
139
                                                           +"</querygroup>"
140
                                                    +"</pathquery>";
141

    
142
                }
143
                return true;
144
        }
145

    
146
        function searchAll(){
147
                var checkBox = document.getElementById("searchCheckBox");
148
                if(checkBox.checked == true){
149
                        alert("You have selected to search all possible existing fields. This search will take longer.");
150
                }
151
        }
152
   </script>
153
</head>
154
<body>
155
      <script language="JavaScript">
156
          insertTemplateOpening();
157
          insertSearchBox();
158
      </script>
159
<table width="760" border="0" cellspacing="0" cellpadding="0">
160
  <tr><td colspan="5">
161
<p>
162
Welcome to the NCEAS Data Repository. This repository contains information 
163
about the research data sets collected and collated within or under the 
164
auspices of NCEAS' funded activities. A number of these data sets were
165
synthesized from multiple data sources that originated from the efforts
166
of many contributors, while others originated from a single investigator.
167
Credit for the data sets in this repository goes to the investigators who
168
collected the data, and also to the NCEAS working groups and scientists who
169
compiled the data for synthetic purposes. See each data package for a list
170
of the people and institutions involved.
171
</p>
172
<p>&nbsp;</p>
173
<p>Data documentation (metadata) can be contributed to the repository in 
174
several ways, each with its own strengths.  The 
175
<a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">Register a New Data Set</a>
176
web form is a simple way to get started with providing metadata about the
177
existence of a data set.  But it can not be used for fully documenting the
178
data, nor can you upload the data objects themselves through this form.
179
In order to provide a more complete description of data, we recommend using the
180
<a href="http://knb.ecoinformatics.org/morphoportal.jsp" target="_top">Morpho</a> 
181
software application which is fully compatible with this repository.
182
</p>
183
<p>&nbsp;</p>
184
<p><b>Repository Tools</b></p>
185
<p>
186
<menu>
187
<li><span class="searchbox"><a name="search"> Search for Data Sets</a></span><br />
188
    <menu>
189
<form method="POST" action="@servlet-path@" target="_top" onSubmit="return checkSearch(this)">
190
  <input value="UNION" name="operator" type="hidden">
191
  &nbsp;<input size="14" name="searchstring" type="text" value="" id="searchBox">
192
  <input name="query" type="hidden"/>
193
  <input name="qformat" value="nceas" type="hidden">
194
  <input name="enableediting" value="true" type="hidden">
195
  <input type="hidden" name="action" value="squery">
196
  <input value="Search" type="submit">
197
</form>
198
<form>
199
<input name="search" type="radio" checked><span class="text_plain"> Search Title, Abstract, Keywords, Personnel (Quicker)</span></input><br>
200
<input name="search" type="radio" id="searchAll"><span class="text_plain"> Search all fields (Slower)</span></input><br>
201
</form>
202
   <br><br>
203
      This tool allows you to search the registry for data
204
      sets of interest. When you type text in the box and
205
      click on the "Search" button, the search will only
206
      be conducted within the title, author, abstract,
207
      and keyword fields. Checking the "Search All Fields"
208
      box will search on these and all other existing
209
      fields (this search will take more time).
210
     <br><br>
211
      You can use the '%' character as a wildcard in your
212
      searches (e.g., '%biodiversity%' would locate any
213
      phrase with the word biodiversity embedded within it).
214
      </menu>
215
    <br><br>
216
  </li>
217

    
218
  <li><a href="@servlet-path@?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;organizationName=National%20Center%20for%20Ecological%20Analysis%20and%20Synthesis&amp;qformat=nceas&amp;enableediting=true&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returnfield=dataset/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName">Browse existing NCEAS data sets</a><br />
219
    <menu>
220
      The repository search system is used to locate data sets of interest
221
      by searching through existing registered data sets.  
222
      Presently the search covers all fields, including
223
      author, title, abstract, keywords, and other documentation
224
      for each data set.  (More sophisticated search capabilities, 
225
      including boolean field searches, will be available in future.)
226
    </menu>
227
  </li>
228
  <p>&nbsp;</p>
229
  <li><a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">Register a new NCEAS data set</a><br />
230
    <menu>
231
      The registration page is used to submit information about a <b>new</b>
232
      data set associated with NCEAS research.  The documentation about the
233
      data set will be reviewed and then submitted to the repository.
234
    </menu>
235
  </li>
236
</menu>
237
</p>
238
<p>&nbsp;</p>
239
<p>
240
This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National 
241
Center for Ecological Analysis and Synthesis (NCEAS)</a> and
242
is based on software developed by the
243
<a href="http://knb.ecoinformatics.org">Knowledge Network for 
244
Biocomplexity (KNB)</a>, and houses metadata that are compliant with 
245
<a href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata 
246
Language (EML)</a>.
247
</p>
248
<p>
249
If you have any questions, comments or problems regarding this form, please 
250
contact the repository administrator at 
251
<a href="mailto:help@nceas.ucsb.edu">help@nceas.ucsb.edu</a>.
252
</p>
253
  </td></tr>
254
</table>
255
<p>&nbsp;</p>
256
<script language="JavaScript">          
257
    insertTemplateClosing();
258
</script>
259
</body>
260
</html>
(2-2/8)