Can someone post a recipe for searching (within
Knowtator, so I presume that it would be a PAL axiom)
for a text string in comment fields? My specific need
is to be able to search in the comment fields that are
associated with text sources.
I'm not sure the best way to do this in Protege. PAL is not
really good at doing string search (in fact it is bad.) I
decided to write a very simple script that writes out the
text source comments to a file. You can search through
that. Sorry I don't have a more satisfactory answer!
Attached is CommentsWriter which takes two arguments:
1) the full path to your annotation/Protege project (.pprj file)
2) a path to you comments file
Double quote the arguments if you need to.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1052182
I'm not sure the best way to do this in Protege. PAL is not
really good at doing string search (in fact it is bad.) I
decided to write a very simple script that writes out the
text source comments to a file. You can search through
that. Sorry I don't have a more satisfactory answer!
Attached is CommentsWriter which takes two arguments:
1) the full path to your annotation/Protege project (.pprj file)
2) a path to you comments file
Double quote the arguments if you need to.