<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.bioontology.org//mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cyoun</id>
	<title>NCBO Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.bioontology.org//mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cyoun"/>
	<link rel="alternate" type="text/html" href="https://www.bioontology.org//wiki/Special:Contributions/Cyoun"/>
	<updated>2026-06-05T12:17:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_2.3_Release_Notes&amp;diff=9755</id>
		<title>BioPortal 2.3 Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_2.3_Release_Notes&amp;diff=9755"/>
		<updated>2010-02-24T21:04:59Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* New features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== New features == &lt;br /&gt;
* BioPortal will process SKOS labels for preferred names and synonyms:&lt;br /&gt;
** The following is the default property for synonyms: http://www.w3.org/2004/02/skos/core#altLabel&lt;br /&gt;
** The following is the default property for preferred name: http://www.w3.org/2004/02/skos/core#prefLabel (rdfs:label otherwise)&lt;br /&gt;
* Ontologies used by Annotator &amp;amp; Hierarchy services will now be updated on a regular basis (around every week).&lt;br /&gt;
* The filtering of annotation by semantic types is available only for the ontologies which provide that information&lt;br /&gt;
* The Annotator scoring function has changed a bit. &lt;br /&gt;
* Users can now exclude the annotations created with synonym terms. &lt;br /&gt;
* Users can now exclude the annotations less than a certain length. &lt;br /&gt;
* There is a change in the concept XML returned by the Annotator service. Please note that the &amp;lt;semanticTypeBean&amp;gt; information is presented differently in &amp;lt;concept&amp;gt;. The Get all terms REST service is also affected.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;concept&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;2357621&amp;lt;/id&amp;gt;&lt;br /&gt;
        &amp;lt;localConceptId&amp;gt;40399/CDR0000038833&amp;lt;/localConceptId&amp;gt;&lt;br /&gt;
        &amp;lt;localOntologyId&amp;gt;40399&amp;lt;/localOntologyId&amp;gt;&lt;br /&gt;
        &amp;lt;isTopLevel&amp;gt;0&amp;lt;/isTopLevel&amp;gt;&lt;br /&gt;
        &amp;lt;preferredName&amp;gt;melanoma&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
        &amp;lt;synonyms&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;Skin cancer, melanoma&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;melanoma, cutaneous&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;cutaneous melanoma&amp;lt;/string&amp;gt;&lt;br /&gt;
        &amp;lt;/synonyms&amp;gt;&lt;br /&gt;
        &amp;lt;semanticTypes&amp;gt;&lt;br /&gt;
                &amp;lt;semanticTypeBean&amp;gt;&lt;br /&gt;
                        &amp;lt;id&amp;gt;3410411&amp;lt;/id&amp;gt;&lt;br /&gt;
                        &amp;lt;semanticType&amp;gt;T191&amp;lt;/semanticType&amp;gt;&lt;br /&gt;
                        &amp;lt;description&amp;gt;Neoplastic Process&amp;lt;/description&amp;gt;&lt;br /&gt;
                &amp;lt;/semanticTypeBean&amp;gt;&lt;br /&gt;
                &amp;lt;semanticTypeBean&amp;gt;&lt;br /&gt;
                        &amp;lt;id&amp;gt;3410007&amp;lt;/id&amp;gt;&lt;br /&gt;
                        &amp;lt;semanticType&amp;gt;T999&amp;lt;/semanticType&amp;gt;&lt;br /&gt;
                        &amp;lt;description&amp;gt;NCBO BioPortal concept&amp;lt;/description&amp;gt;&lt;br /&gt;
                &amp;lt;/semanticTypeBean&amp;gt;&lt;br /&gt;
        &amp;lt;/semanticTypes&amp;gt;&lt;br /&gt;
&amp;lt;/concept&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* There is a change in the mapping context XML returned by the Annotator service. &amp;lt;term&amp;gt;, &amp;lt;from&amp;gt;, &amp;lt;to&amp;gt; information has been added.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;context class=&amp;quot;mappingContextBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;contextName&amp;gt;MAPPING&amp;lt;/contextName&amp;gt;&lt;br /&gt;
        &amp;lt;isDirect&amp;gt;false&amp;lt;/isDirect&amp;gt;&lt;br /&gt;
        &amp;lt;term&amp;gt;&lt;br /&gt;
                &amp;lt;name&amp;gt;Melanoma&amp;lt;/name&amp;gt;&lt;br /&gt;
                &amp;lt;localConceptId&amp;gt;42331/Melanoma&amp;lt;/localConceptId&amp;gt;&lt;br /&gt;
                &amp;lt;isPreferred&amp;gt;1&amp;lt;/isPreferred&amp;gt;&lt;br /&gt;
                &amp;lt;dictionaryId&amp;gt;3&amp;lt;/dictionaryId&amp;gt;&lt;br /&gt;
        &amp;lt;/term&amp;gt;&lt;br /&gt;
        &amp;lt;from&amp;gt;1&amp;lt;/from&amp;gt;&lt;br /&gt;
        &amp;lt;to&amp;gt;8&amp;lt;/to&amp;gt;&lt;br /&gt;
        &amp;lt;mappedConceptId&amp;gt;42331/Melanoma&amp;lt;/mappedConceptId&amp;gt;&lt;br /&gt;
        &amp;lt;mappingType&amp;gt;Automatic&amp;lt;/mappingType&amp;gt;&lt;br /&gt;
&amp;lt;/context&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* There is a change in the XML returned by the /obs/ontologies service. The ontologyBean now includes the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ontologyBean&amp;gt;&lt;br /&gt;
	&amp;lt;id&amp;gt;3&amp;lt;/id&amp;gt; &lt;br /&gt;
	&amp;lt;localOntologyId&amp;gt;40571&amp;lt;/localOntologyId&amp;gt; &lt;br /&gt;
	&amp;lt;name&amp;gt;Electrocardiography Ontology&amp;lt;/name&amp;gt; &lt;br /&gt;
	&amp;lt;version&amp;gt;0.1.5&amp;lt;/version&amp;gt; &lt;br /&gt;
	&amp;lt;description /&amp;gt; &lt;br /&gt;
	&amp;lt;status&amp;gt;28&amp;lt;/status&amp;gt; &lt;br /&gt;
	&amp;lt;virtualOntologyId&amp;gt;1146&amp;lt;/virtualOntologyId&amp;gt; &lt;br /&gt;
	&amp;lt;format&amp;gt;OWL&amp;lt;/format&amp;gt; &lt;br /&gt;
&amp;lt;/ontologyBean&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* There is a change in the XML returned by the /obs/semanticTypes service. The semanticTypeBean now includes the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;semanticTypeBean&amp;gt;&lt;br /&gt;
	&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt; &lt;br /&gt;
	&amp;lt;semanticType&amp;gt;T000&amp;lt;/semanticType&amp;gt; &lt;br /&gt;
	&amp;lt;description&amp;gt;UMLS concept&amp;lt;/description&amp;gt; &lt;br /&gt;
