# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. Knowtator XML Files ------------------- Some examples of how knowtator represents relations and entity categories in XML files are shown below. Looking at these examples can be useful for understanding the code of the gold annotation reader. 1. Entity and entity type representation ... james masanz, mayo clinic sore throat Thu Oct 14 22:39:26 MDT 2010 ... Sign_Symptom 2. Relation representation 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 ...