Knowtator XML Files
-------------------
Some examples of how knowtator represents relations and entity categories in XML files will be shown below.
Looking at these examples can be useful for understanding the code of the collection reader.
********** Entity and Entity Types **********
...
james masanz, mayo clinic
sore throat
Thu Oct 14 22:39:26 MDT 2010
...
Sign_Symptom
********** Relations **********
E.g. "soar throat" co_occurs_with "headache"
To find relations and their argument, need to find classMention(s)
that have two hasSlotMention(s), which in turn lead to the actual arguments.
james masanz, mayo clinic
sore throat
Thu Oct 14 22:39:26 MDT 2010
james masanz, mayo clinic
headache
Thu Oct 14 22:39:28 MDT 2010
...
CU annotator ,
Wed Oct 27 21:45:39 MDT 2010
...
co_occurs_with
...
*******************************
In the example above, Relations_Sept21_Schema_Instance_30350 and
Relations_Sept21_Schema_Instance_30340 become relation arguments
and the key of the relation index hash table (kid1-kid2).