-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Is there a way of putting in a NOT operator in a query?
For example, let's say I want to retrieve a list of all entries which does not have any instance of _Entity.Polymer_type'='polyribonucleotide'.
Is it possible to do something like: search/get_id_by_tag_value/_Entity.Polymer_type/[!]polyribonucleotide
Also, what would be the recomended way of retrieveing a list of ALL entries where ALL entities have, let's say, _Entity.Polymer_type'='polyribonucleotide'? Is there some kind of search operator/switch for that?
If not how would one get a list of all possible values for the _Entity.Polymer_type tag? I assume you would use the Get tag enumerations (GET) query. I guess one could then take the union between all the sets of entries where _Entity.Polymer_type is what you don't want it to be, and then take the assymetric difference between (a), this union set, and (b), the set of entries which contain at least one entity with 'polyribonucleotide'. Or is there a faster and more efficient way?
I think I have read through the README/docs here, but I might have missed something on http://www.bmrb.wisc.edu. Appologies if that is the case.