&amp;lt;/semanticTypeBean&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* Users can now define target terminologies for RRF ontologies via the BioPortal UI.&lt;br /&gt;
* Referencing the tabs on ontology visualization pages in the BioPortal UI is now done using the tab name:&lt;br /&gt;
** http://bioportal.bioontology.org/visualize/40644#mappings&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to http://www.bioontology.org/wiki/index.php/Annotator_User_Guide for details on Annotator enhancements&lt;br /&gt;
&lt;br /&gt;
== New way to address UMLS ontologies ==&lt;br /&gt;
&lt;br /&gt;
We have harmonized the ontologies in the Annotator and BioPortal. The full list is available at: http://rest.bioontology.org/obs/ontologies. This change has implications when using the Annotator with UMLS ontologies.&lt;br /&gt;
* Currently, BioPortal (and, therefore, Annotator and Hierarchy services) can use 16 ontologies from UMLS. We will add UMLS ontologies to BioPortal on demand. Please send email to support@bioontology.org to request a specific UMLS ontology to be added to BioPortal. &lt;br /&gt;
* UMLS SAB is no longer valid as ontologyId. Please refer to http://bioportal.bioontology.org/ontologies/?filter=UMLS to map your SAB to the corresponding ontology version id. &lt;br /&gt;
* UMLS CUIs are no longer valid as conceptId. You can look up the conceptId corresponding to a CUI by using the NCBO search interface (http://bioportal.bioontology.org/search): type in the CUI and check &amp;quot;Include attributes in search&amp;quot;. You can also use the search REST service (http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Search_services) to search for the concept by CUI.  We are working on a new concept service that will accept CUI as conceptId in the near future.&lt;br /&gt;
&lt;br /&gt;
== Known issues ==&lt;br /&gt;
* ISA closure in the Annotator and Hierarchy services do not work properly for NCIT and Galen. This will be fixed in an upcoming release.&lt;br /&gt;
* Some mappings present in BioPortal are not yet available for use with the Annotator.&lt;br /&gt;
&lt;br /&gt;
== Other features and bug fixes ==&lt;br /&gt;
&lt;br /&gt;
* Implemented updates to Hierarchy (OBS Wrapper) Services to conform to the new OBS output XML structure&lt;br /&gt;
* Added case sensitivity check for the root concept (per #1793)&lt;br /&gt;
* Upgraded the deprecated Acegi Security to Spring Security&lt;br /&gt;
* Implemented support for OpenID Authentication&lt;br /&gt;
* New lexbig JAR intended to fix the problem with the graph not focused properly when there are 2 ontologies with the same uri.(Bioportal bug #1783)&lt;br /&gt;
&lt;br /&gt;
== BioPortal UI Internal Features and Bugfixes ==&lt;br /&gt;
* Fixed bug in autocomplete drop-downs where they could not distinguish between two ontologies or concepts with the same name.&lt;br /&gt;
* New functionality to display messages on the front page with a close button that remembers that users closed the message. Set $FRONT_NOTICE in environment.rb to your desired message in order to display a message.&lt;br /&gt;
* Updated language on error messages when attempting to browse individuals/properties.&lt;br /&gt;
* Fixed a bug where submiting a remote ontology would trigger an exception because the app was looking for an uploaded file.&lt;br /&gt;
* Fixed a bug in URI generation for resources where fixnums were being interpreted as strings without conversion.&lt;br /&gt;
* Added a custom logging framework to enable logging to the BioPortal Core.&lt;br /&gt;
* Added functionality to hide explore and download links using a global array. This fix is temporary until this information is stored in the ontology metadata.&lt;br /&gt;
* A custom Google Analytics ID can now be provided via the environment.rb file.&lt;br /&gt;
* If metrics don't exist, the UI now checks prior versions (back through 21 versions, three weeks for ontologies that are updated daily). The user is informed that the metrics are from a previous version and given a link to that version.&lt;br /&gt;
* When registering a new account, a check is now made to make sure that the username doesn't already exist.&lt;br /&gt;
* Before displaying a link for downloading diffs, the UI now makes sure that the diff is between that ontology and the prior existing ontology. This is to handle cases where an ontology may have been deleted but the record of a diff still exists. (Bug #1389)&lt;br /&gt;
* Somehow sorting was removed from the resources on the Resource Index tab. This has been re-enabled.&lt;br /&gt;
* Extending the slider on the ontology visualization page now works properly in IE (Bug #1500)&lt;br /&gt;
* The BioPortal UI is now using the REST service to gather its list of Groups and related ontologies. In addition, Groups have been added to the ontology summary page. (Bug #1607)&lt;br /&gt;
* Fixed a bug where visiting the &amp;quot;Submit new ontology&amp;quot; link on the Browse page while logged out didn't redirect properly once a user logged in (Bug #1486).&lt;br /&gt;
* Removed extra characters from search fields on the BioPortal index page (Bug #1390)&lt;br /&gt;
* Refactored much of the code in the DataAccess class to implement a common method to store/retrieve objects from the cache and make calls to the BioPortal Core when objects aren't in the cache.&lt;br /&gt;
* Exception handling for IO errors due to calls to the back-end that could not be completed. Generally these were improper or unknown concept ids being passed by GoogleBot, but there were some genuine errors that weren't being handled. The user is now informed, via a very basic error message, when a concept can't be found in an existing ontology.&lt;br /&gt;
* Added a REST_DOMAIN config option so that we could pass this parameter to Flex apps and have them use the appropriate locations for REST services. Prior to this the Flex apps were hard-coded to use production for many parts of their operation.&lt;br /&gt;
* Added a FLEX_URL config option to allow for hosting of Flex apps in different locations.&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_2.3_Release_Notes&amp;diff=9736</id>
		<title>BioPortal 2.3 Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_2.3_Release_Notes&amp;diff=9736"/>
		<updated>2010-02-10T23:25:04Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* New features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== New features == &lt;br /&gt;
* BioPortal will process SKOS labels for preferred names and synonyms:&lt;br /&gt;
** The following is the default property for synonyms: http://www.w3.org/2004/02/skos/core#altLabel&lt;br /&gt;
** The following is the default property for preferred name: http://www.w3.org/2004/02/skos/core#prefLabel (rdfs:label otherwise)&lt;br /&gt;
* Ontologies used by Annotator &amp;amp; Hierarchy services will now be updated on a regular basis (around every week).&lt;br /&gt;
* The filtering of annotation by semantic types is available only for the ontologies which provide that information&lt;br /&gt;
* The Annotator scoring function has changed a bit. &lt;br /&gt;
* Users can now exclude the annotations created with synonym terms. &lt;br /&gt;
* Users can now exclude the annotations less than a certain length. &lt;br /&gt;
* There is a change in the XML returned by the Annotator service. Please note that the &amp;lt;semanticTypeBean&amp;gt; information is presented differently in &amp;lt;concept&amp;gt;. The Get all terms REST service is also affected.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;concept&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;2357621&amp;lt;/id&amp;gt;&lt;br /&gt;
        &amp;lt;localConceptId&amp;gt;40399/CDR0000038833&amp;lt;/localConceptId&amp;gt;&lt;br /&gt;
        &amp;lt;localOntologyId&amp;gt;40399&amp;lt;/localOntologyId&amp;gt;&lt;br /&gt;
        &amp;lt;isTopLevel&amp;gt;0&amp;lt;/isTopLevel&amp;gt;&lt;br /&gt;
        &amp;lt;preferredName&amp;gt;melanoma&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
        &amp;lt;synonyms&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;Skin cancer, melanoma&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;melanoma, cutaneous&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;cutaneous melanoma&amp;lt;/string&amp;gt;&lt;br /&gt;
        &amp;lt;/synonyms&amp;gt;&lt;br /&gt;
        &amp;lt;semanticTypes&amp;gt;&lt;br /&gt;
                &amp;lt;semanticTypeBean&amp;gt;&lt;br /&gt;
                        &amp;lt;id&amp;gt;3410411&amp;lt;/id&amp;gt;&lt;br /&gt;
                        &amp;lt;semanticType&amp;gt;T191&amp;lt;/semanticType&amp;gt;&lt;br /&gt;
                        &amp;lt;description&amp;gt;Neoplastic Process&amp;lt;/description&amp;gt;&lt;br /&gt;
                &amp;lt;/semanticTypeBean&amp;gt;&lt;br /&gt;
                &amp;lt;semanticTypeBean&amp;gt;&lt;br /&gt;
                        &amp;lt;id&amp;gt;3410007&amp;lt;/id&amp;gt;&lt;br /&gt;
                        &amp;lt;semanticType&amp;gt;T999&amp;lt;/semanticType&amp;gt;&lt;br /&gt;
                        &amp;lt;description&amp;gt;NCBO BioPortal concept&amp;lt;/description&amp;gt;&lt;br /&gt;
                &amp;lt;/semanticTypeBean&amp;gt;&lt;br /&gt;
        &amp;lt;/semanticTypes&amp;gt;&lt;br /&gt;
&amp;lt;/concept&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* There is a change in the XML returned by the /obs/ontologies service. The ontologyBean now includes the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ontologyBean&amp;gt;&lt;br /&gt;
	&amp;lt;id&amp;gt;3&amp;lt;/id&amp;gt; &lt;br /&gt;
	&amp;lt;localOntologyId&amp;gt;40571&amp;lt;/localOntologyId&amp;gt; &lt;br /&gt;
	&amp;lt;name&amp;gt;Electrocardiography Ontology&amp;lt;/name&amp;gt; &lt;br /&gt;
	&amp;lt;version&amp;gt;0.1.5&amp;lt;/version&amp;gt; &lt;br /&gt;
	&amp;lt;description /&amp;gt; &lt;br /&gt;
	&amp;lt;status&amp;gt;28&amp;lt;/status&amp;gt; &lt;br /&gt;
	&amp;lt;virtualOntologyId&amp;gt;1146&amp;lt;/virtualOntologyId&amp;gt; &lt;br /&gt;
	&amp;lt;format&amp;gt;OWL&amp;lt;/format&amp;gt; &lt;br /&gt;
&amp;lt;/ontologyBean&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* There is a change in the XML returned by the /obs/semanticTypes service. The semanticTypeBean now includes the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;semanticTypeBean&amp;gt;&lt;br /&gt;
	&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt; &lt;br /&gt;
	&amp;lt;semanticType&amp;gt;T000&amp;lt;/semanticType&amp;gt; &lt;br /&gt;
	&amp;lt;description&amp;gt;UMLS concept&amp;lt;/description&amp;gt; &lt;br /&gt;
&amp;lt;/semanticTypeBean&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* Users can now define target terminologies for RRF ontologies via the BioPortal UI.&lt;br /&gt;
* Referencing the tabs on ontology visualization pages in the BioPortal UI is now done using the tab name:&lt;br /&gt;
** http://bioportal.bioontology.org/visualize/40644#mappings&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to http://www.bioontology.org/wiki/index.php/Annotator_User_Guide for details on Annotator enhancements&lt;br /&gt;
&lt;br /&gt;
== New way to address UMLS ontologies ==&lt;br /&gt;
&lt;br /&gt;
We have harmonized the ontologies in the Annotator and BioPortal. The full list is available at: http://rest.bioontology.org/obs/ontologies. This change has implications when using the Annotator with UMLS ontologies.&lt;br /&gt;
* Currently, BioPortal (and, therefore, Annotator and Hierarchy services) can use 16 ontologies from UMLS. We will add UMLS ontologies to BioPortal on demand. Please send email to support@bioontology.org to request a specific UMLS ontology to be added to BioPortal. &lt;br /&gt;
* UMLS SAB is no longer valid as ontologyId. Please refer to http://bioportal.bioontology.org/ontologies/?filter=UMLS to map your SAB to the corresponding ontology version id. &lt;br /&gt;
* UMLS CUIs are no longer valid as conceptId. You can look up the conceptId corresponding to a CUI by using the NCBO search interface (http://bioportal.bioontology.org/search): type in the CUI and check &amp;quot;Include attributes in search&amp;quot;. You can also use the search REST service (http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Search_services) to search for the concept by CUI.  We are working on a new concept service that will accept CUI as conceptId in the near future.&lt;br /&gt;
&lt;br /&gt;
== Known issues ==&lt;br /&gt;
* ISA closure in the Annotator and Hierarchy services do not work properly for NCIT and Galen. This will be fixed in an upcoming release.&lt;br /&gt;
* Some mappings present in BioPortal are not yet available for use with the Annotator.&lt;br /&gt;
&lt;br /&gt;
== Other features and bug fixes ==&lt;br /&gt;
&lt;br /&gt;
* Implemented updates to Hierarchy (OBS Wrapper) Services to conform to the new OBS output XML structure&lt;br /&gt;
* Added case sensitivity check for the root concept (per #1793)&lt;br /&gt;
* Upgraded the deprecated Acegi Security to Spring Security&lt;br /&gt;
* Implemented support for OpenID Authentication&lt;br /&gt;
* New lexbig JAR intended to fix the problem with the graph not focused properly when there are 2 ontologies with the same uri.(Bioportal bug #1783)&lt;br /&gt;
&lt;br /&gt;
== BioPortal UI Internal Features and Bugfixes ==&lt;br /&gt;
* Fixed bug in autocomplete drop-downs where they could not distinguish between two ontologies or concepts with the same name.&lt;br /&gt;
* New functionality to display messages on the front page with a close button that remembers that users closed the message. Set $FRONT_NOTICE in environment.rb to your desired message in order to display a message.&lt;br /&gt;
* Updated language on error messages when attempting to browse individuals/properties.&lt;br /&gt;
* Fixed a bug where submiting a remote ontology would trigger an exception because the app was looking for an uploaded file.&lt;br /&gt;
* Fixed a bug in URI generation for resources where fixnums were being interpreted as strings without conversion.&lt;br /&gt;
* Added a custom logging framework to enable logging to the BioPortal Core.&lt;br /&gt;
* Added functionality to hide explore and download links using a global array. This fix is temporary until this information is stored in the ontology metadata.&lt;br /&gt;
* A custom Google Analytics ID can now be provided via the environment.rb file.&lt;br /&gt;
* If metrics don't exist, the UI now checks prior versions (back through 21 versions, three weeks for ontologies that are updated daily). The user is informed that the metrics are from a previous version and given a link to that version.&lt;br /&gt;
* When registering a new account, a check is now made to make sure that the username doesn't already exist.&lt;br /&gt;
* Before displaying a link for downloading diffs, the UI now makes sure that the diff is between that ontology and the prior existing ontology. This is to handle cases where an ontology may have been deleted but the record of a diff still exists. (Bug #1389)&lt;br /&gt;
* Somehow sorting was removed from the resources on the Resource Index tab. This has been re-enabled.&lt;br /&gt;
* Extending the slider on the ontology visualization page now works properly in IE (Bug #1500)&lt;br /&gt;
* The BioPortal UI is now using the REST service to gather its list of Groups and related ontologies. In addition, Groups have been added to the ontology summary page. (Bug #1607)&lt;br /&gt;
* Fixed a bug where visiting the &amp;quot;Submit new ontology&amp;quot; link on the Browse page while logged out didn't redirect properly once a user logged in (Bug #1486).&lt;br /&gt;
* Removed extra characters from search fields on the BioPortal index page (Bug #1390)&lt;br /&gt;
* Refactored much of the code in the DataAccess class to implement a common method to store/retrieve objects from the cache and make calls to the BioPortal Core when objects aren't in the cache.&lt;br /&gt;
* Exception handling for IO errors due to calls to the back-end that could not be completed. Generally these were improper or unknown concept ids being passed by GoogleBot, but there were some genuine errors that weren't being handled. The user is now informed, via a very basic error message, when a concept can't be found in an existing ontology.&lt;br /&gt;
* Added a REST_DOMAIN config option so that we could pass this parameter to Flex apps and have them use the appropriate locations for REST services. Prior to this the Flex apps were hard-coded to use production for many parts of their operation.&lt;br /&gt;
* Added a FLEX_URL config option to allow for hosting of Flex apps in different locations.&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9714</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9714"/>
		<updated>2010-02-02T23:27:45Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Web Service Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using a subset of the BioPortal ontologies which includes 16 ontologies from UMLS (12 in RRF format, 2 in OBO format, 2 in OWL format). These ontologies provide a dictionary of 1,594,785 concepts and 3,200,654 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by BioPortal in the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept ''40644/Melanoma'' in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the BioPortal provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: BioPortal mappings are defined in the BioPortal front-end and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''filterNumber'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step to filter numbers or not.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''isStopWordsCaseSenstive  '''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether stopwords are case-sensitive or not.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''isVirtualOntologyId'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the input values are virtualOntologyId instead of localOntologyid. VirtualOntologyId is not version-specific.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9713</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9713"/>
		<updated>2010-02-02T23:27:11Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Web Service Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using a subset of the BioPortal ontologies which includes 16 ontologies from UMLS (12 in RRF format, 2 in OBO format, 2 in OWL format). These ontologies provide a dictionary of 1,594,785 concepts and 3,200,654 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by BioPortal in the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept ''40644/Melanoma'' in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the BioPortal provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: BioPortal mappings are defined in the BioPortal front-end and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''filterNumber'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step to filter numbers or not.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''isStopWordsCaseSenstive  '''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether stopwords are case-sensitive or not.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''isVirtualOntologyId'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the input values are virtualOntologyId instead of localOntologyid. VirtualOntologyId is not version-specific.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9712</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9712"/>
		<updated>2010-02-02T23:24:55Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Web Service Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using a subset of the BioPortal ontologies which includes 16 ontologies from UMLS (12 in RRF format, 2 in OBO format, 2 in OWL format). These ontologies provide a dictionary of 1,594,785 concepts and 3,200,654 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by BioPortal in the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept ''40644/Melanoma'' in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the BioPortal provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: BioPortal mappings are defined in the BioPortal front-end and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''filterNumber'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step to filter numbers or not.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''isStopWordsCaseSenstive  '''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether stopwords are case-sensitive or not.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9711</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9711"/>
		<updated>2010-02-02T23:23:09Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Web Service Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using a subset of the BioPortal ontologies which includes 16 ontologies from UMLS (12 in RRF format, 2 in OBO format, 2 in OWL format). These ontologies provide a dictionary of 1,594,785 concepts and 3,200,654 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by BioPortal in the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept ''40644/Melanoma'' in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the BioPortal provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: BioPortal mappings are defined in the BioPortal front-end and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''filterNumber'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step to filter numbers or not.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9674</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9674"/>
		<updated>2010-01-21T21:21:19Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Web Service Workflow */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using a subset of the BioPortal ontologies which includes 16 ontologies from UMLS (12 in RRF format, 2 in OBO format, 2 in OWL format). These ontologies provide a dictionary of 1,594,785 concepts and 3,200,654 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by BioPortal in the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept ''40644/Melanoma'' in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the BioPortal provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: BioPortal mappings are defined in the BioPortal front-end and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9673</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9673"/>
		<updated>2010-01-21T21:19:32Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* The mapping expansion component */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using a subset of the BioPortal ontologies which includes 16 ontologies from UMLS (12 in RRF format, 2 in OBO format, 2 in OWL format). These ontologies provide a dictionary of 1,594,785 concepts and 3,200,654 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in the UMLS Metathesaurus and in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by BioPortal in the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept ''40644/Melanoma'' in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the BioPortal provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: BioPortal mappings are defined in the BioPortal front-end and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9672</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9672"/>
		<updated>2010-01-21T20:58:40Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Web Service Workflow */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using a subset of the BioPortal ontologies which includes 16 ontologies from UMLS (12 in RRF format, 2 in OBO format, 2 in OWL format). These ontologies provide a dictionary of 1,594,785 concepts and 3,200,654 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in the UMLS Metathesaurus and in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by BioPortal in the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept NCI/C0025202 (''melanoma'') in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the UMLS Metathesaurus provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: UMLS mappings come both from the CUI information and the MRREL table. BioPortal mappings are defined in the BioPortal backend and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9660</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9660"/>
		<updated>2010-01-19T18:33:55Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Web Service Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Annotator web service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Workflow===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service’s workflow is composed of two main steps (figure):&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|NCBO Annotator Web service workflow]]&lt;br /&gt;
&lt;br /&gt;
First, direct annotations are created from raw text. Annotations are based on syntactic concept recognition using a dictionary compiled from terms (concept names and synonyms) pulled from the ontologies.  The Annotator enables the selection of ontologies from one of the largest sets of available biomedical ontologies. We implemented the service using the 98 English ontologies in UMLS 2008AA and a subset of the BioPortal ontologies (122 as of this writing). These ontologies provide a dictionary of 4,222,921 concepts and 7,943,757 terms. &lt;br /&gt;
&lt;br /&gt;
In the second step, semantic expansion components leverage the semantics in ontologies (e.g., is_a relations and mappings) to create additional annotations. For example, the is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts of concepts in direct annotations. The ontology-mapping component creates new annotations based on existing mappings between different ontologies. Point-to-point mappings that link concepts one another are defined manually or by automatic algorithms in the UMLS Metathesaurus and in BioPortal.&lt;br /&gt;
&lt;br /&gt;
==== The is_a transitive closure expansion component ====&lt;br /&gt;
An is_a transitive closure component traverses an ontology parent-child hierarchy to create new annotations with parent concepts. For instance, if data are annotated with a concept from the NCI Thesaurus, such as ''melanoma'', this component generates a new annotation with the concept ''skin neoplasm'', because the NCI Thesaurus provides the knowledge that ''melanoma'' is_a ''skin neoplasm.''&lt;br /&gt;
The Annotator uses the is_a relations as they are defined by the repositories: UMLS is_a relations are extracted from the MRHIER table. BioPortal is_a relations are extracted from the &amp;lt;SubClass&amp;gt;/&amp;lt;SuperClass&amp;gt; information for a given concept (accessed via REST web service).&lt;br /&gt;
&lt;br /&gt;
==== The mapping expansion component ====&lt;br /&gt;
An ontology-mapping component creates new annotations based on existing mappings between different ontologies. For example, an annotation done with concept NCI/C0025202 (''melanoma'') in NCI Thesaurus can be expanded to another one with in SNOMED-CT because the UMLS Metathesaurus provides the mapping information.&lt;br /&gt;
The Annotator uses the mapping as they are defined by the repositories: UMLS mappings come both from the CUI information and the MRREL table. BioPortal mappings are defined in the BioPortal backend and accessed in an ad-hoc manner.&lt;br /&gt;
&lt;br /&gt;
=== Annotator Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator web service offers a set of parameters that allows a user to customize the Annotator workflow and filter the result. To customize the workflow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator web service response time depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* If ''longestOnly=true'', the Annotator selects only the longest term matching phrase. For example, if ''longestOnly=true'', the phrase ''breast cancer'' generates only ''breast cancer.'' If ''longestOnly=false'', it generates three annotations: ''breast'', ''cancer'' and ''breast cancer.'' &lt;br /&gt;
&lt;br /&gt;
* Attention, if the Annotator finds an annotation with the complete phrase in an ontology composing the dictionary, partial annotations with other ontologies will not be generated.  For example, because ''breast cancer'' exists in Human Disease and the NCI Thesaurus, if ''longestOnly=true'', annotations generated with those terms will block annotations with the terms ''breast'' in the Vaccine Ontology or ''cancer'' in BIRNLex. For this reason, we discourage the uses of the '''longestOnly''' parameter when the Annotator is used with one or a small number of ontologies.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use the default stop words or not. The default stop word list is available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''minTermSize'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum length of the term to be included in the annotations.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withSynonyms'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the direct annotations are done with or without Synonyms. By default it includes all the synonyms and preferred name. If 'false' is selected, the direct annotations are done with only preferred name. &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use with the mapping semantic expansion component. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to keep in the result of the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces).&lt;br /&gt;
* For example, 40403,40644,40401.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the maximum level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, a call done with ''levelMax=3'' will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. A call done with ''levelMax=0'' is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of semantic types that can be used is available in the sample HTML page. The values are separated with comma (without spaces). The current list is described hereafter.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the '''mappingTypes''' list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
* The current list of mapping type is:&lt;br /&gt;
** ''inter-cui'': This mapping type corresponds to the mappings available between CUIs in the UMLS Metathesaurus. For instance, NCI/C0025202 and MSH/C0025202 are mapped together because the share the same CUI in UMLS.&lt;br /&gt;
** ''from-mrrel'': This mapping type corresponds to the mappings available in the MRREL table from UMLS.&lt;br /&gt;
** ''Automatic'': This mapping type corresponds to the mappings automatically imported in BioPortal.&lt;br /&gt;
** ''Manual'': This relation name corresponds to the mappings created by users in BioPortal.&lt;br /&gt;
** ''Human'': This relation name corresponds to the mapping s [not used anymore] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator. For programmatic access, XML is strongly suggested. &lt;br /&gt;
&lt;br /&gt;
* ''xml'': returns XML representation of the annotatorResultBean.&lt;br /&gt;
* ''text'': returns plain text representation of the annotatorResultBean.&lt;br /&gt;
* ''tabDelimited'': shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
The elements of the Annotator response are described in next section.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Annotator Web Service Response===&lt;br /&gt;
&lt;br /&gt;
In this section we define the Annotator web service model i.e., what the service returns to the user: the objects as well as their relations and the constraints that applies. Cf the UML class diagram here: http://obs.bioontology.org/docs/model/EARoot/EA3/EA46.htm&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The id of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. ''dictionaryId'', ''dictionaryName'', and ''dictionaryDate'' identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The ''contextName'' keyword identifies the type of context and ''nbAnnotation'' is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator service. Those parameters are described in previous section.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, ''localOntologyId'' the name (''ontologyName'') and version (''ontologyVersion''). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: ''nbAnnotation'', the number of annotation that have been made with concepts from this ontology. ''score'', the sum of all the scores of the annotations done with concepts from this ontology (if parameter ''scored=true''). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a ''score'' which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a ''concept'' in a ''context''.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| The scoring algorithm gives weight to each annotation according to the annotation context. The final score for an annotation is then calculated as the sum of all the scores of the annotations done with the same concept. Cf Recommender journal paper for more detail for now.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Concept'' is a representation of an ontology concept in the Annotator web service ontology model&lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| ''Context'' specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9137</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=9137"/>
		<updated>2009-08-28T21:48:42Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Web Service Response */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator Web Service===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs_hibernate/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
===Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Web Service Response===&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''asXml'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns XML representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''asText'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns plain text representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''asTabDelimited'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptId, mappedConceptId, level, mappingType) (separated by ' /// ').&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultId'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryId, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, localOntologyId the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
* ''localConceptId'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyId'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Context specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A Mgrep context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptId'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptId identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8841</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8841"/>
		<updated>2009-05-15T17:49:17Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Service endpoint */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator Web Service===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs_hibernate/annotator?email=example@example.org&lt;br /&gt;
&lt;br /&gt;
===Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Web Service Response===&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''xml'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns XML representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''text'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns plain text representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''tabDelimited'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultID'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
* ''localConceptID'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyID'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Context specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptID'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptID identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8765</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8765"/>
		<updated>2009-05-06T00:12:53Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator Web Service===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs_hibernate/annotator&lt;br /&gt;
&lt;br /&gt;
===Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Web Service Response===&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''xml'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns XML representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''text'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns plain text representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''tabDelimited'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultID'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
* ''localConceptID'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyID'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Context specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptID'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptID identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8763</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8763"/>
		<updated>2009-05-05T23:48:45Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator Web Service===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
===Service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs_hibernate/annotator&lt;br /&gt;
&lt;br /&gt;
===Web Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Web service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Web Service Response===&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''xml'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns XML representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''text'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns plain text representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''tabDelimited'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Response Content: annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultID'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
* ''localConceptID'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyID'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Context specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptID'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptID identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8762</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8762"/>
		<updated>2009-05-05T23:43:26Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Restlet Service Response */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator Restlet===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs_hibernate/annotator&lt;br /&gt;
&lt;br /&gt;
===Restlet Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Web Service Response===&lt;br /&gt;
&lt;br /&gt;
ObaResultBean is the main object returned by the Annotator Web service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. There are three different format for the response as shown as following.&lt;br /&gt;
&lt;br /&gt;
'''response format'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''xml'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns XML representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''text'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| returns plain text representation of the annotatorResultBean.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''tabDelimited'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''annotatorResultBean'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultID'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
* ''localConceptID'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyID'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Context specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptID'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptID identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8758</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8758"/>
		<updated>2009-05-05T23:36:37Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Sample HTTP Client for the Annotator Restlet===&lt;br /&gt;
&lt;br /&gt;
HTML http://rest.bioontology.org/test_oba.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Service endpoint===&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://rest.bioontology.org/obs_hibernate/annotator&lt;br /&gt;
&lt;br /&gt;
===Restlet Service Parameters===&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Restlet Service Response===&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
annotatorResultBean&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultID'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
* ''localConceptID'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyID'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Context specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties:&lt;br /&gt;
* ''childConceptID'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptID identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8757</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8757"/>
		<updated>2009-05-05T23:25:48Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Service endpoint'''&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://ncbo-obs-prod1.stanford.edu:8080/obs_hibernate/annotator&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
annotatorResultBean&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultID'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''score'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''concept'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| &lt;br /&gt;
* ''localConceptID'' - global identifier for the concept in its original repository. &lt;br /&gt;
* ''localOntologyID'' - identifier for the ontology in which the concept is defined. &lt;br /&gt;
* ''isTopLevel'' - specifies if the concept is a root concept in its ontology. &lt;br /&gt;
* ''preferredName'' - label or preferred term for this concept (as assigned by the original repository). &lt;br /&gt;
* ''synonyms'' - the set of possible terms that represent the concept but are not preferred. &lt;br /&gt;
* ''semanticTypes'' - the set of the semantic types of the concept (assigned by UMLS + T000 and T999). &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''context'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Context specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. ''contextName'' identifies the type of context. The context properties vary with the type of concept. There are 3 possible contexts identified by their contextName:&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; style=&amp;quot;background:#ABCDEF;&amp;quot; &amp;lt;!-- The nested table must be on a new line --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MGREP'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: &lt;br /&gt;
* ''termName'' - the expression (preferred name or synonyms) that was matched by Mgrep. &lt;br /&gt;
* ''from'' and ''to'' - specify the character index in the given text for the matched expression.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ISA_CLOSURE'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents  expanded annotations done with the ''is_a'' transitive closure expansion component. A ISA_CLOSURE context has 2 properties: * ''childConceptID'' - the concept from which the annotation was derived. &lt;br /&gt;
* ''level'' - the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. &lt;br /&gt;
* For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''MAPPING'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| represents expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: &lt;br /&gt;
* mappedConceptID identifies the concept from which the annotation was derived. &lt;br /&gt;
* mappingType specifies the type of mapping.&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8753</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8753"/>
		<updated>2009-05-05T22:50:24Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Service endpoint'''&lt;br /&gt;
&lt;br /&gt;
POST your requests at http://ncbo-obs-prod1.stanford.edu:8080/obs_hibernate/annotator&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
annotatorResultBean&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''resultID'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''dictionary'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''statistics'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''parameters'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologies'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''annotations'''&lt;br /&gt;
|width=&amp;quot;90%&amp;quot;| Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
|}     &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8750</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8750"/>
		<updated>2009-05-05T21:27:31Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'', the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms) only. If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: If ''wholeWordOnly=true'', the phrase 'neoplasms'  will match the concept NCI/C0027651 (Neoplasms) only. If ''wholeWordOnly=false'', the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI) in addition.&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;br /&gt;
&lt;br /&gt;
*   Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
&lt;br /&gt;
*   Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8749</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8749"/>
		<updated>2009-05-05T21:25:35Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: If ''longestOnly=true'' the phrase 'skin neoplasms'  will match the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms). If ''longestOnly=false'', the concept NCI/C1123023(Skin) will also match in addition.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: the phrase 'neoplasms' if wholeWordOnly=true will match to the concept NCI/C0027651 (Neoplasms) only. If wholeWordOnly=false, the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI).&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;br /&gt;
&lt;br /&gt;
*   Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
&lt;br /&gt;
*   Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8748</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8748"/>
		<updated>2009-05-05T21:24:15Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
* For example: the phrase 'skin neoplasms' if longestOnly=true will match to the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms). If longestOnly=false, the concept NCI/C1123023(Skin) will also match.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: the phrase 'neoplasms' if wholeWordOnly=true will match to the concept NCI/C0027651 (Neoplasms) only. If wholeWordOnly=false, the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI).&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;br /&gt;
&lt;br /&gt;
*   Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
&lt;br /&gt;
*   Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8747</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8747"/>
		<updated>2009-05-05T21:23:37Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
For example: the phrase 'skin neoplasms' if longestOnly=true will match to the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms). If longestOnly=false, the concept NCI/C1123023, (Skin) will also match.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: the phrase 'neoplasms' if wholeWordOnly=true will match to the concept NCI/C0027651 (Neoplasms) only. If wholeWordOnly=false, the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI).&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;br /&gt;
&lt;br /&gt;
*   Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
&lt;br /&gt;
*   Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8746</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8746"/>
		<updated>2009-05-05T21:20:59Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotator work flow and filter the result. To customize the work flow and the result, the user can specify a set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the ''is_a'' transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
Please see below for the list of parameters and the possible values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
For example: the phrase 'skin neoplasms' if longestOnly=true will match to the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms). If longestOnly=false, the concept NCI/C1123023, (Skin) will also match.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: the phrase 'neoplasms' if wholeWordOnly=true will match to the concept NCI/C0027651 (Neoplasms) only. If wholeWordOnly=false, the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI).&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ''ontologiesToExpand'' and ''ontologiesToKeepInResult''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;br /&gt;
&lt;br /&gt;
*   Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
&lt;br /&gt;
*   Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8745</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8745"/>
		<updated>2009-05-05T21:10:19Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotations created according to his specific requirements. Especially, the annotation work flow can be limited to use a specific set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation work flow can be parametrized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the is_a transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with ''wholeWordOnly=false'' will be significantly longer that with ''wholeWordOnly=true''.&lt;br /&gt;
