
DESIGN OF A STANDOFF OBJECT-ORIENTED MARKUP LANGUAGE (SOOML) FOR ANNOTATING BIOMEDICAL LITERATURE Jing Ding, Daniel Berleant Department of Electrical & Computer Engineering, Iowa State University, Ames, IA, USA Email: [email protected], [email protected] Keywords: text mining, markup language, bioinformatics Abstract: With the rapid growth of electronically available scientific literature, text mining is attracting increasing attention. While numerous algorithms, tools, and systems have been developed for extracting information from text, little effort has been focused on how to mark up the information. We present the design of a standoff, object-oriented markup language (called SOOML), which is simple, expressive, flexible, and ex- tensible, satisfying the demanding needs of biomedical text mining. 1 INTRODUCTION 2 MOTIVATION OF THE WORK With the rapid growth of electronically available Annotation structures in bioinformatics text mining biomedical literature, information extraction from can be complex, as illustrated in Fig. 1. In the figure, unrestricted text is attracting increasing attention. we wish to annotate three entities, protein kinase C While numerous algorithms and tools have been alpha isoform, protein kinase C beta isoform and Akt. developed for extracting the information, little effort The surface strings of the first two entities not only has been focused on markup methodology, i.e., how contain gaps, but also overlap with each other. There to annotate and manage the extracted information. are also two events in the sentence fragment. The Among the most intuitive solutions are inline XML1 events and the entities have hierarchical relation- markup, as in the GENIA corpus (Kim et al., 2003) ships. For instance, entity[3] plays a role in event[a]; or the Medstract Gold Standards Corpora2. Although and event[a] itself plays a role in event[b]. This com- straightforward, inline markup is not sufficient for plexity poses demanding requirements for a markup dealing with complex annotation structures, nor does language. it cope well with other issues such as copyright and annotation reuse, etc. We propose a standoff object- 2.1 Annotation requirements oriented markup language (SOOML) and present its design. The design is based on software engineering principles and intended to meet the challenging Expressiveness: Complex annotation structures needs of text mining annotations. (gaps, overlaps, and hierarchies, etc.) can be ex- pressed easily and intuitively. In section 2, we analyze the requirements of text Resolution: In many text-mining applications, it mining annotations and review existing markup methodologies. Section 3 describes the concepts and is important to show where the extracted information is in the original text. The required resolution varies. mechanisms in the design of SOOML. A brief dis- cussion of how the design meets the requirements is Reusability: The language must be able to sup- presented in section 4. port annotation reuse–i.e., annotating annotated text. Independence of availability: The availability of annotations should not be restricted by the copy- 1 http://www.w3.org/XML rights on the original documents. 2 http://medstract.org/gold-standards.html Hierarchy event[b] Gap/Overlap event[a] entity[1] entity[2] entity[3] … protein kinase C (PKC) alpha, but not beta, isoform inhibited Akt phosphorylation… Figure 1. Sample annotations in biomedical domain. Flexibility: The language should adapt well to tags, and edges the text enclosed in tag pairs. Hence, various text formats and annotation needs. AG has the same limited expressive power as inline Efficiency: It should be time and space efficient XML. in storing, retrieving and processing annotations. The XPointer framework6 is a W3C standard for Extensibility: The language should be easily ex- identifying text fragments in XML files. Two tensible to incorporate biomedical ontologies (e.g., mechanisms (XPath7 and string matching) are used UMLS3, and Gene Ontology4). in XPointer for different resolutions. XPath is for identifying text nodes (text fragments, such as titles 2.2 Existing works or abstracts in MEDLINE files). The string- matching mechanism is for locating exact words within a node. Together, they provide the resolution There are some initiatives to develop “standard” required by SOOML. However, XPointer has draw- annotated corpora in the bioinformatics field, nota- backs. First, XPointer expressions can be long and bly the GENIA corpus and the Medstract Gold Stan- complex. For example, the XPointer expression for dards Corpora. Both annotate MEDLINE5 abstracts entity[1] in Fig. 1 would be something like this: using in-line XML tags. In-line markup has some limitations: xpointer( • Gapped, overlapped or hierarchical structures string-range(//MedlineCitation[PMID=1234]//AbstractText, cannot be easily expressed. ‘protein kinase C’) | • Availability of the annotations may be restricted string-range(//MedlineCitation[PMID=1234]//AbstractText, by the copyright of the original document. ‘alpha’) | • In-line markup “contaminates” the original docu- string-range(//MedlineCitation[PMID=1234]//AbstractText, ments. The “contamination” complicates pipelined ‘isoform’)) processing, because later stages cannot see di- More than 200 characters are needed to describe the rectly the original text. original string of 29 characters. Another drawback is A solution to these limitations is standoff markup that ambiguity may arise if the matching string oc- (annotations stored separately from the original curs multiple times in a text node. To avoid the am- documents). With the standoff approach, the ques- biguity, the expression has to be longer and more tion arises as to how to map an annotation back to its complex. This complexity and inefficiency make original text. The annotation graph and W3C’s XPointer not an ideal match to the requirements. XPointer framework address the issue. The annotation graph (AG) is an abstraction of existing standoff annotation formats used by linguis- 3 DESIGN tic databases for textual and audio signals (Bird and Liberman, 1999). The signals are viewed as one- Since none of the existing systems mentioned above dimensional streams. An AG is a directed graph fully meets the requirements, we therefore designed with nodes representing time points or character a standoff object-oriented markup language positions in a stream and with edges representing the (SOOML), which defines one concept (monad) and text between two positions or audio content between four mechanisms (object orientation, standoff two time points. Annotations are labeled on the markup, annotation mapping, and annotation inclu- edges. Conceptually, AG is equivalent to inline sion). Please keep in mind that SOOML is not an- XML, with nodes corresponding to start and end other new member of the ever-growing xxML fam- 3 http://www.nlm.nih.gov/research/umls/ 4 http://www.geneontology.org/ 6 http://www.w3.org/TR/xptr-framework/ 5 http://www.ncbi.nlm.nih.gov/entrez/query.fcgi 7 http://www.w3.org/TR/xpath Token: …protein kinase C (PKC) alpha, but not beta, isoform inhibited Akt phosphorylation… Monad: … 12 13 14 15 16 17 18 19 20 21 22 23 … Figure 2. Monads tokenized at white space. ily, such as GPML (the schema used in the GENIA Annotation mapping. Annotation mapping is corpus) or SBML (Systems Biology Markup Lan- achieved at three levels: document, text node and guage) (Hucka et al., 2003). A typical xxML de- within a node. fines a set of XML tags (a small ontology) for a spe- 1. An annotation is mapped to its original document cific purpose, usually focusing on WHAT is marked using W3C’s URI (Uniform Resource Identifier) up. SOOML, on the other hand, is more interested addressing8. For example: in WHERE is the markup. Another important dif- ference is the relationship with XML. While those http://www.iastate.edu/~berleant/med35.xml xxMLs are all extensions to XML, SOOML has no ftp://www.pub.iastate.edu/users/index.htm direct connection with XML. It is a set of concepts file://c:\My Documents\manuscript\SOOML.txt and mechanisms, which can be implemented in 2. Within an XML document, text nodes are ad- XML syntax, C/Java-style syntax, or any other cus- dressed using XPath. For example, the following tom-made syntax. For simplicity, we will use Java- XPath expressions map to the title and the abstract, style syntax to show examples in the following sec- respectively, of the MEDLINE citation whose tions. PMID is 12345, in a given MEDLINE XML file: //MedlineCitation[PMID=12345]//ArticleTitle 3.1 The monad concept //MedlineCitation[PMID=12345]//AbstractText 3. Using the monad concept, mapping to a location The monad concept as used here is a variant of the within a node is trivial. It is done by simply list- concept with the same name in the text database ing the monads of an annotation. For example, field (Doedens, 1994). A stream of text is broken given the context in Fig. 2, some of the annota- down into atomic units (tokens) at specified delimit- tions in Fig. 1 may look like the following: ing characters (e.g., the space character). Integer context.file = <file address>; indexes are assigned to each token in the order of context.node = <node address>; text-flow. A monad is a token plus its assigned in- context.delimiters = “ ”; dex. Delimiters may be counted as monads or dis- context.includeDelimiters = no; carded. If no delimiter is specified, each character is entity[1] = {12, 13, 14, 16, 20}; a monad. Fig. 2 shows a list of monads tokenized at entity[2] = {12, 13, 14, 19, 20}; the space character with the delimiters discarded. entity[3] = {22}; The context of a monad is the underlying text event[a] = { actor1 = entity[3], stream (the text context) along with the delimiting action = {23}, character set and whether delimiters are included or actor2 = null}; discarded (the delimiting context). Thus, given a event[b] = { actor1 = entity[1], context, an integer is unambiguously mapped to a action = {21}, text token, and vice versa. actor2 = event[a]}; Annotation inclusion. An annotation file can 3.2 Mechanisms use annotation objects defined in other annotation files.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages4 Page
-
File Size-