![]() |
|||||||||||||
Querying - Extended Query Form
|
|||||||||||||
Extended Query Form
|
|||||||||||||
Use this page to define a query, using any of the datafields available for the databank(s) you have selected. You can specify any relationship between the datafields and define a view to display the results.
More about the Extended Query Form.
|
|||||||||||||
Extended Query Form - Tasks |
|||||||||||||
Create a QueryBefore using the query form you must already have selected the databanks you want to search.
Note:You can search many different data fields at a time using this form. You can also use Boolean operators (&, |, !) within a single field for more advanced searches. Tip:To find out more information about a data field, click its hyperlink. Tip:To use subentries in your search, choose one or more datafields of subentry type.
|
|||||||||||||
Extended Query Form - Worked Examples |
|||||||||||||
Create a QueryThis example demonstrates a search of the EMBL databank for entries having hydrogenase in the description field and Glycine max in the organism field that have been updated since Jan 1st 2002. They will be viewed using the default view. If you have not already done so, go to the Select Databanks To Search page (Select Databanks tab) and select the databank you want to search.
|
|||||||||||||
![]()
|
|||||||||||||
Figure 3.1 Extended Query Form showing a query of EMBL for entries with the word, hydrogenase, in the description field that refer to the organism, Glycine max (soybean) and that were added to the databank after January 1, 2002. Create a Subentry Query Using the Extended Query Form
Searching for Subentries which Reference Papers that are Co-authored by Smith & JonesNote:Some types of subentry search are not possible from the Extended Query Form, e.g. it does not allow you to search the same field using two separate text boxes as you can using the Standard Query Form. You may also find it useful to look at the examples of how to use subentries on the Standard Query Form. If you have not already done so, go to the Select Databanks To Search page, select a databank to search, e.g. SWISS-PROT.
|
|||||||||||||
![]()
|
|||||||||||||
Figure 3.2 Part of the Extended Query Form showing a query for subentries, using the Reference:Authors fields.
Figure 3.3 Choosing whether to retrieve entire entries or the Reference subentries.
|
|||||||||||||
Extended Query Form - FAQs |
|||||||||||||
Search for More Than One TermIf you want to search for more than one term using different fields, simply use each of the appropriate text boxes on the form and enter your search terms beside them. Alternatively, if you want to search for more than one thing within any particular field, you can use the boolean operators (&, |, !) to combine two or more entries within a given text box. This is particularly useful for subentries.
Search for a PhraseEnter your phrase within a single text box.
How Do I Define How My Search Terms are Combined?Use the Boolean operators in the Combine search terms with drop-down list to combine terms in separate rows. Alternatively, type them into the text boxes between your search terms. The available operators are:
Multiple terms can be combined using brackets, e.g. to search for entries whose Organism Name field contains rat or mouse, but not bovine, you could type: (rat | mouse) ! bovine
|
|||||||||||||
Extended Query Form - Reference |
|||||||||||||
![]()
|
|||||||||||||
Figure 3.4 Extended Query Form. Getting to the Extended Query FormThis page can be reached by any of the following methods:
Using the Extended Query Form - Options Area
Search
This shows a list of the databanks that will be searched when the query is submitted. The databanks to be searched are selected from the Select Databanks To Search page.
Submit Query
When you have defined your query, click the
Use WildcardsBy default this box is ticked and wildcards are appended to all search words automatically. If wildcards are not to be appended, untick the check box.
Combine Search Terms WithThe query terms will have a relationship with each other that is either inclusive or exclusive. Using the drop-down list you can choose the way your search terms are combined.
Number of Entries to Display per PageThis drop-down list allows you to specify the maximum number of entries to be listed per page of results. When the number of entries is greater than this value, entries will be spread over two or more pages.
StandardThe Standard Query Form link takes you to the Standard Query Form to continue your query without having to reselect the databank(s).
Make Default Query PageThis option can be ticked to make the Extended Query Form into the default used for queries. Making this the default Query Form means that if you click on the Query tab, the Extended Query Form is used, rather than the Standard Query Form. You will need to submit a query, etc., for this to take effect.
Using the Extended Query Form - Data Area
Use ViewA predefined view can be used to display the results of a search. This is chosen using the drop-down list, which contains the built-in views, and any views created during the current project. (See also View Manager page 1 and View Manager page 2.)
Sequence FormatYou can choose the sequence format with which to display the results from the drop-down list.
Submit Query
When you have defined your query, click the
Field NameThe left-hand side of the Data Area contains a list of datafields that can be searched. You can choose the datafield(s) you wish to search simply by entering text in the text box beside any datafield(s) you wish to search. The names are also hyperlinks to the Field Information page for each datafield.
QueryEnter the search term in the text box to the right of each datafield you wish to search. You may search for more than one term in each text box, using the operators, & (AND), | (OR) and ! (BUTNOT), to indicate how the terms should be related. Any text box left empty will be ignored in the search.
Create ViewTick the check box beside any datafield(s) you want to include on the Query Result page. It is not necessary for a query to be made against a datafield for it to be included in the results page. The drop-down list allows you to choose whether the results are displayed using a table or list view.
Submit Query
When you have defined your query, click one of the
Fields of Subentry:These headings tell you what types of subentry are available. Typical fields include reference, comment, feature and counter. Any of these can be searched. See also "Subentries" in chapter 3, "Querying with SRS", of the SRS User Guide
RetrieveThis option relates to the fields of subentry. It allows you to choose whether to retrieve the complete entry, or just the subentries. See also "Subentries" in chapter 3, "Querying with SRS", of the SRS User Guide
Other Information
|
|||||||||||||
![]() |