&lt;br /&gt;
The list of parameters and they possible values is specified here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''longestOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
For example: the phrase 'skin neoplasms' if longestOnly=true will match to the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms). If longestOnly=false, the concept NCI/C1123023, (Skin) will also match.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''wholeWordOnly'''&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;5%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;80%&amp;quot;|Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
* For example: the phrase 'neoplasms' if wholeWordOnly=true will match to the concept NCI/C0027651 (Neoplasms) only. If wholeWordOnly=false, the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI).&lt;br /&gt;
* Note that the concept recognition step does not consider text cast.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''stopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{stopWord1,...,stopWordN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. none)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of stop words to use.  &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''withDefaultStopWords'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: false&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''scored'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{true, false}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: true&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
* For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToExpand'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
* For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''ontologiesToKeepInResult'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{localOntology1,...,localOntologyN}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all ontologies)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
* For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''semanticTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{semanticType1,...,semanticTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all semanticTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
* For example, T047,T048,T191.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''levelMax'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{integer} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: 0&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. &lt;br /&gt;
* For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''mappingTypes'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{null,mappingType1,...,mappingTypeN} &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: empty (i.e. all mappingTypes)&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
* For example, from-mrrel,Human.&lt;br /&gt;
* Note that the use of the key word &amp;quot;'''null'''&amp;quot; in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is also limited by other parameters such as ontologies '''ontologiesToExpand''' and '''ontologiesToKeepInResult'''.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''textToAnnotate'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the text to be annotated&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|'''format'''&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|{xml,text,tabDelimited}&lt;br /&gt;
|width=&amp;quot;10%&amp;quot;|default: xml&lt;br /&gt;
|width=&amp;quot;70%&amp;quot;|Specifies the desired format of the response from Annotator Restlet.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;br /&gt;
&lt;br /&gt;
*   Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
&lt;br /&gt;
*   Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8739</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8739"/>
		<updated>2009-05-05T18:23:23Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Sample HTTP Client for the Annotator Restlet'''&lt;br /&gt;
