Syntax
of queries is:
The syntax for query strings is as follows: A Query is a series of clauses.
A clause may be prefixed by:
+) or a
minus (-)
sign, indicating that the clause is required or prohibited respectively;
or A clause may be either a:
+/- prefix
to require any of a set of terms. Thus, in BNF, the query grammar is:
Query ::= ( Clause )* Clause ::= ["+", "-"] [ ":"] ( | "(" Query ")" )
There are two ways to search. The first way, you enter search terms in the
query field and specify where you want to search by selecting one or more of
the "My CMaps", "Web" or Places check boxes. The search
will be run in all places selected. The second way, you select one or more
concepts in a CMap window, and right click on one of them. Select where you
want to search from the "Search" menu item and release. When the
search results appear you can double click them to display the resource or web
page found. You can also modify the query and submit it again by clicking on
the "Search" button. Most of the time, you will simply type a set of
words you are interested in or select a concept or group of concepts from a
cmap and right-click on them to start the search:
"plant root green"
This searches for the words in the concepts, title, and description of the
resource.
If you want to limit the search to a particular field in the index, you can specify that field as part of your query. The syntax looking for concept nodes called "plant" would look like: "concepts:plant" or extended like: "concepts:plant root green"
Remember that if the word "plant" appears in the description of the
resource, the above query will not retrieve it. You can also combine searches
in different fields:
"concepts:plant links:"found in" image:x"
This query will look for concepts OR resources with "found
in" links, OR images. Those with all three will be at the top of
the list found. To make sure that all three search criteria are present in the
returned search results, we modify the query to look like this:
"+(concepts:plant) +(links:"found in") +(image:x)"
Here are the list of fields that are
currently being used in the index.
These fields tell how the resource is used, either including or included in
another resource:
These fields will not generally be useful for queries because they relate to
internal ways the resources are stored.