14.06.2013 Views

Databases and Systems

Databases and Systems

Databases and Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

217<br />

Oper<strong>and</strong>s also include named sets, which can either be databank names (all entries<br />

from the databank of the given name) or results of previously evaluated queries. For<br />

instance the query:<br />

(temp=[embl-org:human])>SWISSPROT | temp > SWISSNEW<br />

defines a temporary set named “temp” <strong>and</strong> links it to two databanks named<br />

SWISSPROT [7] <strong>and</strong> SWISSNEW.<br />

If A <strong>and</strong> B are sets of entries of two linked databanks, the query “A>B” will return<br />

all the entries in the set B, which are linked to one or more entries in A. The link<br />

operation is antisymmetric, i.e. “A>B” is equivalent to “Bparent” will return all databank entries<br />

containing the subentries in S. Note that each different databank contains usually<br />

different types of data. In a certain way each databank behaves as an extent of a class<br />

in an object oriented databases. The link between two databanks has a different<br />

meaning depending on the databanks involved. For example, the query<br />

“SWISSPROT

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!