&lt;br /&gt;
HTML http://ncbo-obs-prod1:8080/test_oba.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service parameters'''&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service offers a set of parameters that allows a user to customize the annotations created according to his specific requirements. Especially, the annotation workflow can be limited to use a specific set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parameterized.&lt;br /&gt;
&lt;br /&gt;
The Annotator Restlet service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the is_a transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with wholeWordOnly=false will be significantly longer that with wholeWordOnly=true.&lt;br /&gt;
&lt;br /&gt;
The list of parameters and they possible values is specified here after:&lt;br /&gt;
&lt;br /&gt;
* longestOnly={true, false} (default: false)&lt;br /&gt;
&lt;br /&gt;
Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
For example: the phrase 'skin neoplasms' if longestOnly=true will match to the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms). If longestOnly=false, the concept NCI/C1123023, (Skin) will also match.&lt;br /&gt;
&lt;br /&gt;
The by default setting is longestOnly=false.&lt;br /&gt;
&lt;br /&gt;
* wholeWordOnly={true, false} (default: true)&lt;br /&gt;
&lt;br /&gt;
Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
&lt;br /&gt;
For example: the phrase 'neoplasms' if wholeWordOnly=true will match to the concept NCI/C0027651 (Neoplasms) only. If wholeWordOnly=false, the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI).&lt;br /&gt;
&lt;br /&gt;
The by default setting is wholeWordOnly=true.&lt;br /&gt;
&lt;br /&gt;
Note that the concept recognition step does not consider text cast.&lt;br /&gt;
&lt;br /&gt;
* stopWords={true, false} (default: empty)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of stop words to use.  &lt;br /&gt;
&lt;br /&gt;
* withDefaultStopWords true false [default: false]&lt;br /&gt;
&lt;br /&gt;
Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
&lt;br /&gt;
* scored={true, false} (default: true)&lt;br /&gt;
&lt;br /&gt;
Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
&lt;br /&gt;
For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
&lt;br /&gt;
The by default setting is scored=true.&lt;br /&gt;
&lt;br /&gt;
* ontologiesToExpand={localOntology1,...,localOntologyN} (default: all ontologies)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
&lt;br /&gt;
For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all ontologies.&lt;br /&gt;
&lt;br /&gt;
* ontologiesToExpand={localOntology1,...,localOntologyN} (default: all ontologies)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
&lt;br /&gt;
For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all ontologies.&lt;br /&gt;
&lt;br /&gt;
* semanticTypess={semanticType1,...,semanticTypeN} (default: all semanticTypes)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
&lt;br /&gt;
For example, T047,T048,T191.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all semantic types.&lt;br /&gt;
&lt;br /&gt;
* levelMax={integer} (default: 0)&lt;br /&gt;
&lt;br /&gt;
Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
&lt;br /&gt;
* mappingTypes={null,mappingType1,...,mappingTypeN} (default: all mappingTypes)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
&lt;br /&gt;
For example, from-mrrel,Human.&lt;br /&gt;
&lt;br /&gt;
Note that the use of the key word null in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is limited to the ontologies specified with the localOntologyIDs parameter.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all mapping types.&lt;br /&gt;
&lt;br /&gt;
* textToAnnotate&lt;br /&gt;
&lt;br /&gt;
The text to be annotated&lt;br /&gt;
&lt;br /&gt;
* format={asXML,asText,asTabDelimited} (default: asXML)&lt;br /&gt;
&lt;br /&gt;
Specifies the format of the result of the annotation.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Restlet Service Response'''&lt;br /&gt;
&lt;br /&gt;
*         ObaResult is the main object returned by the Annotator Restlet service.  text refers to the piece of text originally sent to the service, while resultID identifies the result. The properties annotations, dictionary, ontologies and statistics and parameters are defined hereafter. An ObaResult provides functions to export its content in different form for the user. There are three different format for the response from the Annotator Restlet service:&lt;br /&gt;
&lt;br /&gt;
*   XML:  returns XML representation of the result bean.&lt;br /&gt;
*   Text: returns the result content as plain text.&lt;br /&gt;
*   TabDelimited:  shorter version of &amp;quot;Text&amp;quot; format. returns not the full result content but the annotations only (no statistics, etc.). The format of the tab delimited file is: score \t conceptId \t preferredName \t synonyms (separated by ' /// ') \t semanticType (separated by ' /// ') \t contextName \t isDirect \t other context information (e.g., childConceptID, mappedConceptID, level, mappingType) (separated by ' /// ').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Annotation is a representation of one annotation. An annotation has a score which represents the accuracy of the annotation computed by the scoring algorithm (if the scored=true parameter was chosen, otherwise score=-1). An annotation is done with a concept in a context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Concept is a representation of an ontology concept in the Annotator Restlet service ontology model represented in Figure 1. localConceptID globally identifies the concept in its original repository. preferredName is the label or preferred term for this concept (as assigned by the original repository). synonyms is a set of possible terms that represent the concept but are not preferred. isTopLevel specifies if the concept is a root concept in its ontology. localOntologyID identifies the ontology in which the concept is defined. localSemanticTypesIDs is the set of the semantic types of the concept (assigned by UMLS + T000 and T999).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*  Context is a representation of the context in which annotation has been done. It specifies if it is a direct or expanded annotation and give precision about the origin of the annotation. contextName identifies the type of context. The context properties vary with the type of concept. There are 4 possible contexts identified by their contextName:&lt;br /&gt;
&lt;br /&gt;
*   MGREP, used to identify direct annotations done with the Mgrep concept recognizer. A MGREP context has 3 properties: termName, identifies the expression (preferred name or synonyms) that was matched by Mgrep. from, and to, specify the character index in the given text for the matched expression.&lt;br /&gt;
&lt;br /&gt;
*   ISA_CLOSURE, used to identify expanded annotations done with the is_a transitive closure expansion component. A ISA_CLOSURE context has 2 properties: childConceptID identifies the concept from which the annotation was derived. level specifies the distance in the is_a hierarchy between the annotating concept and the concept from which the annotation was derived. For example, if a direct annotation with NCI/C0025202 (melanoma) was done, the is_a transitive closure component may expand it to another annotation with NCI/C1302746 (Melanocytic Neoplasm) because the latter is a direct parent (i.e., level 1) concept of the former. The ISA_CLOSURE annotation generated will have the following properties {NCI/C0025202, 1}.&lt;br /&gt;
&lt;br /&gt;
*   MAPPING, used to identify expanded annotations done with the mapping expansion component. A MAPPING context has 2 properties: mappedConceptID identifies the concept from which the annotation was derived. mappingType specifies the type of mapping.&lt;br /&gt;
&lt;br /&gt;
*   DISTANCE, used to identify expanded annotations done with the semantic distance expansion component. A DISTANCE context has 2 properties: relatedConceptID identifies the concept from which the annotation was derived. distance specifies the distance (as an integer) between the 2 concepts.&lt;br /&gt;
&lt;br /&gt;
*   Dictionary contains the metadata (not the content) of the dictionary used for a result. dictionaryID, dictionaryName, and dictionaryDate identify the dictionary on the server side and give information about its content. Dictionary versioning is strongly linked to the evolution of the ontologies used. Each time ontologies change, the dictionary is updated. All the dictionary information may be useful for comparing results of the Annotator Restlet service on time.&lt;br /&gt;
&lt;br /&gt;
*   Ontology is a representation of an ontology in the Annotator Restlet service ontology model represented in Figure 1. To keep the model simple, we provide only the global ontology identifier, localOntologyID the name (ontologyName) and version (ontologyVersion). This information come from the original repositories (UMLS/BioPortal) and might help the user to select the right ontology to use. When an ontology is used in the annotation, a result has a set of OntologyUsed which specify 2 other properties: nbAnnotation, the number of annotation that have been made with concepts from this ontology. score, the sum of all the scores of the annotations done with concepts from this ontology (if parameter scored=true). Therefore, score represents the most accurate ontology to annotate the given text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Statistics contains information on the number of annotations done for a given context. The contextName keyword identifies the type of context and nbAnnotation is the number of annotations of this type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*         Parameters summarizes all the parameters specified by the user when requesting the Annotator Restlet service. Those parameters are described in section Service parameters&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8738</id>
		<title>Annotator Web service</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8738"/>
		<updated>2009-05-05T00:43:51Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations&lt;br /&gt;
''&lt;br /&gt;
=== Presentation &amp;amp; Demonstration ===&lt;br /&gt;
&lt;br /&gt;
The range of publicly available biomedical data is enormous and is expanding fast. This expansion means that researchers now face a hurdle to extracting the data they need from the large numbers of data that are available. Biomedical researchers have turned to ontologies and terminologies to structure and annotate their data with ontology concepts for better search and retrieval. However, this annotation process cannot be easily automated and often requires expert curators. Plus, there is a lack of easy-to-use systems that facilitate the use of ontologies for annotation. The NCBO Annotator (or Open Biomedical Annotator (OBA)) is an ontology-based Web service that annotates public datasets with biomedical ontology concepts based on their textual metadata. The biomedical community can use the annotator service to tag thier data automatically with ontology concepts. These concepts come from the [http://www.nlm.nih.gov/research/umls/ Unified Medical Language System (UMLS) Metathesaurus] and the [http://bioportal.bioontology.org/ National Center for Biomedical Ontology (NCBO) BioPortal] ontologies. Such annotations facilitate translational discoveries by integrating annotated data.&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|OBA web service workflow]] &lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
&lt;br /&gt;
* Community &amp;amp; usage: [[mailto:whetzel@stanford.edu Trish Whetzel]]&lt;br /&gt;
* Design, utility &amp;amp; applications: [[mailto:nigam@stanford.edu Nigam Shah]] and [[mailto:jonquet@stanford.edu Clement Jonquet]]&lt;br /&gt;
* Technical support: [[mailto:cyoun@stanford.edu Cherie Youn]]&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* Annotator Design and underlying Data model: [http://obs.bioontology.org/docs/oba/OBA_v1.1_documentation.htm Documentation here]... to be move to the wiki soon.&lt;br /&gt;
&lt;br /&gt;
* Annotator Restlet User's Guide [[Annotator_User_Guide]]&lt;br /&gt;
&lt;br /&gt;
=== Versions (prototypes &amp;amp; releases) ===&lt;br /&gt;
&lt;br /&gt;
* April 2009 - First production version to come.&lt;br /&gt;
&lt;br /&gt;
* March 2009 - Prototype user interface has been deployed on the BioPortal staging server. Please contact us to try it.&lt;br /&gt;
&lt;br /&gt;
* October 2008 - The new prototype (v1.1) has bee released for testing and evaluation. Please check it out: [http://obs.bioontology.org/oba/OBA_v1.1_rest.html]&lt;br /&gt;
&lt;br /&gt;
* May 2008 - First prototype (v1.0) - Has been removed from servers.&lt;br /&gt;
&lt;br /&gt;
=== Community ===&lt;br /&gt;
&lt;br /&gt;
After 8 months of existence OBA counts already 8 academic groups (Univ. of California, San Francisco, Univ. of Indiana, Jackson Lab) that use and experiment the service in specific scenarios. Internally, we have used the annotation workflow to index biomedical data resources with ontology concepts (cf. [[Resources index Web services]]).&lt;br /&gt;
&lt;br /&gt;
Learn more about NCBO Annotator users &amp;amp; use cases: [[NCBO Annotator community]]&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8737</id>
		<title>Annotator User Guide</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_User_Guide&amp;diff=8737"/>
		<updated>2009-05-05T00:42:55Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Annotator Restlet User's Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service parameters'''&lt;br /&gt;
