You can search for simple terms, like this:
which matches documents where "computer" occur. No attributes are
specified.
The query
matches documents where "knuth donald" occur (provided that the
server supports phrase search).
This query applies two attributes for the same phrase.
@attr 1=1003 @attr 4=1 "knuth donald"
First attribute is type 1 (Bib-1 use), attribute value is 1003
(Author).
Second attribute has is type 4 (structure), value 1 (phrase),
so this should match documents where Donald Knuth is author.
The query
@and @or a b @not @or c d e
would in infix notation look like
(a or b) and ((c or d) not
e).
Another, more complex, one:
@attrset gils @and @attr 1=4 art @attr 1=2000 company
The query as a whole uses the GILS attributeset. The query matches
documents where
art occur in the title (GILS,BIB-1)
and in which
company occur as Distributor (GILS).