[protege-user] Attribute search with 'AND' condition

Eric Hwang via protege-user <[email protected]>
Newsgroups gmane.comp.misc.ontology.protege.owl
Message-ID <IA1PR10MB6735FAD8F6F6BC642C008CFFB074A@IA1PR10MB6735.namprd10.prod.outlook.com>
I am currently using Desktop Protégé v5.6.4 and would like to perform an 'AND' search on an entity's annotation. For example, if I have 2 attributes: "ATTR_A" and "ATTR_B", I would like to retrieve all instances of entities where ATTR_A has value of ABC and ATTR_B has value of XYZ.

Using the Search dialog, I checked:
- Regular Expression
- Show all results
- Search in annotation value

If I use this search string for ATTR_A, I can see a list of results:
(?=ATTR_A.ABC)

Same for ATTR_B:
(?=ATTR_B.XYZ)

However, if I try to combine these 2 statements, I am not able to get any results. I've tried:
(?=ATTR_A.ABC) (?=ATTR_B.XYZ)
(?=ATTR_A.ABC)AND (?=ATTR_B.XYZ)
(?=ATTR_A.ABC) &&(?=ATTR_B.XYZ)

Am I doing something wrong here? Any help would be greatly appreciated.

Thanks,
Eric

[Oracle]<http://www.oracle.com/>
Eric Y. Hwang, MD
Physician Informaticist
Mobile: 303-325-6585
[email protected]<mailto:[email protected]>

_______________________________________________
protege-user mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/protege-user
image001.png (image/png, 2.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.