&lt;br /&gt;
The OBA web service offers a set of parameters that allows a user to customize the annotations created according to his specific requirements. Especially, the annotation workflow can be limited to use a specific set of ontologies and a specific set of semantic types. Plus, the two steps of the annotation workflow can be parameterized.&lt;br /&gt;
&lt;br /&gt;
The OBA web service level agreement (e.g., response time) depends on the selected components as each consumes resources at a different level. For example, the is_a transitive closure takes a long time to process, even when using a pre-computed hierarchy table. As another example, an annotation with wholeWordOnly=false will be significantly longer that with wholeWordOnly=true.&lt;br /&gt;
&lt;br /&gt;
The list of parameters and they possible values is specified here after:&lt;br /&gt;
&lt;br /&gt;
* longestOnly={true, false} (default: false)&lt;br /&gt;
&lt;br /&gt;
Specifies either or not the concept recognition step (done with University of Michigan Mgrep tool) must match the longest words only if they are several concepts that match to an expression.&lt;br /&gt;
&lt;br /&gt;
For example: the phrase 'skin neoplasms' if longestOnly=true will match to the concept NCI/C0037286 (Skin Neoplasms) and NCI/C0027651 (Neoplasms). If longestOnly=false, the concept NCI/C1123023, (Skin) will also match.&lt;br /&gt;
&lt;br /&gt;
The by default setting is longestOnly=false.&lt;br /&gt;
&lt;br /&gt;
* wholeWordOnly={true, false} (default: true)&lt;br /&gt;
&lt;br /&gt;
Specifies whether the concept recognition step must match whole words only or not, if they are several concepts that match to a given word.&lt;br /&gt;
&lt;br /&gt;
For example: the phrase 'neoplasms' if wholeWordOnly=true will match to the concept NCI/C0027651 (Neoplasms) only. If wholeWordOnly=false, the concept NCI/C1551054 (S) or the concept NCI/C0242536 (ASM) will also match (~80 concepts in NCI).&lt;br /&gt;
&lt;br /&gt;
The by default setting is wholeWordOnly=true.&lt;br /&gt;
&lt;br /&gt;
Note that the concept recognition step does not consider text cast.&lt;br /&gt;
&lt;br /&gt;
* stopWords={true, false} (default: empty)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of stop words to use.  &lt;br /&gt;
&lt;br /&gt;
* withDefaultStopWords true false [default: false]&lt;br /&gt;
&lt;br /&gt;
Specifies whether to use stop words or not. The default stop word list are available from sample HTML page. If set to true, this override the value of stopWords given by the user.&lt;br /&gt;
&lt;br /&gt;
* scored={true, false} (default: true)&lt;br /&gt;
&lt;br /&gt;
Specifies either or not the annotations are scored. A score is a number assigned to an annotation that reflects the accuracy of the annotation. The higher the score is the better the annotation is. The scoring algorithm gives a specific weight to an annotation according to the context of this annotation. For instance, an annotation done by matching a concept preferred name will be given a higher weight than an annotation done by matching a concept synonym or than an annotation done with a parent level 3 in the is_a hierarchy. Details on the scoring algorithm are given in section Scoring algorithm.&lt;br /&gt;
&lt;br /&gt;
For example, the phrase 'melanoma' is annotated both with the concept NCI/C0025202 (melanoma) and the concept NCI/C1522102 (Mouse Melanoma). The former annotation is scored 10 where as the latter is scored 8.&lt;br /&gt;
&lt;br /&gt;
The by default setting is scored=true.&lt;br /&gt;
&lt;br /&gt;
* ontologiesToExpand={localOntology1,...,localOntologyN} (default: all ontologies)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of ontologies to use to expand in the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces)&lt;br /&gt;
&lt;br /&gt;
For example, SNOMEDCT,NCI,13578,36625,MSH.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all ontologies.&lt;br /&gt;
&lt;br /&gt;
* ontologiesToExpand={localOntology1,...,localOntologyN} (default: all ontologies)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of ontologies you want to filter in the result from the annotation process. The list of ontologies that can be used is available in the sample HTML page. The values are separated with comma (without spaces) &lt;br /&gt;
&lt;br /&gt;
For example, SNOMEDCT,NCI,MSH.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all ontologies.&lt;br /&gt;
&lt;br /&gt;
* semanticTypess={semanticType1,...,semanticTypeN} (default: all semanticTypes)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of semantic types to use in the annotation process. The list of semantic types that can be used is available at the /obs/semanticTypes URL. Note that the restriction to semantic types is also applied during the semantic expansion steps.&lt;br /&gt;
&lt;br /&gt;
For example, T047,T048,T191.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all semantic types.&lt;br /&gt;
&lt;br /&gt;
* levelMax={integer} (default: 0)&lt;br /&gt;
&lt;br /&gt;
Specifies the minimum (resp. maximum) level a parent concept must have to be considered for the is_a semantic closure expansion step. For example, an annotation done with levelMin=1 &amp;amp; levelMax=3 will expand a direct annotations done with a concept up to the 3rd level parent in the is_a hierarchy for this concept. An annotation done with levelMin=0 &amp;amp; levelMax=0 is equivalent to disable the is_a transitive closure expansion step.&lt;br /&gt;
&lt;br /&gt;
* mappingTypes={null,mappingType1,...,mappingTypeN} (default: all mappingTypes)&lt;br /&gt;
&lt;br /&gt;
Specifies the list of mapping type to use during the mapping expansion step. The list of rmapping types that can be used is available at the /obs/mappingTypes URL. The current list is described in section Mapping types.&lt;br /&gt;
&lt;br /&gt;
For example, from-mrrel,Human.&lt;br /&gt;
&lt;br /&gt;
Note that the use of the key word null in the mappingTypes list disables the mapping expansion component. Note also that the mapping expansion is limited to the ontologies specified with the localOntologyIDs parameter.&lt;br /&gt;
&lt;br /&gt;
The by default setting is to use all mapping types.&lt;br /&gt;
&lt;br /&gt;
* textToAnnotate&lt;br /&gt;
&lt;br /&gt;
The text to be annotated&lt;br /&gt;
&lt;br /&gt;
* format={asXML,asText,asTabDelimited} (default: asXML)&lt;br /&gt;
&lt;br /&gt;
Specifies the format of the result of the annotation.&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8736</id>
		<title>Annotator Web service</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8736"/>
		<updated>2009-05-05T00:18:17Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations&lt;br /&gt;
''&lt;br /&gt;
=== Presentation &amp;amp; Demonstration ===&lt;br /&gt;
&lt;br /&gt;
The range of publicly available biomedical data is enormous and is expanding fast. This expansion means that researchers now face a hurdle to extracting the data they need from the large numbers of data that are available. Biomedical researchers have turned to ontologies and terminologies to structure and annotate their data with ontology concepts for better search and retrieval. However, this annotation process cannot be easily automated and often requires expert curators. Plus, there is a lack of easy-to-use systems that facilitate the use of ontologies for annotation. The NCBO Annotator (or Open Biomedical Annotator (OBA)) is an ontology-based Web service that annotates public datasets with biomedical ontology concepts based on their textual metadata. The biomedical community can use the annotator service to tag thier data automatically with ontology concepts. These concepts come from the [http://www.nlm.nih.gov/research/umls/ Unified Medical Language System (UMLS) Metathesaurus] and the [http://bioportal.bioontology.org/ National Center for Biomedical Ontology (NCBO) BioPortal] ontologies. Such annotations facilitate translational discoveries by integrating annotated data.&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|OBA web service workflow]] &lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
&lt;br /&gt;
* Community &amp;amp; usage: [[mailto:whetzel@stanford.edu Trish Whetzel]]&lt;br /&gt;
* Design, utility &amp;amp; applications: [[mailto:nigam@stanford.edu Nigam Shah]] and [[mailto:jonquet@stanford.edu Clement Jonquet]]&lt;br /&gt;
* Technical support: [[mailto:cyoun@stanford.edu Cherie Youn]]&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* Annotator Design and underlying Data model: [http://obs.bioontology.org/docs/oba/OBA_v1.1_documentation.htm Documentation here]... to be move to the wiki soon.&lt;br /&gt;
&lt;br /&gt;
* Annotator User's Guide [[Annotator_User_Guide]]&lt;br /&gt;
&lt;br /&gt;
=== Versions (prototypes &amp;amp; releases) ===&lt;br /&gt;
&lt;br /&gt;
* April 2009 - First production version to come.&lt;br /&gt;
&lt;br /&gt;
* March 2009 - Prototype user interface has been deployed on the BioPortal staging server. Please contact us to try it.&lt;br /&gt;
&lt;br /&gt;
* October 2008 - The new prototype (v1.1) has bee released for testing and evaluation. Please check it out: [http://obs.bioontology.org/oba/OBA_v1.1_rest.html]&lt;br /&gt;
&lt;br /&gt;
* May 2008 - First prototype (v1.0) - Has been removed from servers.&lt;br /&gt;
&lt;br /&gt;
=== Community ===&lt;br /&gt;
&lt;br /&gt;
After 8 months of existence OBA counts already 8 academic groups (Univ. of California, San Francisco, Univ. of Indiana, Jackson Lab) that use and experiment the service in specific scenarios. Internally, we have used the annotation workflow to index biomedical data resources with ontology concepts (cf. [[Resources index Web services]]).&lt;br /&gt;
&lt;br /&gt;
Learn more about NCBO Annotator users &amp;amp; use cases: [[NCBO Annotator community]]&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8734</id>
		<title>Annotator Web service</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8734"/>
		<updated>2009-05-05T00:12:51Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations&lt;br /&gt;
''&lt;br /&gt;
=== Presentation &amp;amp; Demonstration ===&lt;br /&gt;
&lt;br /&gt;
The range of publicly available biomedical data is enormous and is expanding fast. This expansion means that researchers now face a hurdle to extracting the data they need from the large numbers of data that are available. Biomedical researchers have turned to ontologies and terminologies to structure and annotate their data with ontology concepts for better search and retrieval. However, this annotation process cannot be easily automated and often requires expert curators. Plus, there is a lack of easy-to-use systems that facilitate the use of ontologies for annotation. The NCBO Annotator (or Open Biomedical Annotator (OBA)) is an ontology-based Web service that annotates public datasets with biomedical ontology concepts based on their textual metadata. The biomedical community can use the annotator service to tag thier data automatically with ontology concepts. These concepts come from the [http://www.nlm.nih.gov/research/umls/ Unified Medical Language System (UMLS) Metathesaurus] and the [http://bioportal.bioontology.org/ National Center for Biomedical Ontology (NCBO) BioPortal] ontologies. Such annotations facilitate translational discoveries by integrating annotated data.&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|OBA web service workflow]] &lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
&lt;br /&gt;
* Community &amp;amp; usage: [[mailto:whetzel@stanford.edu Trish Whetzel]]&lt;br /&gt;
* Design, utility &amp;amp; applications: [[mailto:nigam@stanford.edu Nigam Shah]] and [[mailto:jonquet@stanford.edu Clement Jonquet]]&lt;br /&gt;
* Technical support: [[mailto:cyoun@stanford.edu Cherie Youn]]&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* Annotator Design and underlying Data model: [http://obs.bioontology.org/docs/oba/OBA_v1.1_documentation.htm Documentation here]... to be move to the wiki soon.&lt;br /&gt;
&lt;br /&gt;
* Annotator User's Guide [[/Annotator_User_Guide]]&lt;br /&gt;
&lt;br /&gt;
=== Versions (prototypes &amp;amp; releases) ===&lt;br /&gt;
&lt;br /&gt;
* April 2009 - First production version to come.&lt;br /&gt;
&lt;br /&gt;
* March 2009 - Prototype user interface has been deployed on the BioPortal staging server. Please contact us to try it.&lt;br /&gt;
&lt;br /&gt;
* October 2008 - The new prototype (v1.1) has bee released for testing and evaluation. Please check it out: [http://obs.bioontology.org/oba/OBA_v1.1_rest.html]&lt;br /&gt;
&lt;br /&gt;
* May 2008 - First prototype (v1.0) - Has been removed from servers.&lt;br /&gt;
&lt;br /&gt;
=== Community ===&lt;br /&gt;
&lt;br /&gt;
After 8 months of existence OBA counts already 8 academic groups (Univ. of California, San Francisco, Univ. of Indiana, Jackson Lab) that use and experiment the service in specific scenarios. Internally, we have used the annotation workflow to index biomedical data resources with ontology concepts (cf. [[Resources index Web services]]).&lt;br /&gt;
&lt;br /&gt;
Learn more about NCBO Annotator users &amp;amp; use cases: [[NCBO Annotator community]]&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8733</id>
		<title>Annotator Web service</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8733"/>
		<updated>2009-05-05T00:00:17Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations&lt;br /&gt;
''&lt;br /&gt;
=== Presentation &amp;amp; Demonstration ===&lt;br /&gt;
&lt;br /&gt;
The range of publicly available biomedical data is enormous and is expanding fast. This expansion means that researchers now face a hurdle to extracting the data they need from the large numbers of data that are available. Biomedical researchers have turned to ontologies and terminologies to structure and annotate their data with ontology concepts for better search and retrieval. However, this annotation process cannot be easily automated and often requires expert curators. Plus, there is a lack of easy-to-use systems that facilitate the use of ontologies for annotation. The NCBO Annotator (or Open Biomedical Annotator (OBA)) is an ontology-based Web service that annotates public datasets with biomedical ontology concepts based on their textual metadata. The biomedical community can use the annotator service to tag thier data automatically with ontology concepts. These concepts come from the [http://www.nlm.nih.gov/research/umls/ Unified Medical Language System (UMLS) Metathesaurus] and the [http://bioportal.bioontology.org/ National Center for Biomedical Ontology (NCBO) BioPortal] ontologies. Such annotations facilitate translational discoveries by integrating annotated data.&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|OBA web service workflow]] &lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
&lt;br /&gt;
* Community &amp;amp; usage: [[mailto:whetzel@stanford.edu Trish Whetzel]]&lt;br /&gt;
* Design, utility &amp;amp; applications: [[mailto:nigam@stanford.edu Nigam Shah]] and [[mailto:jonquet@stanford.edu Clement Jonquet]]&lt;br /&gt;
* Technical support: [[mailto:cyoun@stanford.edu Cherie Youn]]&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* Annotator Design and underlying Data model: [http://obs.bioontology.org/docs/oba/OBA_v1.1_documentation.htm Documentation here]... to be move to the wiki soon.&lt;br /&gt;
&lt;br /&gt;
* Annotator User's Guide&lt;br /&gt;
&lt;br /&gt;
=== Versions (prototypes &amp;amp; releases) ===&lt;br /&gt;
&lt;br /&gt;
* April 2009 - First production version to come.&lt;br /&gt;
&lt;br /&gt;
* March 2009 - Prototype user interface has been deployed on the BioPortal staging server. Please contact us to try it.&lt;br /&gt;
&lt;br /&gt;
* October 2008 - The new prototype (v1.1) has bee released for testing and evaluation. Please check it out: [http://obs.bioontology.org/oba/OBA_v1.1_rest.html]&lt;br /&gt;
&lt;br /&gt;
* May 2008 - First prototype (v1.0) - Has been removed from servers.&lt;br /&gt;
&lt;br /&gt;
=== Community ===&lt;br /&gt;
&lt;br /&gt;
After 8 months of existence OBA counts already 8 academic groups (Univ. of California, San Francisco, Univ. of Indiana, Jackson Lab) that use and experiment the service in specific scenarios. Internally, we have used the annotation workflow to index biomedical data resources with ontology concepts (cf. [[Resources index Web services]]).&lt;br /&gt;
&lt;br /&gt;
Learn more about NCBO Annotator users &amp;amp; use cases: [[NCBO Annotator community]]&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8732</id>
		<title>Annotator Web service</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_Web_service&amp;diff=8732"/>
		<updated>2009-05-04T23:57:38Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* Documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations&lt;br /&gt;
''&lt;br /&gt;
=== Presentation &amp;amp; Demonstration ===&lt;br /&gt;
&lt;br /&gt;
The range of publicly available biomedical data is enormous and is expanding fast. This expansion means that researchers now face a hurdle to extracting the data they need from the large numbers of data that are available. Biomedical researchers have turned to ontologies and terminologies to structure and annotate their data with ontology concepts for better search and retrieval. However, this annotation process cannot be easily automated and often requires expert curators. Plus, there is a lack of easy-to-use systems that facilitate the use of ontologies for annotation. The NCBO Annotator (or Open Biomedical Annotator (OBA)) is an ontology-based Web service that annotates public datasets with biomedical ontology concepts based on their textual metadata. The biomedical community can use the annotator service to tag thier data automatically with ontology concepts. These concepts come from the [http://www.nlm.nih.gov/research/umls/ Unified Medical Language System (UMLS) Metathesaurus] and the [http://bioportal.bioontology.org/ National Center for Biomedical Ontology (NCBO) BioPortal] ontologies. Such annotations facilitate translational discoveries by integrating annotated data.&lt;br /&gt;
&lt;br /&gt;
[[Image:OBA_service_workflow.png|thumb|OBA web service workflow]] &lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
&lt;br /&gt;
* Community &amp;amp; usage: [[mailto:whetzel@stanford.edu Trish Whetzel]]&lt;br /&gt;
* Design, utility &amp;amp; applications: [[mailto:nigam@stanford.edu Nigam Shah]] and [[mailto:jonquet@stanford.edu Clement Jonquet]]&lt;br /&gt;
* Technical support: [[mailto:cyoun@stanford.edu Cherie Youn]]&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* Annotator Design and underlying Data model [http://obs.bioontology.org/docs/oba/OBA_v1.1_documentation.htm Documentation here]... to be move to the wiki soon.&lt;br /&gt;
&lt;br /&gt;
* Annotator User's Guide&lt;br /&gt;
&lt;br /&gt;
=== Versions (prototypes &amp;amp; releases) ===&lt;br /&gt;
&lt;br /&gt;
* April 2009 - First production version to come.&lt;br /&gt;
&lt;br /&gt;
* March 2009 - Prototype user interface has been deployed on the BioPortal staging server. Please contact us to try it.&lt;br /&gt;
&lt;br /&gt;
* October 2008 - The new prototype (v1.1) has bee released for testing and evaluation. Please check it out: [http://obs.bioontology.org/oba/OBA_v1.1_rest.html]&lt;br /&gt;
&lt;br /&gt;
* May 2008 - First prototype (v1.0) - Has been removed from servers.&lt;br /&gt;
&lt;br /&gt;
=== Community ===&lt;br /&gt;
&lt;br /&gt;
After 8 months of existence OBA counts already 8 academic groups (Univ. of California, San Francisco, Univ. of Indiana, Jackson Lab) that use and experiment the service in specific scenarios. Internally, we have used the annotation workflow to index biomedical data resources with ontology concepts (cf. [[Resources index Web services]]).&lt;br /&gt;
&lt;br /&gt;
Learn more about NCBO Annotator users &amp;amp; use cases: [[NCBO Annotator community]]&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_User_Guide_v2.doc&amp;diff=7569</id>
		<title>File:BioPortal2.0 User Guide v2.doc</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_User_Guide_v2.doc&amp;diff=7569"/>
		<updated>2008-08-25T23:41:05Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Shared_Materials&amp;diff=7568</id>
		<title>Shared Materials</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Shared_Materials&amp;diff=7568"/>
		<updated>2008-08-25T23:37:44Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* NCBO Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists materials shared among members of NCBO&lt;br /&gt;
==NCBO Documents==&lt;br /&gt;
[[Public Requirements]]&lt;br /&gt;
&lt;br /&gt;
[[Media:cbio-r01-plan.v11.doc|Collaboration Plan]]&lt;br /&gt;
&lt;br /&gt;
[[Media:cBiO-5-pg Center Overview.v3.doc|Center Overview 5-page document]]&lt;br /&gt;
&lt;br /&gt;
[[Media:cbio_flyer_v3.pdf|NCBO Brochure]]&lt;br /&gt;
&lt;br /&gt;
[[Media:OBO-Foundry.doc|OBO Foundry]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BioPortal2.0_User_Guide_v2.doc|BioPortal 2.0 Restful URI Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BioPortal2.0_Admin_Guide_v2.doc|BioPortal 2.0 Restful URI Documentation (with Admin role)]]&lt;br /&gt;
&lt;br /&gt;
==NCBO Policies and Guidelines==&lt;br /&gt;
[[Citing the Center]]&lt;br /&gt;
&lt;br /&gt;
[[Acknowledgements in NCBO Papers]]&lt;br /&gt;
&lt;br /&gt;
==PowerPoint Presentations==&lt;br /&gt;
&lt;br /&gt;
===Project meeting March 2006 Talks===&lt;br /&gt;
&lt;br /&gt;
*[[Media:OBO-Core-Criteria.ppt|OBO Core Criteria, Barry Smith slides]]&lt;br /&gt;
*[[Media:AHM_Ashburner.ppt|Cambridge: Ashburner]]&lt;br /&gt;
*[[Media:AHM_Barry.ppt|Buffalo: Smith]]&lt;br /&gt;
*[[Media:AHM_Core1.ppt|Stanford: Murphy]]&lt;br /&gt;
*[[Media:AHM_LexGrid.ppt|Mayo: Buntrock]]&lt;br /&gt;
*[[Media:AHM_Monte.ppt|UOregon: Westerfield]]&lt;br /&gt;
*[[Media:AHM_Sim.ppt|UCSF: Sim]]&lt;br /&gt;
*[[Media:AHM_Peggy.ppt|UVic: Storey]]&lt;br /&gt;
*[[Media:AHM_Suzi.ppt|Berkeley: Lewis]]&lt;br /&gt;
*[[Media:AHM_OBD.ppt|Berkeley: Mungall]]&lt;br /&gt;
&lt;br /&gt;
===AMIA 2005 Talks===&lt;br /&gt;
#[[Media:Musen AMIA Panel.ppt|Mark Musen slides]]&lt;br /&gt;
#[[Media:AMIA_Bioontology_05.pdf|Chris Chute slides]]&lt;br /&gt;
#[[Media:SmithpanelSemantics.ppt|Barry Smith slides]]&lt;br /&gt;
#[[Media:AMIA_Oct2005_SLewis.ppt|Suzi Lewis slides]]&lt;br /&gt;
&lt;br /&gt;
===CSH Talks===&lt;br /&gt;
#[[Media:CSHL_22Oct2005_SLewis.ppt|Suzi Lewis slides]]&lt;br /&gt;
&lt;br /&gt;
===NCOR Talks===&lt;br /&gt;
#[[Media:cBio-NCOR_SLewis.ppt|Suzi Lewis slides]]&lt;br /&gt;
&lt;br /&gt;
===Phenotype November 2005 Talks===&lt;br /&gt;
#[[Media:Westerfield_Pheno_CSH.ppt|Monte Westerfield slides]]&lt;br /&gt;
#[[Media:Drysdale_Pheno_CSH.ppt|Rachel Drysdale slides]]&lt;br /&gt;
#[[Media:Mungall_Pheno_CSH.ppt|Chris Mungall slides]]&lt;br /&gt;
&lt;br /&gt;
===Phenotype December 2005 Talks===&lt;br /&gt;
* [[Media:cBioMockup_ZFIN0512.pdf|Erik Segerdell mockup]]&lt;br /&gt;
* [[Media:cBioRequirements_ZFIN0512.doc|Melissa Haendel and Erik Segerdell requirements]]&lt;br /&gt;
* [[Media:Uvic_viztools_Asimilar_Dec2005.ppt|Peggy Storey's (UVic) presentation on visualization]]&lt;br /&gt;
&lt;br /&gt;
===SMI Talk===&lt;br /&gt;
* [[Media:OntologyJoy.ppt|Suzi SMI Talk]]&lt;br /&gt;
&lt;br /&gt;
===NIH Kickoff Meeting Talks Dec 2005===&lt;br /&gt;
* [[Media:cBiO NCBC kickoff mtg.ppt|Kickoff Meeting Slides]]&lt;br /&gt;
&lt;br /&gt;
===HCLS===&lt;br /&gt;
* [[Media:Musen W3C HCLS-converted.ppt|HCLS meeting]]&lt;br /&gt;
&lt;br /&gt;
===NIH Dissemination Event July 2006===&lt;br /&gt;
*[http://www.bisti.nih.gov/ahm2006/Presentations/NCBO/Dissemination/Musen_AHM_Dissemination_Event.pdf Mark A. Musen: Ontology: A Vision for the Future and Its Realization]&lt;br /&gt;
* [http://www.bisti.nih.gov/ahm2006/Presentations%5CNCBO%5CDissemination%5CSmith_OBOFoundry_071906.ppt Barry Smith: The OBO Foundry]&lt;br /&gt;
&lt;br /&gt;
===PATO meeting May 2006, Hinxton===&lt;br /&gt;
*[[Media:Phenote-pato-hinxton-may-2006.ppt|Phenote slides, Mark Gibson]]&lt;br /&gt;
&lt;br /&gt;
===Berkeley-Stanford July 10 meeting===&lt;br /&gt;
*[[Media:Phenote-stanford-july-2006.ppt|Phenote slides,Mark Gibson]]&lt;br /&gt;
&lt;br /&gt;
===ZFin early August 2006 meeting===&lt;br /&gt;
*[[Media:Phenote-zfin-aug-1-2006.ppt|Phenote slides,Mark Gibson]]&lt;br /&gt;
&lt;br /&gt;
===CARO September 2006 meeting===&lt;br /&gt;
[[Media:CARO_minutes.doc|MEETING MINUTES]]&lt;br /&gt;
&lt;br /&gt;
PRESENTATIONS:&lt;br /&gt;
*[http://ontology.buffalo.edu/medo/CARO_Smith.ppt OBO Foundry Principles, Barry Smith]&lt;br /&gt;
*[[Media:ncbo-anatomy-2006-intro-cjm.ppt|OBO Foundry principles in GO, Chris Mungall]]&lt;br /&gt;
*[[Media:anatomy-and-stages.ppt|Stages,Chris Mungall]]&lt;br /&gt;
*[[Media:MODs-anatomy-mah.ppt|MODs Anatomy,Melissa Haendel]]&lt;br /&gt;
*[[Media:DOS_Seattle_SessionII.ppt|Part relationships during development, David Sutherland]]&lt;br /&gt;
*[[Media:Homology-review.ppt|Homology Review, Melissa Haendel]]&lt;br /&gt;
*[[Media:developing_structure_types.ppt|Classifying Developing Structures, David Sutherland]]&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_User_Guide_v2_.doc&amp;diff=7567</id>
		<title>File:BioPortal2.0 User Guide v2 .doc</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_User_Guide_v2_.doc&amp;diff=7567"/>
		<updated>2008-08-25T23:33:58Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_Admin_Guide_v2.doc&amp;diff=7566</id>
		<title>File:BioPortal2.0 Admin Guide v2.doc</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_Admin_Guide_v2.doc&amp;diff=7566"/>
		<updated>2008-08-25T23:33:17Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_User_Guide_v1.doc&amp;diff=7562</id>
		<title>File:BioPortal2.0 User Guide v1.doc</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_User_Guide_v1.doc&amp;diff=7562"/>
		<updated>2008-08-22T22:52:13Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_Admin_Guide_v1.doc&amp;diff=7561</id>
		<title>File:BioPortal2.0 Admin Guide v1.doc</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=File:BioPortal2.0_Admin_Guide_v1.doc&amp;diff=7561"/>
		<updated>2008-08-22T22:51:11Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Shared_Materials&amp;diff=7560</id>
		<title>Shared Materials</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Shared_Materials&amp;diff=7560"/>
		<updated>2008-08-22T22:46:07Z</updated>

		<summary type="html">&lt;p&gt;Cyoun: /* NCBO Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists materials shared among members of NCBO&lt;br /&gt;
==NCBO Documents==&lt;br /&gt;
[[Public Requirements]]&lt;br /&gt;
&lt;br /&gt;
[[Media:cbio-r01-plan.v11.doc|Collaboration Plan]]&lt;br /&gt;
&lt;br /&gt;
[[Media:cBiO-5-pg Center Overview.v3.doc|Center Overview 5-page document]]&lt;br /&gt;
&lt;br /&gt;
[[Media:cbio_flyer_v3.pdf|NCBO Brochure]]&lt;br /&gt;
&lt;br /&gt;
[[Media:OBO-Foundry.doc|OBO Foundry]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BioPortal2.0_Admin_Guide_v1.doc|BioPortal 2.0 Admin Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BioPortal2.0_User_Guide_v1.doc|BioPortal 2.0 User Guide]]&lt;br /&gt;
&lt;br /&gt;
==NCBO Policies and Guidelines==&lt;br /&gt;
[[Citing the Center]]&lt;br /&gt;
&lt;br /&gt;
[[Acknowledgements in NCBO Papers]]&lt;br /&gt;
&lt;br /&gt;
==PowerPoint Presentations==&lt;br /&gt;
&lt;br /&gt;
===Project meeting March 2006 Talks===&lt;br /&gt;
&lt;br /&gt;
*[[Media:OBO-Core-Criteria.ppt|OBO Core Criteria, Barry Smith slides]]&lt;br /&gt;
*[[Media:AHM_Ashburner.ppt|Cambridge: Ashburner]]&lt;br /&gt;
*[[Media:AHM_Barry.ppt|Buffalo: Smith]]&lt;br /&gt;
*[[Media:AHM_Core1.ppt|Stanford: Murphy]]&lt;br /&gt;
*[[Media:AHM_LexGrid.ppt|Mayo: Buntrock]]&lt;br /&gt;
*[[Media:AHM_Monte.ppt|UOregon: Westerfield]]&lt;br /&gt;
*[[Media:AHM_Sim.ppt|UCSF: Sim]]&lt;br /&gt;
*[[Media:AHM_Peggy.ppt|UVic: Storey]]&lt;br /&gt;
*[[Media:AHM_Suzi.ppt|Berkeley: Lewis]]&lt;br /&gt;
*[[Media:AHM_OBD.ppt|Berkeley: Mungall]]&lt;br /&gt;
&lt;br /&gt;
===AMIA 2005 Talks===&lt;br /&gt;
#[[Media:Musen AMIA Panel.ppt|Mark Musen slides]]&lt;br /&gt;
#[[Media:AMIA_Bioontology_05.pdf|Chris Chute slides]]&lt;br /&gt;
#[[Media:SmithpanelSemantics.ppt|Barry Smith slides]]&lt;br /&gt;
#[[Media:AMIA_Oct2005_SLewis.ppt|Suzi Lewis slides]]&lt;br /&gt;
&lt;br /&gt;
===CSH Talks===&lt;br /&gt;
#[[Media:CSHL_22Oct2005_SLewis.ppt|Suzi Lewis slides]]&lt;br /&gt;
&lt;br /&gt;
===NCOR Talks===&lt;br /&gt;
#[[Media:cBio-NCOR_SLewis.ppt|Suzi Lewis slides]]&lt;br /&gt;
&lt;br /&gt;
===Phenotype November 2005 Talks===&lt;br /&gt;
#[[Media:Westerfield_Pheno_CSH.ppt|Monte Westerfield slides]]&lt;br /&gt;
#[[Media:Drysdale_Pheno_CSH.ppt|Rachel Drysdale slides]]&lt;br /&gt;
#[[Media:Mungall_Pheno_CSH.ppt|Chris Mungall slides]]&lt;br /&gt;
&lt;br /&gt;
===Phenotype December 2005 Talks===&lt;br /&gt;
* [[Media:cBioMockup_ZFIN0512.pdf|Erik Segerdell mockup]]&lt;br /&gt;
* [[Media:cBioRequirements_ZFIN0512.doc|Melissa Haendel and Erik Segerdell requirements]]&lt;br /&gt;
* [[Media:Uvic_viztools_Asimilar_Dec2005.ppt|Peggy Storey's (UVic) presentation on visualization]]&lt;br /&gt;
&lt;br /&gt;
===SMI Talk===&lt;br /&gt;
* [[Media:OntologyJoy.ppt|Suzi SMI Talk]]&lt;br /&gt;
&lt;br /&gt;
===NIH Kickoff Meeting Talks Dec 2005===&lt;br /&gt;
* [[Media:cBiO NCBC kickoff mtg.ppt|Kickoff Meeting Slides]]&lt;br /&gt;
&lt;br /&gt;
===HCLS===&lt;br /&gt;
* [[Media:Musen W3C HCLS-converted.ppt|HCLS meeting]]&lt;br /&gt;
&lt;br /&gt;
===NIH Dissemination Event July 2006===&lt;br /&gt;
*[http://www.bisti.nih.gov/ahm2006/Presentations/NCBO/Dissemination/Musen_AHM_Dissemination_Event.pdf Mark A. Musen: Ontology: A Vision for the Future and Its Realization]&lt;br /&gt;
* [http://www.bisti.nih.gov/ahm2006/Presentations%5CNCBO%5CDissemination%5CSmith_OBOFoundry_071906.ppt Barry Smith: The OBO Foundry]&lt;br /&gt;
&lt;br /&gt;
===PATO meeting May 2006, Hinxton===&lt;br /&gt;
*[[Media:Phenote-pato-hinxton-may-2006.ppt|Phenote slides, Mark Gibson]]&lt;br /&gt;
&lt;br /&gt;
===Berkeley-Stanford July 10 meeting===&lt;br /&gt;
*[[Media:Phenote-stanford-july-2006.ppt|Phenote slides,Mark Gibson]]&lt;br /&gt;
&lt;br /&gt;
===ZFin early August 2006 meeting===&lt;br /&gt;
*[[Media:Phenote-zfin-aug-1-2006.ppt|Phenote slides,Mark Gibson]]&lt;br /&gt;
&lt;br /&gt;
===CARO September 2006 meeting===&lt;br /&gt;
[[Media:CARO_minutes.doc|MEETING MINUTES]]&lt;br /&gt;
&lt;br /&gt;
PRESENTATIONS:&lt;br /&gt;
*[http://ontology.buffalo.edu/medo/CARO_Smith.ppt OBO Foundry Principles, Barry Smith]&lt;br /&gt;
*[[Media:ncbo-anatomy-2006-intro-cjm.ppt|OBO Foundry principles in GO, Chris Mungall]]&lt;br /&gt;
*[[Media:anatomy-and-stages.ppt|Stages,Chris Mungall]]&lt;br /&gt;
*[[Media:MODs-anatomy-mah.ppt|MODs Anatomy,Melissa Haendel]]&lt;br /&gt;
*[[Media:DOS_Seattle_SessionII.ppt|Part relationships during development, David Sutherland]]&lt;br /&gt;
*[[Media:Homology-review.ppt|Homology Review, Melissa Haendel]]&lt;br /&gt;
*[[Media:developing_structure_types.ppt|Classifying Developing Structures, David Sutherland]]&lt;/div&gt;</summary>
		<author><name>Cyoun</name></author>
	</entry>
</feed>