<?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=Darren+Weber</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=Darren+Weber"/>
	<link rel="alternate" type="text/html" href="https://www.bioontology.org//wiki/Special:Contributions/Darren_Weber"/>
	<updated>2026-06-05T09:05:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Resource_Index&amp;diff=12604</id>
		<title>Resource Index</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Resource_Index&amp;diff=12604"/>
		<updated>2013-04-09T02:16:32Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Indexing biomedical resources with ontology concepts ''&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. &lt;br /&gt;
&lt;br /&gt;
Using the annotation workflow of the [[Annotator_Web_service|Annotator Web Service]] NCBO has built an biomedical resources index in which biomedical data is indexed by ontology concepts. The index allows a user to search for biomedical data based on ontology concepts. The NCBO Resource Index is directly queriable in the [http://bioportal.bioontology.org BioPortal] ontology repository: when a user browses a given concept, he has access (link) to the list of resource elements that have been annotated with this concept. A user can also search for resources directly using the 'All resources' tab.&lt;br /&gt;
&lt;br /&gt;
In the NCBO Resource Index, we have processed the textual metadata of elements from several biomedical resources such as: [http://www.ebi.ac.uk/arrayexpress/ ArrayExpress], [http://clinicaltrials.gov/ Clinical Trials.gov], [http://goldminer.arrs.org GoldMiner], [http://www.ncbi.nlm.nih.gov/geo/ Gene Expression Omnibus (GEO)] and others. The annotations in the index keeps track of the structures of elements that have been annotated i.e., from which part of the element (e.g., title, description) an annotation has been produced. This information is used to score annotations. &lt;br /&gt;
&lt;br /&gt;
[[Image:NCBO_Resource_Index_workflow.png|thumb|NCBO Resource Index workflow]]&lt;br /&gt;
&lt;br /&gt;
[[Image:OBR_index_creation_resources.png|thumb|NCBO Resource Index creation]]&lt;br /&gt;
&lt;br /&gt;
Please try the [http://bioportal.bioontology.org/resources NCBO Resource Index] in BioPortal.&lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
&lt;br /&gt;
*For questions or feature requests, contact [mailto:support@bioontology.org?subject=NCBO%20Resources%20Index%20support Support] &lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [[Resource Index REST Web Service User Guide]]&lt;br /&gt;
&lt;br /&gt;
* [http://rest.bioontology.org/resource_index/resources/list/ Currently available resource list.]&lt;br /&gt;
&lt;br /&gt;
* Add your own resource by developing a [http://stanford.edu/~whetzel/downloads/RATDevelopment.pdf Resource Access Tool] &lt;br /&gt;
&lt;br /&gt;
* Resource index design and underlying data model (see the bottom image on the right) [[Image:OBR_result_model.png|thumb| NCBO Resource Index data model]]&lt;br /&gt;
&lt;br /&gt;
* [[Processing_OBR_Resources]] - Notes on resources being processed - Developers only.&lt;br /&gt;
&lt;br /&gt;
* [[Populating_OBS_database]] - Notes on the population of the NCBO Resource Index DB used in the annotation workflow - Developers only.&lt;br /&gt;
&lt;br /&gt;
* [https://bmir-gforge.stanford.edu/gf/project/obs/ Corresponding Gforge project] - Developers only.&lt;br /&gt;
&lt;br /&gt;
=== References === &lt;br /&gt;
&lt;br /&gt;
*  Clement Jonquet, Mark A. Musen and Nigam H. Shah, '''A System for Ontology-Based Annotation of Biomedical Data''', ''In A. Bairoch, S. Cohen-Boulakia and C. Froidevaux (eds): International Workshop on Data Integration in The Life Sciences 2008, DILS'08,''  Vol. 5109, Lecture Notes in BioInformatics, p.144-152, Springer-Verlag, June 2008, Evry, France. [http://dils2008.lri.fr/ conference's web site] [http://www.stanford.edu/~jonquet/Publications/Documents/Article-DILS08_Jonquet_Musen_Shah_published.pdf pdf - 431Kb]&lt;br /&gt;
&lt;br /&gt;
*  Nigam H. Shah, Clement Jonquet, Annie P. Chiang, Atul J. Butte, Rong Chen, Mark A. Musen, '''Ontology-driven Indexing of Public Datasets for Translational Bioinformatics''', ''BMC Bioinformatics'', Vol. 10, February 2009. [http://www.biomedcentral.com/bmcbioinformatics/ journal's web site]  [http://www.stanford.edu/~jonquet/Publications/Documents/Article-BMCBioInformatics08-Shah-Jonquet-Ontolgy-based_Indexing.pdf pdf - 651 Kb]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Versions (prototypes &amp;amp; releases) ===&lt;br /&gt;
&lt;br /&gt;
* February 2009 - New prototype release (v1.2). API: http://obs.bioontology.org/obr/OBR_v1.2_rest.html&lt;br /&gt;
&lt;br /&gt;
* March 2008 - First prototype (v1 and v1.1) API: http://ncbolabs-dev2.stanford.edu:8080/Ontrez_v1_API/ - not maintained anymore, please do not use.&lt;br /&gt;
&lt;br /&gt;
* December 2008 - API specification for the new prototype (v1.2) - not maintained anymore, please do not use.&lt;br /&gt;
&lt;br /&gt;
=== Collaboration &amp;amp; Acknowledgment ===&lt;br /&gt;
&lt;br /&gt;
* The annotation workflow used to create the NCBO Resource Index uses Mgrep in the concept recognition step. We acknowledge the assistance of Manhong Dai and Fan Meng from the [http://portal.ncibi.org/gateway/ National Center for Integrative Biomedical Informatics] (NCIBI).&lt;br /&gt;
&lt;br /&gt;
* The user interface for the NCBO Resource Index client in BioPortal (http://bioportal.bioontology.org/all_resources) is designed &amp;amp; developed by NCBO members from [http://www.thechiselgroup.org/ University of Victoria]&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Ontology_Notes&amp;diff=12595</id>
		<title>Ontology Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Ontology_Notes&amp;diff=12595"/>
		<updated>2013-03-22T22:06:28Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Creating a 'New Term Proposal' proposal */  resolve inconsistency in parameter names between 'signature' and 'arguments'.  The 'new*' parameters don't work.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;BioPortal uses Notes to describe a variety of user-specified comments and metadata for an ontology, including new term proposals, requests for changes, comments and questions. &lt;br /&gt;
&lt;br /&gt;
The prefix for all production service URLs in the table below is http://rest.bioontology.org/bioportal&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO REST Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
== Types of notes in BioPortal ==&lt;br /&gt;
The following are the types of notes in BioPortal. Please, email us at [mailto:support@bioontology.org support@bioontology.org] if you have suggestions for other note types (or specific parameters for the notes).&lt;br /&gt;
&lt;br /&gt;
* Basic comments (as they are in BioPortal currently)&lt;br /&gt;
* Proposals &lt;br /&gt;
** New term proposal&lt;br /&gt;
*** PrefName&lt;br /&gt;
*** Synonym&lt;br /&gt;
*** Definition&lt;br /&gt;
*** Superclass&lt;br /&gt;
*** Comment&lt;br /&gt;
** New relationship proposal&lt;br /&gt;
*** Relationship type: is-a, part-of&lt;br /&gt;
*** Relationship target&lt;br /&gt;
** New attribute value proposal&lt;br /&gt;
*** Attribute: documentation, definition, etc.&lt;br /&gt;
*** New value&lt;br /&gt;
*** Flag: replaces the current value (which one, in case of multiple values) or in addition to the current value(s)&lt;br /&gt;
*** (future implementation) Special kind of new attribute value proposal: Assigning UMLS semantic type &lt;br /&gt;
**** Semantic type&lt;br /&gt;
**** Semantic typeID&lt;br /&gt;
&lt;br /&gt;
* (future implementation) Structured annotations with user-defined structure&lt;br /&gt;
* (future implementation) Usage-guideline notes&lt;br /&gt;
&lt;br /&gt;
== Web services to access and generate notes ==&lt;br /&gt;
If you have specific requirements that the list of services below does not satisfy, please contact us at [mailto:support@bioontology.org support@bioontology.org]&lt;br /&gt;
&lt;br /&gt;
=== Get notes for an ontology by version id ===&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./notes/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/notes/44450?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all notes for a specific version of the ontology &lt;br /&gt;
* '''Optional arguments:'''&lt;br /&gt;
** conceptid={conceptid} - returns notes associated with the given term.&lt;br /&gt;
** instanceid={instanceid} - returns notes associated with the given instance (individual).&lt;br /&gt;
** noteid={noteid} - returns notes associated with the given note id.&lt;br /&gt;
** threaded=[true|false] - returns notes in a threaded format where responses are nested in their parent notes. Default is false.&lt;br /&gt;
** Planned (not yet implemented):&lt;br /&gt;
*** notetype={notetype} - returns only the notes of the specific type.&lt;br /&gt;
*** includearchived=[true|false] - include archived notes. Default is false.&lt;br /&gt;
&lt;br /&gt;
=== Get notes for an ontology by virtual id ===&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/notes/{ontology virtual id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/notes/1104?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all notes for the virtual ontology, i.e., all notes associated with any version of this ontology &lt;br /&gt;
* '''Optional arguments:'''&lt;br /&gt;
** conceptid={conceptid} - returns notes associated with the given term.&lt;br /&gt;
** instanceid={instanceid} - returns notes associated with the given instance (individual).&lt;br /&gt;
** noteid={noteid} - returns notes associated with the given note id.&lt;br /&gt;
** threaded=[true|false] - returns notes in a threaded format where responses are nested in their parent notes. Default is false.&lt;br /&gt;
** Planned (not yet implemented):&lt;br /&gt;
*** notetype={notetype} - returns only the notes of the specific type.&lt;br /&gt;
*** includearchived=[true|false] - include archived notes. Default is false.&lt;br /&gt;
&lt;br /&gt;
=== Sample of the XML returned for a note ===&lt;br /&gt;
&lt;br /&gt;
==== Possible Values ====&lt;br /&gt;
Some elements have a range of possible returned values.&lt;br /&gt;
* appliesTo/type: Ontology|Class|Individual|Property|Note&lt;br /&gt;
* noteBean/type: Comment|ProposalForCreateEntity|ProposalForChangeHierarchy|ProposalForPropertyValueChange&lt;br /&gt;
** Notes with types other than Comment will have an element in noteBean/values that matches the noteBean/type. This contains information specific to these Notes types.&lt;br /&gt;
&lt;br /&gt;
==== A single 'Comment' note ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/virtual/notes/1104&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-04-26 13:02:57.418 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;list&amp;gt;&lt;br /&gt;
      &amp;lt;noteBean&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;Note_0a78922c-3d1e-4689-8af8-48d10d4cdaa8&amp;lt;/id&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
        &amp;lt;type&amp;gt;Comment&amp;lt;/type&amp;gt;&lt;br /&gt;
        &amp;lt;author&amp;gt;38143&amp;lt;/author&amp;gt;&lt;br /&gt;
        &amp;lt;created&amp;gt;1272070868364&amp;lt;/created&amp;gt;&lt;br /&gt;
        &amp;lt;updated&amp;gt;1272070868250&amp;lt;/updated&amp;gt;&lt;br /&gt;
        &amp;lt;subject&amp;gt;Including clinical trial data as clinical data&amp;lt;/subject&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;I note that clinical data is specifically defined not to include clinical trial data. So is anyone already thinking about where at a high level subtrees might be added to deal with clinical trial data and clinical trial management systems? Or is it premature to do that? This is for the CTSAs.&amp;lt;/body&amp;gt;&lt;br /&gt;
        &amp;lt;createdInOntologyVersion&amp;gt;2&amp;lt;/createdInOntologyVersion&amp;gt;&lt;br /&gt;
        &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
          &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
            &amp;lt;fullId&amp;gt;http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Clinical_Data&amp;lt;/fullId&amp;gt;&lt;br /&gt;
            &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
          &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
        &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
      &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
    &amp;lt;/list&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== A single 'New Term Proposal' note ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/virtual/notes/1104/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-04-26 18:13:24.407 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;list&amp;gt;&lt;br /&gt;
      &amp;lt;noteBean&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;Note_f8bb4dc0-10b3-48b9-ab69-79aed042c0ff&amp;lt;/id&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
        &amp;lt;type&amp;gt;ProposalForCreateEntity&amp;lt;/type&amp;gt;&lt;br /&gt;
        &amp;lt;author&amp;gt;1234&amp;lt;/author&amp;gt;&lt;br /&gt;
        &amp;lt;created&amp;gt;1272319359680&amp;lt;/created&amp;gt;&lt;br /&gt;
        &amp;lt;updated&amp;gt;1272319377224&amp;lt;/updated&amp;gt;&lt;br /&gt;
        &amp;lt;subject&amp;gt;Test Proposal Reply&amp;lt;/subject&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;Testing new term submission&amp;lt;/body&amp;gt;&lt;br /&gt;
        &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
          &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;type&amp;gt;Ontology&amp;lt;/type&amp;gt;&lt;br /&gt;
          &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
        &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
        &amp;lt;values&amp;gt;&lt;br /&gt;
          &amp;lt;ProposalForCreateEntity&amp;gt;&lt;br /&gt;
            &amp;lt;reasonForChange&amp;gt;Bad data&amp;lt;/reasonForChange&amp;gt;&lt;br /&gt;
            &amp;lt;contactInfo&amp;gt;palexander@stanford.edu&amp;lt;/contactInfo&amp;gt;&lt;br /&gt;
            &amp;lt;id&amp;gt;TERM_1100&amp;lt;/id&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;New Term&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;definition&amp;gt;Test new definition&amp;lt;/definition&amp;gt;&lt;br /&gt;
            &amp;lt;synonyms&amp;gt;&lt;br /&gt;
              &amp;lt;string&amp;gt;best term&amp;lt;/string&amp;gt;&lt;br /&gt;
              &amp;lt;string&amp;gt;amazing term&amp;lt;/string&amp;gt;&lt;br /&gt;
              &amp;lt;string&amp;gt;great term&amp;lt;/string&amp;gt;&lt;br /&gt;
            &amp;lt;/synonyms&amp;gt;&lt;br /&gt;
            &amp;lt;parent&amp;gt;&lt;br /&gt;
              &amp;lt;string&amp;gt;http://www.owl-ontologies.com/2009/9/24/Ontology1253802770.owl#Summary&amp;lt;/string&amp;gt;&lt;br /&gt;
            &amp;lt;/parent&amp;gt;&lt;br /&gt;
          &amp;lt;/ProposalForCreateEntity&amp;gt;&lt;br /&gt;
        &amp;lt;/values&amp;gt;&lt;br /&gt;
      &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
    &amp;lt;/list&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== A single 'Change Relationship/Hierarchy Proposal' note ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/virtual/notes/1104&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-04-26 18:21:52.474 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;noteBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;Note_b4e749c8-5ca7-414f-a123-acd16ba656fe&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;ProposalForChangeHierarchy&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;author&amp;gt;1234&amp;lt;/author&amp;gt;&lt;br /&gt;
      &amp;lt;created&amp;gt;1272331290991&amp;lt;/created&amp;gt;&lt;br /&gt;
      &amp;lt;updated&amp;gt;1272331295114&amp;lt;/updated&amp;gt;&lt;br /&gt;
      &amp;lt;subject&amp;gt;Change Relationship&amp;lt;/subject&amp;gt;&lt;br /&gt;
      &amp;lt;body&amp;gt;Testing change hierarchy&amp;lt;/body&amp;gt;&lt;br /&gt;
      &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
        &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
          &amp;lt;fullId&amp;gt;http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Clinical_Data&amp;lt;/fullId&amp;gt;&lt;br /&gt;
          &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
        &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
      &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
      &amp;lt;values&amp;gt;&lt;br /&gt;
        &amp;lt;ProposalForChangeHierarchy&amp;gt;&lt;br /&gt;
          &amp;lt;reasonForChange&amp;gt;Incorrect data&amp;lt;/reasonForChange&amp;gt;&lt;br /&gt;
          &amp;lt;contactInfo&amp;gt;palexander@stanford.edu/contactInfo&amp;gt;&lt;br /&gt;
          &amp;lt;relationshipTarget&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Software&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/relationshipTarget&amp;gt;&lt;br /&gt;
          &amp;lt;oldRelationshipTarget&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;isa&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/oldRelationshipTarget&amp;gt;&lt;br /&gt;
        &amp;lt;/ProposalForChangeHierarchy&amp;gt;&lt;br /&gt;
      &amp;lt;/values&amp;gt;&lt;br /&gt;
    &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== A single 'Property Value Change Proposal' note ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/virtual/notes/1104&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-04-26 18:25:30.465 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;noteBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;Note_8cfde654-2c2c-42e3-8187-0f6c05c6deff&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;ProposalForPropertyValueChange&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;author&amp;gt;1234&amp;lt;/author&amp;gt;&lt;br /&gt;
      &amp;lt;created&amp;gt;1272331520036&amp;lt;/created&amp;gt;&lt;br /&gt;
      &amp;lt;updated&amp;gt;1272331522822&amp;lt;/updated&amp;gt;&lt;br /&gt;
      &amp;lt;subject&amp;gt;Tet Property Value Change&amp;lt;/subject&amp;gt;&lt;br /&gt;
      &amp;lt;body&amp;gt;Testing a proposal to change a property value&amp;lt;/body&amp;gt;&lt;br /&gt;
      &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
        &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
          &amp;lt;fullId&amp;gt;http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Clinical_Data&amp;lt;/fullId&amp;gt;&lt;br /&gt;
          &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
        &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
      &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
      &amp;lt;values&amp;gt;&lt;br /&gt;
        &amp;lt;ProposalForPropertyValueChange&amp;gt;&lt;br /&gt;
          &amp;lt;reasonForChange&amp;gt;The value was entered incorrectly initially&amp;lt;/reasonForChange&amp;gt;&lt;br /&gt;
          &amp;lt;contactInfo&amp;gt;palexander@stanford.edu&amp;lt;/contactInfo&amp;gt;&lt;br /&gt;
          &amp;lt;newValue&amp;gt;200&amp;lt;/newValue&amp;gt;&lt;br /&gt;
          &amp;lt;oldValue&amp;gt;100&amp;lt;/oldValue&amp;gt;&lt;br /&gt;
          &amp;lt;propertyId&amp;gt;Cell_Count&amp;lt;/propertyId&amp;gt;&lt;br /&gt;
        &amp;lt;/ProposalForPropertyValueChange&amp;gt;&lt;br /&gt;
      &amp;lt;/values&amp;gt;&lt;br /&gt;
    &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== A nested thread of 'Comment' notes ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/virtual/notes/1104&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-04-26 13:21:28.104 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;list&amp;gt;&lt;br /&gt;
      &amp;lt;noteBean&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;Note_0a78922c-3d1e-4689-8af8-48d10d4cdaa8&amp;lt;/id&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
        &amp;lt;type&amp;gt;Comment&amp;lt;/type&amp;gt;&lt;br /&gt;
        &amp;lt;author&amp;gt;38143&amp;lt;/author&amp;gt;&lt;br /&gt;
        &amp;lt;created&amp;gt;1272070868364&amp;lt;/created&amp;gt;&lt;br /&gt;
        &amp;lt;updated&amp;gt;1272070868250&amp;lt;/updated&amp;gt;&lt;br /&gt;
        &amp;lt;subject&amp;gt;Including clinical trial data as clinical data&amp;lt;/subject&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;I note that clinical data is specifically defined not to include clinical trial data. So is anyone already thinking about where at a high level subtrees might be added to deal with clinical trial data and clinical trial management systems? Or is it premature to do that? This is for the CTSAs.&amp;lt;/body&amp;gt;&lt;br /&gt;
        &amp;lt;createdInOntologyVersion&amp;gt;2&amp;lt;/createdInOntologyVersion&amp;gt;&lt;br /&gt;
        &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
          &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
            &amp;lt;fullId&amp;gt;http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Clinical_Data&amp;lt;/fullId&amp;gt;&lt;br /&gt;
            &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
          &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
        &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
        &amp;lt;associated&amp;gt;&lt;br /&gt;
          &amp;lt;noteBean&amp;gt;&lt;br /&gt;
            &amp;lt;id&amp;gt;Note_02e4b8cd-f582-411c-8561-035a0f7d1dd9&amp;lt;/id&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;type&amp;gt;Comment&amp;lt;/type&amp;gt;&lt;br /&gt;
            &amp;lt;author&amp;gt;38144&amp;lt;/author&amp;gt;&lt;br /&gt;
            &amp;lt;created&amp;gt;1272070984380&amp;lt;/created&amp;gt;&lt;br /&gt;
            &amp;lt;updated&amp;gt;1272070984243&amp;lt;/updated&amp;gt;&lt;br /&gt;
            &amp;lt;subject&amp;gt;RE:Including clinical trial data as clinical data&amp;lt;/subject&amp;gt;&lt;br /&gt;
            &amp;lt;body&amp;gt;Not sure I follow the argument here.&amp;amp;amp;nbsp; Clinical trial data is covered under PHI so no distinction there.&amp;amp;amp;nbsp; Data generated in the course of delivering routine standard of care may be needed in the course of a clinical trial.&amp;amp;amp;nbsp; Does this make clinical trial data an overlapping superset of clinical data?&amp;lt;/body&amp;gt;&lt;br /&gt;
            &amp;lt;createdInOntologyVersion&amp;gt;2&amp;lt;/createdInOntologyVersion&amp;gt;&lt;br /&gt;
            &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
              &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
                &amp;lt;noteId&amp;gt;Note_0a78922c-3d1e-4689-8af8-48d10d4cdaa8&amp;lt;/noteId&amp;gt;&lt;br /&gt;
                &amp;lt;type&amp;gt;Note&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
            &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
            &amp;lt;associated&amp;gt;&lt;br /&gt;
              &amp;lt;noteBean&amp;gt;&lt;br /&gt;
                &amp;lt;id&amp;gt;Note_6bdc5fae-bd95-492c-ab47-0aaae7a2193a&amp;lt;/id&amp;gt;&lt;br /&gt;
                &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
                &amp;lt;type&amp;gt;Comment&amp;lt;/type&amp;gt;&lt;br /&gt;
                &amp;lt;author&amp;gt;38143&amp;lt;/author&amp;gt;&lt;br /&gt;
                &amp;lt;created&amp;gt;1272070985097&amp;lt;/created&amp;gt;&lt;br /&gt;
                &amp;lt;updated&amp;gt;1272070985195&amp;lt;/updated&amp;gt;&lt;br /&gt;
                &amp;lt;subject&amp;gt;RE:RE:Including clinical trial data as clinical data&amp;lt;/subject&amp;gt;&lt;br /&gt;
                &amp;lt;body&amp;gt;I was only reacting to the definition of BRO:Clinical_Data in the current version: &amp;amp;quot;Any type of data obtained in the course of caring for humans outside of measurements obtained in clinical trials&amp;amp;quot;. I think I&amp;amp;apos;m agreeing with you that clinical trial data should be overlapping clinical data (whether its a superset I&amp;amp;apos;m not sure). So I&amp;amp;apos;m not clear why the definition that is in the current version is there. Somehow this might be related to the fact that BRO:Data_Object is subclassed partly by function (eg clinical data) and partly by data type (eg image). I would think images could also be a type of clinical data.&amp;lt;/body&amp;gt;&lt;br /&gt;
                &amp;lt;createdInOntologyVersion&amp;gt;2&amp;lt;/createdInOntologyVersion&amp;gt;&lt;br /&gt;
                &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
                  &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
                    &amp;lt;noteId&amp;gt;Note_02e4b8cd-f582-411c-8561-035a0f7d1dd9&amp;lt;/noteId&amp;gt;&lt;br /&gt;
                    &amp;lt;type&amp;gt;Note&amp;lt;/type&amp;gt;&lt;br /&gt;
                  &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
                &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
              &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
              &amp;lt;noteBean&amp;gt;&lt;br /&gt;
                &amp;lt;id&amp;gt;Note_1b490c3a-dd19-458a-9446-5184e42d03ab&amp;lt;/id&amp;gt;&lt;br /&gt;
                &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
                &amp;lt;type&amp;gt;Comment&amp;lt;/type&amp;gt;&lt;br /&gt;
                &amp;lt;author&amp;gt;38145&amp;lt;/author&amp;gt;&lt;br /&gt;
                &amp;lt;created&amp;gt;1272070986051&amp;lt;/created&amp;gt;&lt;br /&gt;
                &amp;lt;updated&amp;gt;1272070986093&amp;lt;/updated&amp;gt;&lt;br /&gt;
                &amp;lt;subject&amp;gt;RE: Including clinical trial data as clinical data&amp;lt;/subject&amp;gt;&lt;br /&gt;
                &amp;lt;body&amp;gt;Hi David and all,&amp;amp;lt;br&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;Clinical Trial Data should probably be dealt with separately from Clinical Data&amp;amp;lt;br&amp;amp;gt;collected in the course of administering clinical care.&amp;amp;amp;nbsp; The use of Clinical&amp;amp;lt;br&amp;amp;gt;Trial data will be governed by the Consent that the patient signs as part of the&amp;amp;lt;br&amp;amp;gt;IRB Protocol that is set up to allow its collection, while the use Clinical Care&amp;amp;lt;br&amp;amp;gt;Data will be governed by the HIPAA notification that the patient receives, as&amp;amp;lt;br&amp;amp;gt;well as any IRB Protocols set up for the research involved.&amp;amp;lt;br&amp;amp;gt;&amp;lt;/body&amp;gt;&lt;br /&gt;
                &amp;lt;createdInOntologyVersion&amp;gt;2&amp;lt;/createdInOntologyVersion&amp;gt;&lt;br /&gt;
                &amp;lt;appliesToList&amp;gt;&lt;br /&gt;
                  &amp;lt;appliesTo&amp;gt;&lt;br /&gt;
                    &amp;lt;noteId&amp;gt;Note_02e4b8cd-f582-411c-8561-035a0f7d1dd9&amp;lt;/noteId&amp;gt;&lt;br /&gt;
                    &amp;lt;type&amp;gt;Note&amp;lt;/type&amp;gt;&lt;br /&gt;
                  &amp;lt;/appliesTo&amp;gt;&lt;br /&gt;
                &amp;lt;/appliesToList&amp;gt;&lt;br /&gt;
              &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
            &amp;lt;/associated&amp;gt;&lt;br /&gt;
          &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
        &amp;lt;/associated&amp;gt;&lt;br /&gt;
      &amp;lt;/noteBean&amp;gt;&lt;br /&gt;
    &amp;lt;/list&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Creating Notes in BioPortal =&lt;br /&gt;
BioPortal uses ontology notes to describe a variety of user-specified comments and metadata on ontology, including new-term proposals, proposals for changes, comments and questions about classes, and so on.&lt;br /&gt;
&lt;br /&gt;
== BioPortal and REST Principles ==&lt;br /&gt;
BioPortal utilizes REST principles to create, read, update, and delete resources. The following service documentation uses the HTTP POST method to create notes in the BioPortal system. For more information, please see [http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html W3C's documentation on HTTP methods].&lt;br /&gt;
&lt;br /&gt;
== Types of notes in BioPortal ==&lt;br /&gt;
The following are the types of notes in BioPortal. Please, email us at [mailto:support@bioontology.org support@bioontology.org] if you have suggestions for other note types (or specific parameters for the notes).&lt;br /&gt;
&lt;br /&gt;
* Basic comments (as they are in BioPortal currently)&lt;br /&gt;
* Proposals &lt;br /&gt;
** New term proposal&lt;br /&gt;
** New relationship proposal&lt;br /&gt;
** New attribute value proposal&lt;br /&gt;
&lt;br /&gt;
=== Creating a 'Comment' note ===&lt;br /&gt;
&lt;br /&gt;
* '''Signature (HTTP POST)''': ./virtual/notes/{ontology virtual id}?type=Comment&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype={appliestotype}&amp;amp;subject={subject}&amp;amp;content={content}&amp;amp;author={author}&amp;amp;email={email_address}&lt;br /&gt;
* '''Alt Signature (HTTP POST)''': ./notes/{ontology version id}?type=Comment&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype={appliestotype}&amp;amp;subject={subject}&amp;amp;content={content}&amp;amp;author={author}&amp;amp;email={email_address}&lt;br /&gt;
* '''Description''': creates a new note of the type 'Comment'&lt;br /&gt;
* '''Arguments''':&lt;br /&gt;
** type=Comment - the type of note to create.&lt;br /&gt;
** appliesto={appliestoid} - The id of the thing to associate the note with. This can be a class (term), individual, property, or another note. For classes, individuals, and properties, the specified id must exist in the target ontology. URIs must be URL-encoded.&lt;br /&gt;
** appliestotype={Ontology|Class|Individual|Property|Note} - The type of the thing that the note is associated with.&lt;br /&gt;
** subject={subject} - The subject for the comment.&lt;br /&gt;
** content={content} - The content of the comment.&lt;br /&gt;
** author={authorid} - The author's BioPortal user id.&lt;br /&gt;
** status={status} - Status for this notes. The Changes and Annotation Ontology provides a default set of statuses for proposals (Submitted, Rejected, Under Discussion, Under Review, Approved, Rejected, Implemented, Published) but the service also accepts arbitrary strings.&lt;br /&gt;
&lt;br /&gt;
=== Creating a 'New Term Proposal' proposal ===&lt;br /&gt;
&lt;br /&gt;
* '''Signature (HTTP POST)''': ./virtual/notes/{ontology virtual id}?type=ProposalForCreateEntity&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype=Ontology&amp;amp;subject={subject}&amp;amp;reasonforchange={reasonforchange}&amp;amp;author={author}&amp;amp;termdefinition={definition}&amp;amp;termparent={termparent}&amp;amp;termpreferredname={preferredname}&amp;amp;email={email_address}&lt;br /&gt;
* '''Alt Signature (HTTP POST)''': ./notes/{ontology version id}?type=ProposalForCreateEntity&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype=Ontology&amp;amp;subject={subject}&amp;amp;reasonforchange={reasonforchange}&amp;amp;author={author}&amp;amp;termdefinition={definition}&amp;amp;termparent={termparent}&amp;amp;termpreferredname={preferredname}&amp;amp;email={email_address}&lt;br /&gt;
* '''Description''': creates a new note of the type 'New Term Proposal'&lt;br /&gt;
* '''Arguments''' (* required):&lt;br /&gt;
** * type=ProposalForCreateEntity - the type of note to create.&lt;br /&gt;
** * appliesto={appliestoid} - The id of the thing to associate the note with. This can be a class (term), individual, property, or another note. For classes, individuals, and properties, the specified id must exist in the target ontology. URIs must be URL-encoded.&lt;br /&gt;
** * appliestotype={Ontology|Class} - The type of the thing that the note is associated with.&lt;br /&gt;
** * author={authorid} - The author's BioPortal user id.&lt;br /&gt;
** * reasonforchange={reason for change} - An explanation for why the proposal is being made.&lt;br /&gt;
** * termpreferredname={preferredname} - Preferred name for the new term.&lt;br /&gt;
** * termdefinition={definition} - Definition for the new term.&lt;br /&gt;
** * termparent={termparent} - ID for the parent of the new term. Must be a valid IRI or 'root' to include the term at the root of the ontology.&lt;br /&gt;
** subject={subject} - The subject for the comment.&lt;br /&gt;
** content={content} - The content of the comment.&lt;br /&gt;
** contactinfo={contact information} - Contact information for the entity making the request.&lt;br /&gt;
** termsynonyms={synonym1,synonym2,synonym3} - Synonyms for the new term. Can be a single entry or comma-separated list.&lt;br /&gt;
** status={status} - Status for this notes. The Changes and Annotation Ontology provides a default set of statuses for proposals (Submitted, Rejected, Under Discussion, Under Review, Approved, Rejected, Implemented, Published) but the service also accepts arbitrary strings.&lt;br /&gt;
* '''Removed Arugments''' (no longer used):&lt;br /&gt;
** newtermid={termid} - Proposed or generated id for the new term.&lt;br /&gt;
*** This has been removed to allow for automatic generation of temporary URI ids for use with terms. This will allow you to refer to a term immediately after creating a new term proposal.&lt;br /&gt;
&lt;br /&gt;
=== Creating a 'Change Relationship/Hierarchy' proposal ===&lt;br /&gt;
&lt;br /&gt;
* '''Signature (HTTP POST)''': ./virtual/notes/{ontology virtual id}?type=ProposalForChangeHierarchy&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype={appliestotype}&amp;amp;subject={subject}&amp;amp;content={content}&amp;amp;author={author}&amp;amp;newtermdefinition={definition}&amp;amp;newtermid={termid}&amp;amp;newtermparent={parent}&amp;amp;newtermpreferredname={preferredname}&amp;amp;newtermsynonyms={listofsynonyms}&amp;amp;email={email_address}&lt;br /&gt;
* '''Alt Signature (HTTP POST)''': ./notes/{ontology version id}?type=ProposalForChangeHierarchy&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype={appliestotype}&amp;amp;subject={subject}&amp;amp;content={content}&amp;amp;author={author}&amp;amp;newtermdefinition={definition}&amp;amp;newtermid={termid}&amp;amp;newtermparent={parent}&amp;amp;newtermpreferredname={preferredname}&amp;amp;newtermsynonyms={listofsynonyms}&amp;amp;email={email_address}&lt;br /&gt;
* '''Description''': creates a new note of the type 'Comment'&lt;br /&gt;
* '''Arguments''':&lt;br /&gt;
** type=ProposalForChangeHierarchy - the type of note to create.&lt;br /&gt;
** appliesto={appliestoid} - The id of the thing to associate the note with. This can be a class (term), individual, property, or another note. For classes, individuals, and properties, the specified id must exist in the target ontology. URIs must be URL-encoded.&lt;br /&gt;
** appliestotype=Class - The type of the thing that the note is associated with.&lt;br /&gt;
** subject={subject} - The subject for the comment.&lt;br /&gt;
** content={content} - The content of the comment.&lt;br /&gt;
** author={authorid} - The author's BioPortal user id.&lt;br /&gt;
** reasonforchange={reason for change} - An explanation for why the proposal is being made.&lt;br /&gt;
** contactinfo={contact information} - Contact information for the entity making the request.&lt;br /&gt;
** relationshiptype={relationshiptype} - The type of relationship that should be created (is_a, part_of, has_part, etc)&lt;br /&gt;
** relationshiptarget={relationshiptarget} - The term to create the relationship with.&lt;br /&gt;
** oldrelationshiptarget={oldrelationshiptarget} - The term that the relationship is being changed from (if different than relationshiptarget).&lt;br /&gt;
** status={status} - Status for this notes. The Changes and Annotation Ontology provides a default set of statuses for proposals (Submitted, Rejected, Under Discussion, Under Review, Approved, Rejected, Implemented, Published) but the service also accepts arbitrary strings.&lt;br /&gt;
&lt;br /&gt;
=== Creating a 'Change Property Value' proposal ===&lt;br /&gt;
&lt;br /&gt;
* '''Signature (HTTP POST)''': ./virtual/notes/{ontology virtual id}?type=ProposalForPropertyValueChange&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype={appliestotype}&amp;amp;subject={subject}&amp;amp;content={content}&amp;amp;author={author}&amp;amp;newpropertyvalue={newvalue}&amp;amp;oldpropertyvalue={oldvalue}&amp;amp;propertyid={propertyid}&amp;amp;email={email_address}&lt;br /&gt;
* '''Alt Signature (HTTP POST)''': ./notes/{ontology version id}?type=ProposalForPropertyValueChange&amp;amp;appliesto={appliestoid}&amp;amp;appliestotype={appliestotype}&amp;amp;subject={subject}&amp;amp;content={content}&amp;amp;author={author}&amp;amp;newpropertyvalue={newvalue}&amp;amp;oldpropertyvalue={oldvalue}&amp;amp;propertyid={propertyid}&amp;amp;email={email_address}&lt;br /&gt;
* '''Description''': creates a new note of the type 'Change Property Value'&lt;br /&gt;
* '''Arguments''':&lt;br /&gt;
** type=ProposalForPropertyValueChange - the type of note to create.&lt;br /&gt;
** appliesto={appliestoid} - The id of the thing to associate the note with. This can be a class (term), individual, property, or another note. For classes, individuals, and properties, the specified id must exist in the target ontology. URIs must be URL-encoded.&lt;br /&gt;
** appliestotype=Property - The type of the thing that the note is associated with.&lt;br /&gt;
** subject={subject} - The subject for the comment.&lt;br /&gt;
** content={content} - The content of the comment.&lt;br /&gt;
** author={authorid} - The author's BioPortal user id.&lt;br /&gt;
** reasonforchange={reason for change} - An explanation for why the proposal is being made.&lt;br /&gt;
** contactinfo={contact information} - Contact information for the entity making the request.&lt;br /&gt;
** newpropertyvalue={newpropertyvalue} - The new value for the property.&lt;br /&gt;
** oldpropertyvalue={oldpropertyvalue} - The old value for the property.&lt;br /&gt;
** propertyid={propertyid}= The ID of the property to change.&lt;br /&gt;
** status={status} - Status for this notes. The Changes and Annotation Ontology provides a default set of statuses for proposals (Submitted, Rejected, Under Discussion, Under Review, Approved, Rejected, Implemented, Published) but the service also accepts arbitrary strings.&lt;br /&gt;
&lt;br /&gt;
== Updating an Existing Note ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature (HTTP PUT)''': ./virtual/notes/{ontology virtual id}?noteid={note_id}&lt;br /&gt;
* '''Alt Signature (HTTP PUT)''': ./notes/{ontology version id}?noteid={note_id}&lt;br /&gt;
* '''Description''': updates an existing note using the given note id.&lt;br /&gt;
* '''Arguments:''' (* = required)&lt;br /&gt;
** * noteid={note_id} - Id of the note to update.&lt;br /&gt;
** archive=true - Archives the note with the given note id.&lt;br /&gt;
** archivethread=true - Archives all of the notes that are listed as associated to the given note id plus all of their children.&lt;br /&gt;
** unarchive=true - Unarchives the note with the given note id.&lt;br /&gt;
** unarchivethread=true - Unarchives all of the notes that are listed as associated to the given note id plus all of their children.&lt;br /&gt;
** type=Comment|ProposalForCreateEntity|ProposalForChangeHierarchy|ProposalForPropertyValueChange - the type of note.&lt;br /&gt;
** appliesto={appliestoid} - The id of the thing to associate the note with. This can be a class (term), individual, property, or another note. For classes, individuals, and properties, the specified id must exist in the target ontology. URIs must be URL-encoded.&lt;br /&gt;
** appliestotype=Property - The type of the thing that the note is associated with.&lt;br /&gt;
** subject={subject} - The subject for the note.&lt;br /&gt;
** content={content} - The content of the note.&lt;br /&gt;
** author={authorid} - The author's BioPortal user id.&lt;br /&gt;
** status={status} - Status for this notes. The Changes and Annotation Ontology provides a default set of statuses for proposals (Submitted, Rejected, Under Discussion, Under Review, Approved, Rejected, Implemented, Published) but the service also accepts arbitrary strings.&lt;br /&gt;
&lt;br /&gt;
== Web services to submit Terms ==&lt;br /&gt;
* See http://www.bioontology.org/wiki/index.php/BioPortal_Provisional_Terms&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12591</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12591"/>
		<updated>2013-03-13T18:58:28Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Overview - Using NCBO Technology in Your Project */   Refer to CTS2 wrapper.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.  See also work on wrapping Bioportal REST services as a [[CTS2_BioPortal_wrapper]].&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
Ontology files that were successfully parsed have a value of 3 for the &amp;lt;statusId&amp;gt; attribute in the XML response.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
* '''Note''': File downloads can include zip archives. Where multiple files are included in the archive, BioPortal uses the following algorithm to determine the primary file: 1) look for a file named the same as the archive with a different extension (IE .owl instead of .zip) and 2) if no similarly-named file exists, use the first file in the list when sorted alphabetically.&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
* '''Note''': File downloads can include zip archives. Where multiple files are included in the archive, BioPortal uses the following algorithm to determine the primary file: 1) look for a file named the same as the archive with a different extension (IE .owl instead of .zip) and 2) if no similarly-named file exists, use the first file in the list when sorted alphabetically.&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get Metrics for an ontology version ==&lt;br /&gt;
* '''Signature''': ./ontologies/metrics/{ontology version id}?apikey=YourAPIKey&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/metrics/40133?apikey=YourAPIKey&lt;br /&gt;
* More documentation: http://www.bioontology.org/wiki/index.php/Ontology_Metrics&lt;br /&gt;
&lt;br /&gt;
== Get all the namespace prefixes for an ontology version ==&lt;br /&gt;
* '''Signature''': ./ontologies/namespaces/{ontology version id}?apikey=YourAPIKey&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/namespaces/44450?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories == &lt;br /&gt;
* '''Signature''':   ./categories?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
* '''Signature''':   ./groups?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
* '''Note''': File downloads can include zip archives. Where multiple files are included in the archive, BioPortal uses the following algorithm to determine the primary file: 1) look for a file named the same as the archive with a different extension (IE .owl instead of .zip) and 2) if no similarly-named file exists, use the first file in the list when sorted alphabetically.&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology id}/{concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology id}?conceptid={uri-encoded concept id}&lt;br /&gt;
** To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
Examples using Alt Signature&lt;br /&gt;
* http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
Examples using Alt Virtual Signature&lt;br /&gt;
* http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id},{concept id},...,{concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** '''NOTE''': To ensure that the Web service works within your application, url-encode the concept id as some ontologies may contain terms where the concept id is a URI.&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/?conceptid=NEMO_0000024&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/47799/?conceptid=NEMO_1398000&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=CTS2_BioPortal_wrapper&amp;diff=12590</id>
		<title>CTS2 BioPortal wrapper</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=CTS2_BioPortal_wrapper&amp;diff=12590"/>
		<updated>2013-03-13T18:55:40Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: Change reference to widget page to the generic page on using Bioportal.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This page contains a summary of the current state of the CTS2 / BioPortal wrapper.  It covers the goals of the project, the approach and methodology that was used and finishes with a summary of the current state of the project, a discussion of some of the issues that were encountered and a list of what remains to be resolved.&lt;br /&gt;
&lt;br /&gt;
== Project Goals ==&lt;br /&gt;
The [http://bioportal.bioontology.org/ NCBO BioPortal] was created &amp;quot;to access and share ontologies that are actively used in biomedical communities.&amp;quot;  To meet this goal, BioPortal has developed the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services BioPortal REST API], which can be used to access BioPortal using http.  One of the primary applications of this API are web browsers that can use Ajax widgets to browse and access ontology content for a variety of uses (see [[Using_NCBO_Technology_In_Your_Project]]).&lt;br /&gt;
&lt;br /&gt;
The Common Terminology Services 2 (CTS2) specification was created in response to a set of requirements published by Health Level Seven (HL7) and an RFP that was issued by the Object Management Group.  This Platform Independent Model (PIM) was designed to be fully compatible with Fielding's notion of the  RESTful Architectural Style and one of the key Platform Specific Models (PSM's) is based on http/REST.  The model, documentation, schema and WADL can be found on the home page of this wiki.&lt;br /&gt;
&lt;br /&gt;
The NCBO community believes that it will be advantageous to be able to access the BioPortal content through both the existing BioPortal REST API and, where appropriate, the nascent CTS2 REST API. The BioPortal API was used as an one of the inputs to the CTS2 specification.  The CTS2 specification was heavily influenced by the LexGrid terminology model and the LexEVS service specification and LexEVS is one of the back end components of the BioPortal implementation. There were, however, decisions made in the CTS2 specification that weren't fully compatible with the existing BioPortal model.  &lt;br /&gt;
&lt;br /&gt;
The purpose of this project was to create a mapping between the existing BioPortal API and the corresponding components of the CTS2 REST specification to determine where potential issues and incompatibilities may lie and to use the results of this evaluation to determine (a) the best approach would be to creating a complete, robust CTS2 REST wrapper (b) uncover errors and omissions in the CTS2 specification and (c) to come up with recommendations about how the BioPortal REST API might be enhanced or improved.&lt;br /&gt;
&lt;br /&gt;
== Approach ==&lt;br /&gt;
We began by gathering a list of the key BioPortal resources - Ontology, AbstractConcept, Class, Property and Instance along with various lists.  Lacking a formal XML Schema for these resources, we used a combination of sample content from the REST service and the java bean classes for each of the resources to assemble lists of the properties for each of these resources, their types and, where it could be determined their cardinality.  We went through these lists, gathering sample input from the REST API - both in form of lists of elements and individual elements. &lt;br /&gt;
&lt;br /&gt;
There were a number of conceptual issues that were uncovered in this process, including:&lt;br /&gt;
* CTS2 has a notions of ''Code System'' and ''Code System Version''.  While BioPortal has similar concepts -  &amp;quot;virtual ontology&amp;quot; and &amp;quot;ontology&amp;quot; in the ontology interface and &amp;quot;ontology&amp;quot; and &amp;quot;ontology version&amp;quot; in the search interface, the &amp;quot;virtual ontology&amp;quot; has no attributes besides its identifier. &lt;br /&gt;
* BioPortal treats both full ontologies and subsets derived from full ontologies as instances of &amp;quot;ontology&amp;quot;. Lists and queries apply to both types of resource - [[bpr:ontologies|a list of the latest version of ontologies]] returns both the ontologies themselves as well as all subsets.  Similarly, term queries return both the ontology in which the term is defined and any subsets that include that term.  CTS2 treats Code Systems (ontologies) and Value Sets (subsets) as separate resources.  Lists and queries go against one or the other resource but not both.&lt;br /&gt;
* BioPortal assumes that all terms are instances of exactly one of &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot; or &amp;quot;instance&amp;quot;.  CTS2 allows ''entity'' (the equivalent of &amp;quot;term&amp;quot;) to exist without making this distinction.   In addition, while the CTS2 REST model does not clearly show how this could be done, the intent of the CTS2 model is to allow an entity to simultaneously be a Class and Instance, Class and Property, etc.&lt;br /&gt;
&lt;br /&gt;
We then created a [[CTS2_BioPortal_Rest_mapping|map]] from each of the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services BioPortal REST signatures] and the equivalent [http://informatics.mayo.edu/cts2/index.php/Rest_Signatures CTS2 REST signature(s)], wherever possible.&lt;br /&gt;
&lt;br /&gt;
These documents were then used to construct a CTS2 REST Server that used the BioPortal REST services as the back end implementation.  In addition, we took a number of the interesting BioPortal Ajax widgets and modified them to use the CTS2 REST api instead.  A synopsis of the REST services that were implemented can be found [[BioPortal_wrapper_summary|here]] and a list of the translated Ajax Widgets can be found [http://informatics.mayo.edu/cts2/index.php/BioPortal_Ajax here ].&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
As expected, a number of issues were encountered in this process including:&lt;br /&gt;
* This is the link to the subset of the CTS2 rest service was implemented is in the [[CTS2_BioPortal_wrapper_summary| CTS2 BioPortal wrapper]]&lt;br /&gt;
* Resource/Resource Version mismatch - discussed earlier&lt;br /&gt;
* MetaOntology and MetaOntology mapping - BioPortal has several enumerations (Category, Group, Status) that aren't first class ontologies and, even if they were, might be better served were they drawn from OMV or a similar resource&lt;br /&gt;
* URI's - BioPortal has its own URI's but many of these ontologies have one or more &amp;quot;official&amp;quot; URI's drawn from outside sources.&lt;br /&gt;
* REST hyperlinks - one of the key aspects of the REST architectural style is to provide the ability to navigate the web of resources without having to know how to construct URI's.  As an example, an entity reference in CTS2 (e.g. http://informatics.mayo.edu:19280/exist/cts2/codesystem/SCT/version/SCT_2010_01_31/entity/900000000000002006) carries in it a link to both the code system and the code system version in which it is described.  Similarly, the descriptionType, language and any other attribute that references an ontology component has the potential for containing a hyperlink.   Constructing some of these hyperlinks from the BioPortal REST service can be non-trivial. &lt;br /&gt;
&lt;br /&gt;
The proposed next steps would be to review the mapping and determine whether to:&lt;br /&gt;
(a) Complete the remaining tasks using the current wrapper paradigm&lt;br /&gt;
(b) Re-implement the interfaces against the lower level BioPortal interfaces and databases&lt;br /&gt;
(c) Produce a hybrid for the time being and focus on an RDF based implementation.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=CTS2_BioPortal_wrapper&amp;diff=12589</id>
		<title>CTS2 BioPortal wrapper</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=CTS2_BioPortal_wrapper&amp;diff=12589"/>
		<updated>2013-03-13T18:48:42Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: Add wiki link to NCBO Widget documentation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This page contains a summary of the current state of the CTS2 / BioPortal wrapper.  It covers the goals of the project, the approach and methodology that was used and finishes with a summary of the current state of the project, a discussion of some of the issues that were encountered and a list of what remains to be resolved.&lt;br /&gt;
&lt;br /&gt;
== Project Goals ==&lt;br /&gt;
The [http://bioportal.bioontology.org/ NCBO BioPortal] was created &amp;quot;to access and share ontologies that are actively used in biomedical communities.&amp;quot;  To meet this goal, BioPortal has developed the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services BioPortal REST API], which can be used to access BioPortal using http.  One of the primary applications of this API are web browsers that can use Ajax widgets to browse and access ontology content for a variety of uses (see [[NCBO_Widgets]]).&lt;br /&gt;
&lt;br /&gt;
The Common Terminology Services 2 (CTS2) specification was created in response to a set of requirements published by Health Level Seven (HL7) and an RFP that was issued by the Object Management Group.  This Platform Independent Model (PIM) was designed to be fully compatible with Fielding's notion of the  RESTful Architectural Style and one of the key Platform Specific Models (PSM's) is based on http/REST.  The model, documentation, schema and WADL can be found on the home page of this wiki.&lt;br /&gt;
&lt;br /&gt;
The NCBO community believes that it will be advantageous to be able to access the BioPortal content through both the existing BioPortal REST API and, where appropriate, the nascent CTS2 REST API. The BioPortal API was used as an one of the inputs to the CTS2 specification.  The CTS2 specification was heavily influenced by the LexGrid terminology model and the LexEVS service specification and LexEVS is one of the back end components of the BioPortal implementation. There were, however, decisions made in the CTS2 specification that weren't fully compatible with the existing BioPortal model.  &lt;br /&gt;
&lt;br /&gt;
The purpose of this project was to create a mapping between the existing BioPortal API and the corresponding components of the CTS2 REST specification to determine where potential issues and incompatibilities may lie and to use the results of this evaluation to determine (a) the best approach would be to creating a complete, robust CTS2 REST wrapper (b) uncover errors and omissions in the CTS2 specification and (c) to come up with recommendations about how the BioPortal REST API might be enhanced or improved.&lt;br /&gt;
&lt;br /&gt;
== Approach ==&lt;br /&gt;
We began by gathering a list of the key BioPortal resources - Ontology, AbstractConcept, Class, Property and Instance along with various lists.  Lacking a formal XML Schema for these resources, we used a combination of sample content from the REST service and the java bean classes for each of the resources to assemble lists of the properties for each of these resources, their types and, where it could be determined their cardinality.  We went through these lists, gathering sample input from the REST API - both in form of lists of elements and individual elements. &lt;br /&gt;
&lt;br /&gt;
There were a number of conceptual issues that were uncovered in this process, including:&lt;br /&gt;
* CTS2 has a notions of ''Code System'' and ''Code System Version''.  While BioPortal has similar concepts -  &amp;quot;virtual ontology&amp;quot; and &amp;quot;ontology&amp;quot; in the ontology interface and &amp;quot;ontology&amp;quot; and &amp;quot;ontology version&amp;quot; in the search interface, the &amp;quot;virtual ontology&amp;quot; has no attributes besides its identifier. &lt;br /&gt;
* BioPortal treats both full ontologies and subsets derived from full ontologies as instances of &amp;quot;ontology&amp;quot;. Lists and queries apply to both types of resource - [[bpr:ontologies|a list of the latest version of ontologies]] returns both the ontologies themselves as well as all subsets.  Similarly, term queries return both the ontology in which the term is defined and any subsets that include that term.  CTS2 treats Code Systems (ontologies) and Value Sets (subsets) as separate resources.  Lists and queries go against one or the other resource but not both.&lt;br /&gt;
* BioPortal assumes that all terms are instances of exactly one of &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot; or &amp;quot;instance&amp;quot;.  CTS2 allows ''entity'' (the equivalent of &amp;quot;term&amp;quot;) to exist without making this distinction.   In addition, while the CTS2 REST model does not clearly show how this could be done, the intent of the CTS2 model is to allow an entity to simultaneously be a Class and Instance, Class and Property, etc.&lt;br /&gt;
&lt;br /&gt;
We then created a [[CTS2_BioPortal_Rest_mapping|map]] from each of the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services BioPortal REST signatures] and the equivalent [http://informatics.mayo.edu/cts2/index.php/Rest_Signatures CTS2 REST signature(s)], wherever possible.&lt;br /&gt;
&lt;br /&gt;
These documents were then used to construct a CTS2 REST Server that used the BioPortal REST services as the back end implementation.  In addition, we took a number of the interesting BioPortal Ajax widgets and modified them to use the CTS2 REST api instead.  A synopsis of the REST services that were implemented can be found [[BioPortal_wrapper_summary|here]] and a list of the translated Ajax Widgets can be found [http://informatics.mayo.edu/cts2/index.php/BioPortal_Ajax here ].&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
As expected, a number of issues were encountered in this process including:&lt;br /&gt;
* This is the link to the subset of the CTS2 rest service was implemented is in the [[CTS2_BioPortal_wrapper_summary| CTS2 BioPortal wrapper]]&lt;br /&gt;
* Resource/Resource Version mismatch - discussed earlier&lt;br /&gt;
* MetaOntology and MetaOntology mapping - BioPortal has several enumerations (Category, Group, Status) that aren't first class ontologies and, even if they were, might be better served were they drawn from OMV or a similar resource&lt;br /&gt;
* URI's - BioPortal has its own URI's but many of these ontologies have one or more &amp;quot;official&amp;quot; URI's drawn from outside sources.&lt;br /&gt;
* REST hyperlinks - one of the key aspects of the REST architectural style is to provide the ability to navigate the web of resources without having to know how to construct URI's.  As an example, an entity reference in CTS2 (e.g. http://informatics.mayo.edu:19280/exist/cts2/codesystem/SCT/version/SCT_2010_01_31/entity/900000000000002006) carries in it a link to both the code system and the code system version in which it is described.  Similarly, the descriptionType, language and any other attribute that references an ontology component has the potential for containing a hyperlink.   Constructing some of these hyperlinks from the BioPortal REST service can be non-trivial. &lt;br /&gt;
&lt;br /&gt;
The proposed next steps would be to review the mapping and determine whether to:&lt;br /&gt;
(a) Complete the remaining tasks using the current wrapper paradigm&lt;br /&gt;
(b) Re-implement the interfaces against the lower level BioPortal interfaces and databases&lt;br /&gt;
(c) Produce a hybrid for the time being and focus on an RDF based implementation.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12460</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12460"/>
		<updated>2012-09-17T22:53:06Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Get Metrics for an ontology version */ fix the signature syntax.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get Metrics for an ontology version ==&lt;br /&gt;
* '''Signature''': ./ontologies/metrics/{ontology version id}?apikey=YourAPIKey&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/metrics/40133?apikey=YourAPIKey&lt;br /&gt;
* More documentation: http://www.bioontology.org/wiki/index.php/Ontology_Metrics&lt;br /&gt;
&lt;br /&gt;
== Get all the namespace prefixes for an ontology version ==&lt;br /&gt;
* '''Signature''': ./ontologies/namespaces/{ontology version id}?apikey=YourAPIKey&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/namespaces/44450?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories == &lt;br /&gt;
* '''Signature''':   ./categories?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
* '''Signature''':   ./groups?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id},{concept id},...,{concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** '''NOTE''': To ensure that the Web service works within your application, url-encode the concept id as some ontologies may contain terms where the concept id is a URI.&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/?conceptid=NEMO_0000024&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/47799/?conceptid=NEMO_1398000&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12447</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12447"/>
		<updated>2012-09-06T22:35:24Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Services to access ontologies and ontology versions */  Add documentation for the 'namespaces' of an ontology version.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get Metrics for an ontology version ==&lt;br /&gt;
* '''Signature''': ./ontologies/metrics?apikey=YourAPIKey&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/metrics/40133?apikey=YourAPIKey&lt;br /&gt;
* More documentation: http://www.bioontology.org/wiki/index.php/Ontology_Metrics&lt;br /&gt;
&lt;br /&gt;
== Get all the namespace prefixes for an ontology version ==&lt;br /&gt;
* '''Signature''': ./ontologies/namespaces/{ontology version id}?apikey=YourAPIKey&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/namespaces/44450?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories == &lt;br /&gt;
* '''Signature''':   ./categories?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
* '''Signature''':   ./groups?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id},{concept id},...,{concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/?conceptid=NEMO_0000024&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/47799/?conceptid=NEMO_1398000&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12440</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12440"/>
		<updated>2012-09-05T19:24:24Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* RDF Term Service */  revised ontology version term so it works&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id},{concept id},...,{concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/?conceptid=NEMO_0000024&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/47799/?conceptid=NEMO_1398000&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12439</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12439"/>
		<updated>2012-09-05T19:18:23Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* RDF Term Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/?conceptid={concept id},{concept id},...,{concept id}&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/?conceptid=NEMO_0000024&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/?conceptid=NEMO_0000023&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12438</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12438"/>
		<updated>2012-09-05T19:16:25Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* RDF Term Service */ add explicit 'conceptid=' parameter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/conceptid={concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/conceptid={concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/conceptid={concept id},{concept id},...,{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/conceptid=NEMO_0000024?apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/conceptid=NEMO_0000023?apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12422</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12422"/>
		<updated>2012-08-02T21:51:39Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Get an instance and its property/value pairs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
==  Get siblings of a given concept in the latest version of a given ontology ==&lt;br /&gt;
* '''Signature''': ./virtual/siblings/{ontlogyId}/{conceptId}?level=&amp;lt;level&amp;gt;&amp;amp;apikey={YourAPIKey}&amp;amp;[&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/siblings/1032/Melanoma?level=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** level=&amp;lt;integer&amp;gt; - limits results to a given level in the hierarchy&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
* '''Description''': The same as the previous service, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id},{concept id},...,{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/NEMO_0000024?apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/NEMO_0000023?apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12421</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12421"/>
		<updated>2012-08-02T21:48:00Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Get all direct instances for a given term */  conceptid is not an optional parameter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}[?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}]&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Neoplasm?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey (returns an empty list since the term Melanoma is a leaf node)&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
==  Get siblings of a given concept in the latest version of a given ontology ==&lt;br /&gt;
* '''Signature''': ./virtual/siblings/{ontlogyId}/{conceptId}?level=&amp;lt;level&amp;gt;&amp;amp;apikey={YourAPIKey}&amp;amp;[&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/siblings/1032/Melanoma?level=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** level=&amp;lt;integer&amp;gt; - limits results to a given level in the hierarchy&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
* '''Description''': The same as the previous service, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id},{concept id},...,{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/NEMO_0000024?apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/NEMO_0000023?apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=NCBO_Widgets&amp;diff=12410</id>
		<title>NCBO Widgets</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=NCBO_Widgets&amp;diff=12410"/>
		<updated>2012-07-18T20:03:50Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Term-selection field on a form */  Adding documentation for object type attributes in auto-complete widgets&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NCBO widgets are the HTML or Javascript code that you can put on your Web site or Web form to use BioPortal functionality there. Using NCBO Widgets is just one of [[Using_NCBO_Technology_In_Your_Project|the ways in which you can use the NCBO technology directly on your Web site or in your application]].&lt;br /&gt;
&lt;br /&gt;
= Types of NCBO Widgets and use cases = &lt;br /&gt;
* '''[[#Term-selection field on a form|Term-selection field on a form]]''':   You can add a text field to your Web form that will let users enter a term from a controlled vocabulary (e.g., terms from a single ontology)&lt;br /&gt;
** ''Example use case'': Suppose you are running a tissue microarray database and users upload sample descriptions to your database using a web form. There is usually a field for the user to enter the diagnosis for the tissue sample that she is entering. Usually, this field is a text-box or a drop down menu populated with a list of controlled terms. The free text-box is prone to errors, the drop-down gets too unwieldy with large terminologies. Using the NCBO term-selection widget to have users easily select a term from an ontology or controlled vocabulary (such as the NCI Thesaurus) to fill in the field. For example, when the user starts typing &amp;quot;cutaneous me&amp;quot;, the term &amp;quot;cutaneous melanoma&amp;quot; pops up.&lt;br /&gt;
** ''What does the term-selection field get you'': &lt;br /&gt;
*** Look-ahead so that you don't need to type the whole term&lt;br /&gt;
*** Controlled vocabulary provides consistency of the way different users use the term (If you want to put &amp;quot;Malignant melanoma&amp;quot;, it will always be the same term from NCIT, regardless of how a user started typing it&lt;br /&gt;
*** When a new version of your controlled vocabulary becomes available in BioPortal, the widget will automatically use that new version.&lt;br /&gt;
*'''[[#Ontology search widget|Ontology search widget]]''': You can add to your Web site a search box that searches a specific BioPortal ontology. When the user selects the term of interest (with the help of the look-ahead feature), he can jump to the BioPortal page for the corresponding concept in BioPortal.&lt;br /&gt;
*'''[[#Feed widget|Feed widget]]''': you can put a widget on your site that will have a live feed of all the changes to your ontology of interest, such as uploads of a new version, comments from other users, new mappings for concepts in your ontology.&lt;br /&gt;
*'''[[#Ontology visualization widget|Ontology visualization widget]]''': You can put a widget on your Web site that visualizes your entire ontology of interest, or some part of it, as on the [http://bioportal.bioontology.org/visualize/39478#t_tab1: &amp;quot;Visualize&amp;quot; tab in BioPortal].&lt;br /&gt;
*&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;**NEW**&amp;lt;/font&amp;gt;  '''[[#OntologyTree Widget|OntologyTree Widget]]''': You can put a widget on your Web site that displays the ontology tree, or some part of it, as on the [http://bioportal.bioontology.org/visualize/39478#t_tab1: &amp;quot;Visualize&amp;quot; tab in BioPortal].&lt;br /&gt;
&lt;br /&gt;
= How to use NCBO Widgets=&lt;br /&gt;
&lt;br /&gt;
The easiest way to add any NCBO widget to your HTML page or Web form is by following these steps:&lt;br /&gt;
* Find your ontology of interest in the [http://bioportal.bioontology.org/ontologies list of BioPortal ontologies] (e.g., NCI Thesaurus)&lt;br /&gt;
* Click on the ontology name to get to the page with '''Details''' for that ontology (e.g., the [http://bioportal.bioontology.org/ontologies/39478 Details for NCI Thesaurus])&lt;br /&gt;
* On the Ontology Details page, go to '''Ontology Widgets''' tab&lt;br /&gt;
* Select the widget you want&lt;br /&gt;
* Click the button below the widgets to get instructions for the specific widget&lt;br /&gt;
&lt;br /&gt;
== Term-selection field on a form ==&lt;br /&gt;
&lt;br /&gt;
To add a field to your form that lets the user fetch a term from your ontology of interest, do the following:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Download the [http://bioportal.bioontology.org/javascripts/widgets/form_complete.js &amp;lt;b&amp;gt;form_complete.js file&amp;lt;/b&amp;gt;] and put it on your server&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;In the header for the page where you want the form field, include the &amp;lt;b&amp;gt;form_complete.js&amp;lt;/b&amp;gt; file&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;On your form, for the fields where you want to use the term-selection widget, specify the field's class in the following format: &amp;lt;code&amp;gt;bp_form_complete-{ontology_id_list}-{value}&amp;lt;/code&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;For example, &amp;lt;code&amp;gt;bp_form_complete-1032-uri&amp;lt;/code&amp;gt; will use NCI Thesaurus (ontology id is 1032) and will put the term URI in the field after the user selects the term from the pull-down list.&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; In addition to single ontology ids, you can use a list:&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;bp_form_complete-1032,1089-uri&amp;lt;/code&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;b&amp;gt;OR&amp;lt;/b&amp;gt; use 'all' to search across all BioPortal ontologies:&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;bp_form_complete-all-uri&amp;lt;/code&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You can use the following parameters to select which value will be placed into the user-visible input field:&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;uri&amp;lt;/code&amp;gt; : put the complete URI of the term (e.g., &amp;quot;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Common_Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;shortid&amp;lt;/code&amp;gt; : put the short id of the term, as used in BioPortal (e.g., &amp;quot;Common_Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; : put the preferred name of the term (e.g., &amp;quot;Common Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Hidden form elements auto-generated ====&lt;br /&gt;
In addition to the input element you defined, there are four hidden form elements that are created and then set when a user selects a term from the list. For example, if you create a field with this code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;a&amp;quot; class=&amp;quot;bp_form_complete-all-uri&amp;quot; size=&amp;quot;100&amp;quot;/&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The 'name' attribute is used to create the four following fields (note how the 'a' from the name attribute is appended to the id attribute):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_preferred_name&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_concept_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_ontology_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_full_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Optional attributes ====&lt;br /&gt;
		&amp;lt;ul&amp;gt;&lt;br /&gt;
			&amp;lt;li&amp;gt;&lt;br /&gt;
				&amp;lt;strong&amp;gt;Include term definitions.&amp;lt;/strong&amp;gt;&lt;br /&gt;
				Use &amp;lt;code&amp;gt;data-bp_include_definitions=&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
				This will display definitions with the list of terms that are returned.  For example, use this code to display search results for 'heart' terms, with&lt;br /&gt;
				definitions, in the NCI Thesaurus.&lt;br /&gt;
				&amp;lt;br/&amp;gt;&lt;br /&gt;
				&amp;lt;code&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;m&amp;quot; data-bp_include_definitions=&amp;quot;true&amp;quot; class=&amp;quot;bp_form_complete-1032-name&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
			&amp;lt;/li&amp;gt;&lt;br /&gt;
			&amp;lt;li&amp;gt;&lt;br /&gt;
				&amp;lt;strong&amp;gt;Limit lookup to terms below a root term.&amp;lt;/strong&amp;gt;&lt;br /&gt;
				Use &amp;lt;code&amp;gt;data-bp_search_branch=&amp;quot;{conceptid}&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
				(replace {conceptid} with the term id for the term to use as the &lt;br /&gt;
				branch root).  For example, use this code to limit the search for 'heart' to terms &lt;br /&gt;
				within the 'Anatomic_Structure_System_or_Substance'&lt;br /&gt;
				branch of the NCI Thesaurus.&lt;br /&gt;
				&amp;lt;br/&amp;gt;&lt;br /&gt;
				&amp;lt;code&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;n&amp;quot; data-bp_search_branch=&amp;quot;Anatomic_Structure_System_or_Substance&amp;quot; class=&amp;quot;bp_form_complete-1032-name&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
			&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;Object types&amp;lt;/strong&amp;gt;&lt;br /&gt;
			  &amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			  &amp;lt;li&amp;gt;&lt;br /&gt;
				&amp;lt;strong&amp;gt;Search 'class' and 'property' objects.&amp;lt;/strong&amp;gt;&lt;br /&gt;
				Use &amp;lt;code&amp;gt;data-bp_objecttypes=&amp;quot;class,property&amp;quot;.&amp;lt;/code&amp;gt;&lt;br /&gt;
				For example, use this code to search for 'function' among both 'class' and&lt;br /&gt;
				'property' objects from the &amp;quot;Adverse Event Reporting Ontology&amp;quot;.&lt;br /&gt;
				&amp;lt;br/&amp;gt;&lt;br /&gt;
				&amp;lt;code&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;o&amp;quot; data-bp_objecttypes=&amp;quot;class,property&amp;quot; class=&amp;quot;bp_form_complete-1580-uri&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
			  &amp;lt;/li&amp;gt;&lt;br /&gt;
			  &amp;lt;li&amp;gt;&lt;br /&gt;
				&amp;lt;strong&amp;gt;Search only 'property' objects.&amp;lt;/strong&amp;gt;&lt;br /&gt;
				Use &amp;lt;code&amp;gt;data-bp_objecttypes=&amp;quot;property&amp;quot;.&amp;lt;/code&amp;gt;&lt;br /&gt;
				For example, use this code to search for 'function' among only &lt;br /&gt;
				'property' objects from the &amp;quot;Adverse Event Reporting Ontology&amp;quot;.&lt;br /&gt;
				&amp;lt;br/&amp;gt;&lt;br /&gt;
				&amp;lt;code&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;p&amp;quot; data-bp_objecttypes=&amp;quot;property&amp;quot; class=&amp;quot;bp_form_complete-1580-uri&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
			  &amp;lt;/li&amp;gt;&lt;br /&gt;
			  &amp;lt;li&amp;gt;&lt;br /&gt;
				&amp;lt;strong&amp;gt;Search 'class' and 'individual' objects.&amp;lt;/strong&amp;gt;&lt;br /&gt;
				Use &amp;lt;code&amp;gt;data-bp_objecttypes=&amp;quot;class,individual&amp;quot;.&amp;lt;/code&amp;gt;&lt;br /&gt;
				For example, use this code to search for 'seizure' among 'class' and&lt;br /&gt;
				'individual' objects from the &amp;quot;Adverse Event Reporting Ontology&amp;quot;.&lt;br /&gt;
				&amp;lt;br/&amp;gt;&lt;br /&gt;
				&amp;lt;code&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;q&amp;quot; data-bp_objecttypes=&amp;quot;class,individual&amp;quot; class=&amp;quot;bp_form_complete-1580-uri&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
			  &amp;lt;/li&amp;gt;&lt;br /&gt;
			  &amp;lt;li&amp;gt;&lt;br /&gt;
				&amp;lt;strong&amp;gt;Only search 'individual' objects.&amp;lt;/strong&amp;gt;&lt;br /&gt;
				Use &amp;lt;code&amp;gt;data-bp_objecttypes=&amp;quot;individual&amp;quot;.&amp;lt;/code&amp;gt;&lt;br /&gt;
				For example, use this code to this search for 'seizure' only among &lt;br /&gt;
				'individual' objects from the &amp;quot;Adverse Event Reporting Ontology&amp;quot;.&lt;br /&gt;
				&amp;lt;br/&amp;gt;&lt;br /&gt;
				&amp;lt;code&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;r&amp;quot; data-bp_objecttypes=&amp;quot;individual&amp;quot; class=&amp;quot;bp_form_complete-1580-uri&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
			  &amp;lt;/li&amp;gt;&lt;br /&gt;
		      &amp;lt;/ul&amp;gt;&lt;br /&gt;
		&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ontology search widget ==&lt;br /&gt;
&lt;br /&gt;
To add a search widget to your HTML page that searches a specific ontology, do the following:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Download the [http://bioportal.bioontology.org/javascripts/widgets/quick_jump.js &amp;lt;b&amp;gt;quick_jump.js file&amp;lt;/b&amp;gt;] and put it on your server&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Copy the code below and paste it to your HTML page. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;bp_quick_jump&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
    var BP_ontology_id = &amp;quot;1016&amp;quot;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;quick_jump.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; If you would like to use Quick Jump across multiple ontologies:&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You can enter a comma-separated list of ontology ids:&amp;lt;br&amp;gt;&lt;br /&gt;
        var BP_ontology_id = &amp;quot;1032,1089&amp;quot;;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You cans set the variable to 'all' to search all ontologies in BioPortal:&amp;lt;br&amp;gt;&lt;br /&gt;
        var BP_ontology_id = &amp;quot;all&amp;quot;;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;In the code that you just pasted, make sure to change the path to the quick_jump.js file to point to the location where you put the file (relative to your HTML file)&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;For example, if you put the quick_jump.js file in the same directory as your HTML file, this is the code you would use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
    var BP_ontology_id = &amp;quot;1032&amp;quot;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;quick_jump.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    To limit the term lookup to a particular branch of an ontology, include the following Javascript in your page (replace conceptid with the id for the term which you would like to use as the root of your branch): &lt;br /&gt;
    &amp;lt;code&amp;gt;var BP_search_branch = &amp;quot;{conceptid}&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    To display definitions with the list of terms that are returned, include the following Javascript in your page: &lt;br /&gt;
    &amp;lt;code&amp;gt;var BP_include_definitions = true;&amp;lt;/code&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feed widget ==&lt;br /&gt;
&lt;br /&gt;
To add a Feed widget to your HTML page, simple copy the code from the Ontology Widget page for your ontology of interest. Here is a sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
	var BP_ontology_id = &amp;quot;1032&amp;quot;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://bioportal.bioontology.org/javascripts/widgets/feed_widget.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ontology visualization widget ==&lt;br /&gt;
To add a widget visualizing your ontology to your HTML page, simple copy the code from the Ontology Widget page for your ontology of interest. Here is a sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;object classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&lt;br /&gt;
	id=&amp;quot;FlexoViz&amp;quot; width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot;&lt;br /&gt;
	codebase=&amp;quot;http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://keg.cs.uvic.ca/ncbo/flexviz/FlexoViz.swf&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;bgcolor&amp;quot; value=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;allowScriptAccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;embed src=&amp;quot;http://keg.cs.uvic.ca/ncbo/flexviz/FlexoViz.swf&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot;&lt;br /&gt;
		width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot; name=&amp;quot;FlexoViz&amp;quot; align=&amp;quot;middle&amp;quot;&lt;br /&gt;
		play=&amp;quot;true&amp;quot;&lt;br /&gt;
		loop=&amp;quot;false&amp;quot;&lt;br /&gt;
		quality=&amp;quot;high&amp;quot;&lt;br /&gt;
		allowScriptAccess=&amp;quot;always&amp;quot;&lt;br /&gt;
		type=&amp;quot;application/x-shockwave-flash&amp;quot;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
		pluginspage=&amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/embed&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;			&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want the visualization to be focused on a particular term in the ontology, you can add the term id to the parameters above. For example, to have the widget focus on Melanoma in NCI Thesaurus, replace the following line in the snippet above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;nodeid=Melanoma&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(''note &amp;quot;&amp;amp;nodeid=Melanoma&amp;quot;'')&lt;br /&gt;
&lt;br /&gt;
== OntologyTree Widget ==&lt;br /&gt;
&lt;br /&gt;
'''Description'''&amp;lt;br&amp;gt;&lt;br /&gt;
The OntologyTree widget is an embeddable Flex application that allows a user to interact with a tree browser for ontologies. The widget can be configured to display a list of all the ontologies in BioPortal, allowing the user to select which one to view, or can be setup to view a particular ontology. Additionally, there are several Javascript helper functions for the widget, allowing it to be utilized as a fully functional component in other applications.&lt;br /&gt;
&lt;br /&gt;
'''Location'''&amp;lt;br&amp;gt;&lt;br /&gt;
http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&lt;br /&gt;
&lt;br /&gt;
'''Parameters'''&lt;br /&gt;
* '''ontology''' = The id of the ontology to use, by default it assumes this value is the ontology version id&lt;br /&gt;
* '''virtual''' [true|false] - If true then the above ontology parameter is assumed to be a virtual ontology id&lt;br /&gt;
* '''canchangeontology''' [true|false] = If false then users can't change the current ontology&lt;br /&gt;
* '''canchangeroot''' [true|false] = If true the the user can specify a root concept (using the context menu)&lt;br /&gt;
* '''rootconceptid''' = The id of the root concept to show in the tree, leave out to show the ontology roots&lt;br /&gt;
* '''server''' = The rest server to use. Defaults to &amp;quot;http://rest.bioontology.org/bioportal/&amp;quot;.&lt;br /&gt;
* '''redirecturl''' = The url to redirect to for terms and ontologies (in BioPortal). Defaults to &amp;quot;http://bioportal.bioontology.org/&amp;quot;.&lt;br /&gt;
* '''alerterrors''' [true|false] = If true then errors will be displayed in an annoying popup box.&lt;br /&gt;
* '''title''' = The title for the browser window&lt;br /&gt;
&lt;br /&gt;
'''Embed Example'''&amp;lt;br&amp;gt;&lt;br /&gt;
Using Javascript (preferred):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/AC_OETags.js&amp;quot; language=&amp;quot;javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
// -----------------------------------------------------------------------------&lt;br /&gt;
// Globals&lt;br /&gt;
// Major version of Flash required&lt;br /&gt;
var requiredMajorVersion = 9;&lt;br /&gt;
// Minor version of Flash required&lt;br /&gt;
var requiredMinorVersion = 0;&lt;br /&gt;
// Minor version of Flash required&lt;br /&gt;
var requiredRevision = 124;&lt;br /&gt;
// -----------------------------------------------------------------------------&lt;br /&gt;
// --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)&lt;br /&gt;
var hasProductInstall = DetectFlashVer(6, 0, 65);&lt;br /&gt;
&lt;br /&gt;
// Version check based upon the values defined in globals&lt;br /&gt;
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);&lt;br /&gt;
&lt;br /&gt;
if (hasProductInstall &amp;amp;&amp;amp; !hasRequestedVersion) {&lt;br /&gt;
    // DO NOT MODIFY THE FOLLOWING FOUR LINES&lt;br /&gt;
    // Location visited after installation is complete if installation is required&lt;br /&gt;
    var MMPlayerType = (isIE == true) ? &amp;quot;ActiveX&amp;quot;: &amp;quot;PlugIn&amp;quot;;&lt;br /&gt;
    var MMredirectURL = window.location;&lt;br /&gt;
    document.title = document.title.slice(0, 47) + &amp;quot; - Flash Player Installation&amp;quot;;&lt;br /&gt;
    var MMdoctitle = document.title;&lt;br /&gt;
&lt;br /&gt;
    AC_FL_RunContent(&lt;br /&gt;
    &amp;quot;src&amp;quot;, &amp;quot;playerProductInstall&amp;quot;,&lt;br /&gt;
    &amp;quot;FlashVars&amp;quot;, &amp;quot;MMredirectURL=&amp;quot; + MMredirectURL + '&amp;amp;MMplayerType=' + MMPlayerType + '&amp;amp;MMdoctitle=' + MMdoctitle + &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;width&amp;quot;, &amp;quot;300&amp;quot;,&lt;br /&gt;
    &amp;quot;height&amp;quot;, &amp;quot;100%&amp;quot;,&lt;br /&gt;
    &amp;quot;align&amp;quot;, &amp;quot;middle&amp;quot;,&lt;br /&gt;
    &amp;quot;id&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;quality&amp;quot;, &amp;quot;high&amp;quot;,&lt;br /&gt;
    &amp;quot;bgcolor&amp;quot;, &amp;quot;#ffffff&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;allowScriptAccess&amp;quot;, &amp;quot;always&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;, &amp;quot;application/x-shockwave-flash&amp;quot;,&lt;br /&gt;
    &amp;quot;pluginspage&amp;quot;, &amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&lt;br /&gt;
    );&lt;br /&gt;
} else if (hasRequestedVersion) {&lt;br /&gt;
    // if we've detected an acceptable version&lt;br /&gt;
    // embed the Flash Content SWF when all tests are passed&lt;br /&gt;
    AC_FL_RunContent(&lt;br /&gt;
    &amp;quot;src&amp;quot;, &amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot;,&lt;br /&gt;
    &amp;quot;width&amp;quot;, &amp;quot;300&amp;quot;,&lt;br /&gt;
    &amp;quot;height&amp;quot;, &amp;quot;100%&amp;quot;,&lt;br /&gt;
    &amp;quot;align&amp;quot;, &amp;quot;middle&amp;quot;,&lt;br /&gt;
    &amp;quot;id&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;quality&amp;quot;, &amp;quot;high&amp;quot;,&lt;br /&gt;
    &amp;quot;bgcolor&amp;quot;, &amp;quot;#ffffff&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;allowScriptAccess&amp;quot;, &amp;quot;always&amp;quot;,&lt;br /&gt;
    &amp;quot;flashVars&amp;quot;, &amp;quot;ontology=&amp;amp;virtual=false&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;amp;rootconceptid=&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;, &amp;quot;application/x-shockwave-flash&amp;quot;,&lt;br /&gt;
    &amp;quot;pluginspage&amp;quot;, &amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&lt;br /&gt;
    );&lt;br /&gt;
} else {&lt;br /&gt;
    // flash is too old or we can't detect the plugin&lt;br /&gt;
    var alternateContent = 'Alternate HTML content should be placed here. '&lt;br /&gt;
    + 'This content requires the Adobe Flash Player. '&lt;br /&gt;
    + '&amp;lt;a href=http://www.adobe.com/go/getflash/&amp;gt;Get Flash&amp;lt;/a&amp;gt;';&lt;br /&gt;
    document.write(alternateContent);&lt;br /&gt;
    // insert non-flash content&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using HTML:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;object classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&lt;br /&gt;
	id=&amp;quot;OntologyTree&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;100%&amp;quot;&lt;br /&gt;
	codebase=&amp;quot;http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;bgcolor&amp;quot; value=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;allowScriptAccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;flashVars&amp;quot; value=&amp;quot;ontology=&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;embed src=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot; quality=&amp;quot;high&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot;&lt;br /&gt;
		width=&amp;quot;300&amp;quot; height=&amp;quot;100%&amp;quot; name=&amp;quot;OntologyTree&amp;quot; align=&amp;quot;middle&amp;quot;&lt;br /&gt;
		play=&amp;quot;true&amp;quot;&lt;br /&gt;
		loop=&amp;quot;false&amp;quot;&lt;br /&gt;
		allowScriptAccess=&amp;quot;always&amp;quot;&lt;br /&gt;
		type=&amp;quot;application/x-shockwave-flash&amp;quot;&lt;br /&gt;
		flashVars=&amp;quot;ontology=&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;quot;&lt;br /&gt;
		pluginspage=&amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/embed&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using GWT:&lt;br /&gt;
* See http://code.google.com/p/gwt2swf/ for information on how to embed SWF in GWT.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Javascript API Calls'''&amp;lt;br&amp;gt;&lt;br /&gt;
You will need to copy/paste this code to a Javascript file or embed directly in the HTML for usage in your page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* &lt;br /&gt;
 * The following JavaScript functions allow you to interact with the Flash BioPortal Ontology Tree.  &lt;br /&gt;
 * You can load an ontology by id, and get the current ontology id or name.&lt;br /&gt;
 * Once an ontology is loaded then you can get the currently selected concept by id or name,&lt;br /&gt;
 * and you can also select a concept by id or name.  &lt;br /&gt;
 * You can also listen for one of these events by implementing the following functions (see the stubs below):&lt;br /&gt;
 * appComplete, treeSelectionChanged, treeNodeDoubleClicked, or errorLoadingOntology&lt;br /&gt;
 *&lt;br /&gt;
 * These are the parameters that you can pass into the application using the &amp;quot;flashVars&amp;quot; parameter:&lt;br /&gt;
 * (see the examples below):&lt;br /&gt;
 * - ontology: the id of the ontology (version or virtual)&lt;br /&gt;
 * - virtual: if false (default) then the ontology id above is the version id&lt;br /&gt;
 * 			  if true then the above ontology id is assumed to be the virtual id &lt;br /&gt;
 * - alerterrors: (true/false) determines whether the application will display errors (default is false)&lt;br /&gt;
 * - server: defines the URL of the rest server (null by default)&lt;br /&gt;
 * - title: changes the default title for the page &lt;br /&gt;
 * - canchangeontology: if true then the ontology can be changed&lt;br /&gt;
 * - rootconceptid: sets the optional root node of the tree&lt;br /&gt;
 * - canchangeroot: if false then the root of the tree cannot be changed by the user (using context menu items)&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
// get a handle for the flash application&lt;br /&gt;
function getApp() {&lt;br /&gt;
	if (navigator.appName.indexOf (&amp;quot;Microsoft&amp;quot;) != -1) {&lt;br /&gt;
		app = window[&amp;quot;OntologyTree&amp;quot;];&lt;br /&gt;
	} else {&lt;br /&gt;
		app = document[&amp;quot;OntologyTree&amp;quot;];&lt;br /&gt;
	}&lt;br /&gt;
	if (app == null) {&lt;br /&gt;
		app = document.getElementById(&amp;quot;OntologyTree&amp;quot;);&lt;br /&gt;
	}&lt;br /&gt;
	if (app == null) {&lt;br /&gt;
		alert(&amp;quot;Could not get Flash object, JavaScript/Flex communication failed.&amp;quot;);&lt;br /&gt;
	}&lt;br /&gt;
	return app;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// these are the available functions that you can call ONCE the &lt;br /&gt;
// flash SWF has finished loading&lt;br /&gt;
&lt;br /&gt;
/** Loads a new ontology by id. */&lt;br /&gt;
function loadOntology(ontologyID) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadOntology) {&lt;br /&gt;
		app.loadOntology(ontologyID);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the id of the current ontology, will be null if no ontology is loaded. */&lt;br /&gt;
function getOntologyID() {&lt;br /&gt;
	var ontologyID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getOntologyID) {&lt;br /&gt;
		ontologyID = app.getOntologyID();&lt;br /&gt;
	}&lt;br /&gt;
	return ontologyID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the name of the current ontology, will be null if no ontology is loaded. */&lt;br /&gt;
function getOntologyName() {&lt;br /&gt;
	var ontologyName = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getOntologyName) {&lt;br /&gt;
		ontologyName = app.getOntologyName();&lt;br /&gt;
	}&lt;br /&gt;
	return ontologyName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the id of the currently selected concept, will be null if nothing is selected. */&lt;br /&gt;
function getSelectedConceptID() {&lt;br /&gt;
	var conceptID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptID) {&lt;br /&gt;
		conceptID = app.getSelectedConceptID();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** &lt;br /&gt;
 * Gets the full id (not all ontologies support this) of the currently selected concept. &lt;br /&gt;
 * Will be null if nothing is selected, will be the same as the conceptID if no fullID exists. &lt;br /&gt;
 */&lt;br /&gt;
function getSelectedConceptFullID() {&lt;br /&gt;
	var conceptID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptFullID) {&lt;br /&gt;
		conceptID = app.getSelectedConceptFullID();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the name of the currently selected concept, will be null if nothing is selected. */&lt;br /&gt;
function getSelectedConceptName() {&lt;br /&gt;
	var conceptName = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptName) {&lt;br /&gt;
		conceptName = app.getSelectedConceptName();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Loads and selects a concept (by id) in the current ontology. */&lt;br /&gt;
function loadConceptByID(conceptID) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadConceptByID) {&lt;br /&gt;
		app.loadConceptByID(conceptID);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Attempts to load and select a concept (by name) in the current ontology. */&lt;br /&gt;
function loadConceptByName(conceptName) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadConceptByName) {&lt;br /&gt;
		app.loadConceptByName(conceptName);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** This function gets call by flash when the swf has finished loading. */&lt;br /&gt;
function appComplete(swfID) {&lt;br /&gt;
//	alert(&amp;quot;flash app finished loading: &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for tree selection changes */&lt;br /&gt;
function treeSelectionChanged(nodeID, nodeName, swfID) {&lt;br /&gt;
//	alert(&amp;quot;tree selection: &amp;quot; + nodeID + &amp;quot; - &amp;quot; + nodeName + &amp;quot; - &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for tree double click events */&lt;br /&gt;
function treeNodeDoubleClicked(nodeID, nodeName, swfID) {&lt;br /&gt;
	alert(&amp;quot;tree node double clicked: &amp;quot; + nodeID + &amp;quot; - &amp;quot; + nodeName + &amp;quot; - &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for error messages when loading an ontology */&lt;br /&gt;
function errorLoadingOntology(errorMsg, swfID) {&lt;br /&gt;
//	alert(&amp;quot;Error: &amp;quot; + errorMsg);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Referencing your ontology of interest in the widgets = &lt;br /&gt;
&lt;br /&gt;
Most of the time you would want your widget to use the latest version of your ontology of interest that is available in BioPortal. Thus, you would want to use the ontology id and not the version is in your widget. To find the ontology id, go to the &amp;quot;Ontology Details&amp;quot; page for your ontology of interest in BioPortal (e.g., the page for [http://bioportal.bioontology.org/ontologies/39478 NCI Thesaurus]). You will find the ontology id on the Metadata tab there (e.g., the ontology id for NCI Thesaurus is 1032).&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12376</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12376"/>
		<updated>2012-07-06T23:00:31Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Search BioPortal */  document field values for object type.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Field Values'''&lt;br /&gt;
** The '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries can be: PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;, CONCEPT_ID = &amp;quot;bconceptid&amp;quot;, SYNONYM = &amp;quot;csynonym&amp;quot;, and PROPERTY = &amp;quot;dproperty&amp;quot;.&lt;br /&gt;
** The '&amp;lt;objectType&amp;gt;&amp;lt;/objectType&amp;gt;' entries are concept types, which can be: &amp;quot;class&amp;quot;, &amp;quot;property&amp;quot;, or &amp;quot;individual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}[?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}[?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}]&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
==  Get siblings of a given concept in the latest version of a given ontology ==&lt;br /&gt;
* '''Signature''': ./virtual/siblings/{ontlogyId}/{conceptId}?level=&amp;lt;level&amp;gt;&amp;amp;apikey={YourAPIKey}&amp;amp;[&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/siblings/1032/Melanoma?level=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** level=&amp;lt;integer&amp;gt; - limits results to a given level in the hierarchy&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
* '''Description''': The same as the previous service, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id},{concept id},...,{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/NEMO_0000024?apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/NEMO_0000023?apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12375</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12375"/>
		<updated>2012-07-06T22:44:30Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Search BioPortal */  Document the &amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt; values.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Search Record Types'''&lt;br /&gt;
The following values can appear in the '&amp;lt;recordType&amp;gt;&amp;lt;/recordType&amp;gt;' entries:&lt;br /&gt;
 - PREFERRED_NAME = &amp;quot;apreferredname&amp;quot;&lt;br /&gt;
 - CONCEPT_ID = &amp;quot;bconceptid&amp;quot;&lt;br /&gt;
 - SYNONYM = &amp;quot;csynonym&amp;quot;&lt;br /&gt;
 - PROPERTY = &amp;quot;dproperty&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}[?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}[?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}]&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
==  Get siblings of a given concept in the latest version of a given ontology ==&lt;br /&gt;
* '''Signature''': ./virtual/siblings/{ontlogyId}/{conceptId}?level=&amp;lt;level&amp;gt;&amp;amp;apikey={YourAPIKey}&amp;amp;[&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/siblings/1032/Melanoma?level=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** level=&amp;lt;integer&amp;gt; - limits results to a given level in the hierarchy&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
* '''Description''': The same as the previous service, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id},{concept id},...,{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/NEMO_0000024?apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/NEMO_0000023?apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12374</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12374"/>
		<updated>2012-07-06T17:32:42Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Search BioPortal */  Use a gene search for the example (restricted to NCI Thesaurus and exact matches)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;ontologyids=1032&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:31:44.413 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;2&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;2&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;2&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;csynonym&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Gene_Object&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;Gene_Object&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Gene Object&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Gene&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;1&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;47638&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1032&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;NCI Thesaurus&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;2&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;3&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}[?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}[?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}]&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
==  Get siblings of a given concept in the latest version of a given ontology ==&lt;br /&gt;
* '''Signature''': ./virtual/siblings/{ontlogyId}/{conceptId}?level=&amp;lt;level&amp;gt;&amp;amp;apikey={YourAPIKey}&amp;amp;[&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/siblings/1032/Melanoma?level=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** level=&amp;lt;integer&amp;gt; - limits results to a given level in the hierarchy&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
* '''Description''': The same as the previous service, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id},{concept id},...,{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/NEMO_0000024?apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/NEMO_0000023?apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12373</id>
		<title>BioPortal REST services</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_REST_services&amp;diff=12373"/>
		<updated>2012-07-06T17:27:57Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Search BioPortal */  updating example with new API syntax and corresponding sample output&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list below documents the NCBO Web services. For questions on how to use these Web services or to request features, contact [mailto:support@bioontology.org Support]. &lt;br /&gt;
&lt;br /&gt;
The '''prefix''' for all production service URLs in the table below is http://rest.bioontology.org/&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;Note&amp;lt;/font&amp;gt;''': All NCBO Web services will be required to contain the parameter &amp;quot;apikey=YourApiKey&amp;quot; starting June 2011. The parameter will be added to all Web service calls for the April 27, 2011 release but will not be required until June 2011. To obtain an API key, [http://bioportal.bioontology.org/login login to BioPortal] and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter. &lt;br /&gt;
&lt;br /&gt;
* '''''Note for Application Developers''''': Application developers will also need to include the apikey parameter on all NCBO Web service calls. This allows us to track usage of our system at the level of an application. To obtain an API key, login to BioPortal and go to &amp;quot;Account&amp;quot; where your API key will be displayed. The addition of the API key replaces the use of the email parameter.&lt;br /&gt;
&lt;br /&gt;
* '''Note''': ''Signatures for BioPortal services have changed in BioPortal 2.0.4 release on January 13th, 2009. This page has the new service URLs. &lt;br /&gt;
&lt;br /&gt;
= Overview - Using NCBO Technology in Your Project =&lt;br /&gt;
See [http://www.bioontology.org/wiki/index.php/Using_NCBO_Technology_In_Your_Project Using NCBO Technology in your Project] for general information and widgets available for use.&lt;br /&gt;
&lt;br /&gt;
= Sample Code Cookbook = &lt;br /&gt;
*Examples of using the Web services in sample code can be found [http://www.bioontology.org/wiki/index.php/Sample_Code_Cookbook here]&lt;br /&gt;
**Sample code is located within the [https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&amp;amp;path=%2Ftrunk%2F NCBO Gforge repository] and can be checked out via anonymous SVN access&lt;br /&gt;
&lt;br /&gt;
*Code examples for the [http://bioontology.org/wiki/index.php/Annotator_Web_service Annotator] and [http://www.bioontology.org/wiki/index.php/Resource_Index Resource Index] are located on the pages documenting these Web services&lt;br /&gt;
&lt;br /&gt;
*Code examples for the ontology web services, developed in FlexViz, is available at: https://bmir-gforge.stanford.edu/gf/project/flexviz/frs/?action=index. To see the code in action, visit the [http://keg.cs.uvic.ca/ncbo/restservicestest/TestUI.html Test User Interface] that has been set-up using the FlexViz code.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Announce Mailing List =&lt;br /&gt;
To receive notices of new BioPortal releases, changes to web services, or planned downtime subscribe to the [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-annouce] list.&lt;br /&gt;
&lt;br /&gt;
= Service Output Formats =&lt;br /&gt;
''JSON output scheduled for mid-December release''&lt;br /&gt;
Currently, BioPortal services allow for two output formats: &amp;lt;strong&amp;gt;XML&amp;lt;/strong&amp;gt; (default) and &amp;lt;strong&amp;gt;JSON&amp;lt;/strong&amp;gt; (currently works only for ontology and concept services).&lt;br /&gt;
&lt;br /&gt;
* '''XML''': no special parameters required. This is the default REST services output format. It assumes the media type as &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* '''JSON''': requires an &amp;quot;Accept&amp;quot; request-header with the following value: &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;strong&amp;gt;application/xml&amp;lt;/strong&amp;gt; and &amp;lt;strong&amp;gt;application/json&amp;lt;/strong&amp;gt; media types are present in the Accept header, the output format will be determined based on the higher &amp;quot;q&amp;quot; parameter indicating a relative quality factor of each media type. For more info, please refer to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' JSON output is currently not available for Annotator Service.&lt;br /&gt;
&lt;br /&gt;
= Services to access ontologies and ontology versions =&lt;br /&gt;
&lt;br /&gt;
== List all the latest version of ontologies ==&lt;br /&gt;
&lt;br /&gt;
* '''Description''': Return a list of ontologies in BioPortal. To get information on Ontology Views, use the &amp;quot;List the latest version of all Views&amp;quot; Web service call. &lt;br /&gt;
* '''Signature''': ./ontologies?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies?apikey=YourAPIKey&lt;br /&gt;
** NOTE: The element &amp;lt;id&amp;gt; contains the value for the ontology version identifier.&lt;br /&gt;
&lt;br /&gt;
==  Get a specific ontology based on a version id ==&lt;br /&gt;
* '''Signature''':  ./ontologies/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''':  http://rest.bioontology.org/bioportal/ontologies/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download an ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given ontology version id.&lt;br /&gt;
* '''Signature''':   ./ontologies/download/{ontology version id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/39002?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Download the latest ontology file ==&lt;br /&gt;
* '''Description''': Download the file (.obo, .owl) corresponding to the given virtual ontology id.&lt;br /&gt;
* '''Signature''':   ./virtual/download/{ontology id}?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/download/1090?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get all versions of an ontology from a virtual ontology id ==&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  Get latest version of an ontology id ==&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology_id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
==  List all ontology categories ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2'' &lt;br /&gt;
* '''Signature''':   ./categories?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/categories&lt;br /&gt;
&lt;br /&gt;
==  List all ontology groups ==&lt;br /&gt;
'''NOTE''': ''To be released in BioPortal version 2.2''&lt;br /&gt;
* '''Signature''':   ./groups?email={email_address}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/groups&lt;br /&gt;
&lt;br /&gt;
= Services to access ontology views and ontology view versions =&lt;br /&gt;
&lt;br /&gt;
Since all the views on ontologies are ontologies themselves all the services that work on ontologies do work for ontology views also with the same signature.&lt;br /&gt;
&lt;br /&gt;
== Download a specific ontology view based on the ontology view version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/download/{ontology version id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/download/43072?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all view versions of a virtual view == &lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontologies/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/versions/2070?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, there are a few Web services that are distinct for views. &lt;br /&gt;
&lt;br /&gt;
== List the latest version of all Views == &lt;br /&gt;
* '''Signature''': ./views?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get all versions of views from a virtual ontology id == &lt;br /&gt;
* '''Description''': Returns all versions of views defined on the latest version a virtual ontology, grouped by virtual view ids.&lt;br /&gt;
* '''Signature''': ./views/versions/{ontology id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/views/versions/1104?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Search services =&lt;br /&gt;
&lt;br /&gt;
==  Search BioPortal ==&lt;br /&gt;
* '''Signature''': ./search/?query={uri-encoded query}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Deprecated Signature''': ./search/{query}[?{optional args}]&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=Gene&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Boolean Search Options:'''&lt;br /&gt;
** () parentheses allow to enclose multiple terms joined by OR&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;(foo bar)&amp;quot; will expand to &amp;quot;foo* OR bar*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** - the minus sign preceding a term indicates NOT&lt;br /&gt;
*** &amp;lt;pre&amp;gt;Example: &amp;quot;foo bar -baz&amp;quot; will expand to &amp;quot;foo* AND bar* AND NOT baz*&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** No prefix means MUST (required).&lt;br /&gt;
&lt;br /&gt;
* '''Optional Arguments:''' &lt;br /&gt;
** ontologyids=&amp;lt;ontologyid&amp;gt;,&amp;lt;ontologyid&amp;gt;… - limits the search to specific ontologies (default: all ontologies)&lt;br /&gt;
** isexactmatch=[1/0] – match the entire concept name (default: 0)&lt;br /&gt;
** includeproperties=[1/0] – include attributes in the search (default: 0 and includes the preferred name, term identifier, and synonym properties)&lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
** maxnumhits=&amp;lt;maxnumhits&amp;gt; - the maximum number of top matching results to return (default: 1000)&lt;br /&gt;
** subtreerootconceptid=&amp;lt;uri-encoded conceptid&amp;gt; - narrow the search to concepts residing in a sub-tree, where the &amp;quot;subtreerootconceptid&amp;quot; is the root node. This feature requires a SINGLE &amp;lt;ontologyid&amp;gt; passed in using the &amp;quot;onotlogyids&amp;quot; parameter.&lt;br /&gt;
** objecttypes=&amp;lt;class,individual,property&amp;gt; - limits the results returned to these types, multitple types can be included in the parameter, e.g. class,individual.&lt;br /&gt;
** includedefinitions={true} - if a search result is a hit for a term, adding this parameter will include the definition in the search result xml. '''Note''': Including the definition results in a slight performance hit.&lt;br /&gt;
* '''Description:''' &lt;br /&gt;
The search attempts to match both partial and exact queries, giving more weight to exact matches. In single-word searches, the wildcard character (*) is automatically appended to the end of the word. For example, searching for &amp;quot;lun&amp;quot; would return all concepts whose name contains a word that begins with &amp;quot;lun&amp;quot; (i.e. &amp;quot;Lung&amp;quot;, &amp;quot;Murine Lunate Bone&amp;quot;, &amp;quot;Base of the Lung&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
In phrase searches (multiple words), the wildcard character is appended to the end of each word. For example, searching for &amp;quot;cut mela&amp;quot; would return all concepts whose name contains a word starting with &amp;quot;cut&amp;quot;, followed by any word that begins with &amp;quot;mela&amp;quot; (i.e. &amp;quot;Cutaneous Melanoma&amp;quot;, &amp;quot;Metastatic Non-Cutaneous Melanoma&amp;quot;, &amp;quot;Cutaneous Melanoma Clinical TNM Finding&amp;quot;, etc).&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/search/?query=software&amp;amp;ontologyids=1104&amp;amp;isexactmatch=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/search/&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2012-07-06 10:26:31.370 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;page&amp;gt;&lt;br /&gt;
      &amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
      &amp;lt;numPages&amp;gt;1&amp;lt;/numPages&amp;gt;&lt;br /&gt;
      &amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
      &amp;lt;numResultsTotal&amp;gt;1&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.search.SearchResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;searchResultList&amp;gt;&lt;br /&gt;
          &amp;lt;searchBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;44450&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;Biomedical Resource Ontology&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;recordType&amp;gt;apreferredname&amp;lt;/recordType&amp;gt;&lt;br /&gt;
            &amp;lt;objectType&amp;gt;class&amp;lt;/objectType&amp;gt;&lt;br /&gt;
            &amp;lt;conceptId&amp;gt;http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Software&amp;lt;/conceptId&amp;gt;&lt;br /&gt;
            &amp;lt;conceptIdShort&amp;gt;BRO:Software&amp;lt;/conceptIdShort&amp;gt;&lt;br /&gt;
            &amp;lt;preferredName&amp;gt;Software&amp;lt;/preferredName&amp;gt;&lt;br /&gt;
            &amp;lt;contents&amp;gt;Software&amp;lt;/contents&amp;gt;&lt;br /&gt;
            &amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
          &amp;lt;/searchBean&amp;gt;&lt;br /&gt;
        &amp;lt;/searchResultList&amp;gt;&lt;br /&gt;
        &amp;lt;ontologyHitList&amp;gt;&lt;br /&gt;
          &amp;lt;ontologyHitBean&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyVersionId&amp;gt;44450&amp;lt;/ontologyVersionId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyId&amp;gt;1104&amp;lt;/ontologyId&amp;gt;&lt;br /&gt;
            &amp;lt;ontologyDisplayLabel&amp;gt;Biomedical Resource Ontology&amp;lt;/ontologyDisplayLabel&amp;gt;&lt;br /&gt;
            &amp;lt;numHits&amp;gt;1&amp;lt;/numHits&amp;gt;&lt;br /&gt;
          &amp;lt;/ontologyHitBean&amp;gt;&lt;br /&gt;
        &amp;lt;/ontologyHitList&amp;gt;&lt;br /&gt;
        &amp;lt;numHitsTotal&amp;gt;2&amp;lt;/numHitsTotal&amp;gt;&lt;br /&gt;
      &amp;lt;/contents&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Term services =&lt;br /&gt;
(formerly referred to as Concept services)&lt;br /&gt;
&lt;br /&gt;
==  Get term, including its properties, subclasses, and superclasses ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/{concept id}?apikey={YourAPIKey}&lt;br /&gt;
* '''Alt Signature''': ./concepts/{ontology version id}?conceptid={uri-encoded concept id}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}/{concept id}&lt;br /&gt;
* '''Alt Virtual Signature''' (always uses most recent version of the ontology): ./virtual/ontology/{ontology virtual id}?conceptid={uri-encoded concept id}&lt;br /&gt;
**To ensure that the Web service works within your application, use the Alt signature as some ontologies may contain terms where the concept id is a URI. &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** light=[1/0] - when set to 1, returns the &amp;quot;light&amp;quot; version of XML with only a basic info for the concept and its immediate children&lt;br /&gt;
** norelations=[1/0] - when set to 1, returns only the requested term information (id, label, fullid, type, synonyms, definitions) without the &amp;quot;relations&amp;quot; map. This is useful when you need to quickly retrieve just the base information about a term.&lt;br /&gt;
** maxnumchildren - an integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44103?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/44450?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1516?conceptid=O80-O84.9&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104?conceptid=BRO:Software&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Sample Output''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
  &amp;lt;accessedResource&amp;gt;/bioportal/concepts/44103&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
  &amp;lt;accessDate&amp;gt;2010-12-08 16:57:43.763 PST&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
  &amp;lt;data&amp;gt;&lt;br /&gt;
    &amp;lt;classBean&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;O80-O84.9&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80-O84.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;label&amp;gt;Delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;relations&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SubClass&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O84&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O84&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Multiple delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O83&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O83&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Other assisted single delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;7&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O82&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O82&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by caesarean section&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O81&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O81&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Single delivery by forceps and vacuum extractor&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;6&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O80&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O80&amp;lt;/fullId&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;label&amp;gt;Single spontaneous delivery&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;PAR&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;int&amp;gt;5&amp;lt;/int&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;Semantic_Type&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;Therapeutic or Preventive Procedure&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;TUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;T061&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;string&amp;gt;UMLS_CUI&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;string&amp;gt;C0011209&amp;lt;/string&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
        &amp;lt;entry&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;SuperClass&amp;lt;/string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;list&amp;gt;&lt;br /&gt;
            &amp;lt;classBean&amp;gt;&lt;br /&gt;
              &amp;lt;id&amp;gt;O00-O99.9&amp;lt;/id&amp;gt;&lt;br /&gt;
              &amp;lt;fullId&amp;gt;http://purl.bioontology.org/ontology/ICD10/O00-O99.9&amp;lt;/fullId&amp;gt;&lt;br /&gt;
              &amp;lt;label&amp;gt;Pregnancy, childbirth and the puerperium&amp;lt;/label&amp;gt;&lt;br /&gt;
              &amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
              &amp;lt;relations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                &amp;lt;entry&amp;gt;&lt;br /&gt;
                  &amp;lt;string&amp;gt;ChildCount&amp;lt;/string&amp;gt;&lt;br /&gt;
                  &amp;lt;int&amp;gt;8&amp;lt;/int&amp;gt;&lt;br /&gt;
                &amp;lt;/entry&amp;gt;&lt;br /&gt;
              &amp;lt;/relations&amp;gt;&lt;br /&gt;
            &amp;lt;/classBean&amp;gt;&lt;br /&gt;
          &amp;lt;/list&amp;gt;&lt;br /&gt;
        &amp;lt;/entry&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/relations&amp;gt;&lt;br /&gt;
    &amp;lt;/classBean&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Get all root terms for an ontology version id ==&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/root?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/39002/root?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
== Get a path between a term and the root ==&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./path/{ontology_version_id}/?source={concept1_id}&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/path/42838/?source=Transitional_Epithelium&amp;amp;target=root&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* Note: If there is no path between the specified term and the set of nodes designated as &amp;quot;roots&amp;quot; then this method just returns the root node. Note that &amp;quot;root&amp;quot; here is defined as a set of classes which have been designated as &amp;quot;roots&amp;quot;. It is not defined as a node which as no parents.&lt;br /&gt;
* Note: This service only returns a '''single path''' between a term and the root. There is a [[NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology|service that returns '''all paths''' from a term to the root]] for most ontologies. Alternatively, all paths can be calculated by recursively calling [[NCBO_REST_services#Get_term.2C_including_its_properties.2C_subclasses.2C_and_superclasses|the term service]].&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the specific ontology version id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./concepts/{ontology version id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
==  Get all terms using the virtual ontology id ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'Get all terms' service has changed. The new signature and examples are reflected below. See [[#Changes_to_the_Get_all_terms_service]] for more information.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./virtual/ontology/{ontology id}/all?pagesize={pagesize}&amp;amp;pagenum={pagenum}&amp;amp;apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/ontology/1104/all?&amp;amp;pagesize=50&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Arguments:''' &lt;br /&gt;
** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
== Changes to the Get all terms service ==&lt;br /&gt;
&lt;br /&gt;
Starting in BioPortal 2.3.1 (released March 15, 2010), the 'Get all terms' service has changed to support speedier and more complete term retrieval. To support this, several changes to the response XML and service signature are being made. Please see the following notes to update your existing applications to support these changes.&lt;br /&gt;
&lt;br /&gt;
* '''Examples''': A preview of the new service can be seen on the NCBO staging site:&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/40644/all?pagesize=50&amp;amp;pagenum=1&lt;br /&gt;
** http://rest.bioontology.org/bioportal/concepts/42431/all?pagesize=50&amp;amp;pagenum=500&lt;br /&gt;
&lt;br /&gt;
* '''Signature'''&lt;br /&gt;
** '''New parameters:''' Previously, offset and limit were used to control pagination of results. These parameters have been replaced as follows:&lt;br /&gt;
*** '''pagesize:''' An integer limiting how many results will be returned on a single page (a 'page' is equivalent to a single call to the REST service)&lt;br /&gt;
*** '''pagenum:''' An integer indicating which page of results to return.&lt;br /&gt;
*** '''maxnumchildren:''' An integer that sets threshold on the number of children in the SubClass relation for a term. If a term contains more children than the &amp;quot;maxnumchildren&amp;quot;, the SubClass relation returns an empty list. The ChildCount relation still contains the correct number of children.&lt;br /&gt;
&lt;br /&gt;
* '''Response''': The structure of the new 'Get all terms' response XML has been brought into line with other BioPortal REST term services. In addition, to assist in paging through result sets, 'page' metadata is provided. A list of classBeans is provided in the classBeanResultList element, which includes each classes' set of relations (examples of relations include SuperClass, SubClass, and rdfs:label). Please see the example below for a full demonstration of the new response.&lt;br /&gt;
&lt;br /&gt;
= View Extraction Service = &lt;br /&gt;
* This web service can be used to extract a subtree from an ontology. See [http://www.bioontology.org/wiki/index.php/View_Extraction View Extraction] for usage details. &lt;br /&gt;
&lt;br /&gt;
= Property Services =&lt;br /&gt;
&lt;br /&gt;
== Get all available ontology properties using the specific ontology version id ==&lt;br /&gt;
* '''Signature''': ./ontologies/properties/{ontlogyVersionId}?apikey={YourAPIKey} &lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all properties for a given ontology version.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/ontologies/properties/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2011-09-22 15:47:46.309 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_value&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_value&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_value&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_description&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_description&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_description&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations /&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
			&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
				&amp;lt;id&amp;gt;has_pages&amp;lt;/id&amp;gt;&lt;br /&gt;
				&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#has_pages&lt;br /&gt;
				&amp;lt;/fullId&amp;gt;&lt;br /&gt;
				&amp;lt;label&amp;gt;has_pages&amp;lt;/label&amp;gt;&lt;br /&gt;
				&amp;lt;type&amp;gt;property&amp;lt;/type&amp;gt;&lt;br /&gt;
				&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
				&amp;lt;relations&amp;gt;&lt;br /&gt;
					&amp;lt;entry&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;Domain&amp;lt;/string&amp;gt;&lt;br /&gt;
						&amp;lt;classBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;BibliographicReference&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;http://mged.sourceforge.net/ontologies/MGEDOntology.owl#BibliographicReference&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;BibliographicReference&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;type&amp;gt;class&amp;lt;/type&amp;gt;&lt;br /&gt;
							&amp;lt;isObsolete&amp;gt;0&amp;lt;/isObsolete&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
						&amp;lt;/classBean&amp;gt;&lt;br /&gt;
					&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Instance Services =&lt;br /&gt;
&lt;br /&gt;
== Get all direct instances for a given term ==&lt;br /&gt;
* '''Signature''': ./concepts/instances/{ontlogyVersionId}[?conceptid={uri-encoded concept id}[&amp;amp;{optional args}]&amp;amp;apikey={YourAPIKey} &lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** pagesize=&amp;lt;pagesize&amp;gt; - the number of results to display in a single request (default: all)&lt;br /&gt;
** pagenum=&amp;lt;pagenum&amp;gt; - the page number to display (pages are calculated using &amp;lt;total results&amp;gt;/&amp;lt;pagesize&amp;gt;) (default: 1)&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/concepts/instances/38801?conceptid=SubstrateType&amp;amp;pagesize=10&amp;amp;pagenum=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns all direct instances for a given term.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/concepts/instances/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:17:21.226 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;page&amp;gt;&lt;br /&gt;
			&amp;lt;pageNum&amp;gt;1&amp;lt;/pageNum&amp;gt;&lt;br /&gt;
			&amp;lt;numPages&amp;gt;5&amp;lt;/numPages&amp;gt;&lt;br /&gt;
			&amp;lt;pageSize&amp;gt;1&amp;lt;/pageSize&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsPage&amp;gt;1&amp;lt;/numResultsPage&amp;gt;&lt;br /&gt;
			&amp;lt;numResultsTotal&amp;gt;5&amp;lt;/numResultsTotal&amp;gt;&lt;br /&gt;
			&amp;lt;contents class=&amp;quot;org.ncbo.stanford.bean.concept.InstanceBeanResultListBean&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unknown_substrate_type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unknown_substrate_type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unknown_substrate_type&lt;br /&gt;
									&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;MO_484&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;&lt;br /&gt;
											http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
										&amp;lt;instanceType&amp;gt;&lt;br /&gt;
											&amp;lt;list&amp;gt;&lt;br /&gt;
												&amp;lt;classBean&amp;gt;&lt;br /&gt;
													&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
													&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
													&amp;lt;/fullId&amp;gt;&lt;br /&gt;
													&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
													&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
													&amp;lt;relations /&amp;gt;&lt;br /&gt;
												&amp;lt;/classBean&amp;gt;&lt;br /&gt;
											&amp;lt;/list&amp;gt;&lt;br /&gt;
										&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
									&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
							&amp;lt;entry&amp;gt;&lt;br /&gt;
								&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;string&amp;gt;SubstrateType of unknown type.&amp;lt;/string&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/entry&amp;gt;&lt;br /&gt;
						&amp;lt;/relations&amp;gt;&lt;br /&gt;
						&amp;lt;instanceType&amp;gt;&lt;br /&gt;
							&amp;lt;list&amp;gt;&lt;br /&gt;
								&amp;lt;classBean&amp;gt;&lt;br /&gt;
									&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
									&amp;lt;fullId&amp;gt;&lt;br /&gt;
										http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
									&amp;lt;/fullId&amp;gt;&lt;br /&gt;
									&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
									&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
									&amp;lt;relations /&amp;gt;&lt;br /&gt;
								&amp;lt;/classBean&amp;gt;&lt;br /&gt;
							&amp;lt;/list&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
					&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/contents&amp;gt;&lt;br /&gt;
		&amp;lt;/page&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get an instance and its property/value pairs ==&lt;br /&gt;
* '''Signature''': ./instance/{ontlogyVersionId}[?instanceid={instanceid}&amp;amp;apikey={YourAPIKey}]&lt;br /&gt;
&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/instance/38801?instanceid=glass&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Description''': returns information about an instance and a list of property/value pairs.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/instance/38801&lt;br /&gt;
	&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;20100408 18:10:48.760 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
			&amp;lt;id&amp;gt;glass&amp;lt;/id&amp;gt;&lt;br /&gt;
			&amp;lt;fullId&amp;gt;&lt;br /&gt;
				http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
			&amp;lt;/fullId&amp;gt;&lt;br /&gt;
			&amp;lt;label&amp;gt;glass&amp;lt;/label&amp;gt;&lt;br /&gt;
			&amp;lt;relations&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:NAME&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:NAME&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:NAME&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#glass&lt;br /&gt;
						&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;unique_identifier&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#unique_identifier&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;unique_identifier&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;MO_742&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdfs:comment&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/2000/01/rdfschema#comment&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdfs:comment&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;string&amp;gt;The array is made on a glass slide.&amp;lt;/string&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;:DIRECTTYPE&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;:DIRECTTYPE&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;:DIRECTTYPE&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
				&amp;lt;entry&amp;gt;&lt;br /&gt;
					&amp;lt;propertyBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;rdf:type&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;http://www.w3.org/1999/02/22rdfsyntaxns#type&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;rdf:type&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/propertyBean&amp;gt;&lt;br /&gt;
					&amp;lt;list&amp;gt;&lt;br /&gt;
						&amp;lt;instanceBean&amp;gt;&lt;br /&gt;
							&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
							&amp;lt;fullId&amp;gt;&lt;br /&gt;
								http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
							&amp;lt;/fullId&amp;gt;&lt;br /&gt;
							&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
							&amp;lt;relations /&amp;gt;&lt;br /&gt;
							&amp;lt;instanceType&amp;gt;&lt;br /&gt;
								&amp;lt;list&amp;gt;&lt;br /&gt;
									&amp;lt;classBean&amp;gt;&lt;br /&gt;
										&amp;lt;id&amp;gt;owl:Class&amp;lt;/id&amp;gt;&lt;br /&gt;
										&amp;lt;fullId&amp;gt;http://www.w3.org/2002/07/owl#Class&lt;br /&gt;
										&amp;lt;/fullId&amp;gt;&lt;br /&gt;
										&amp;lt;label&amp;gt;owl:Class&amp;lt;/label&amp;gt;&lt;br /&gt;
										&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
										&amp;lt;relations /&amp;gt;&lt;br /&gt;
									&amp;lt;/classBean&amp;gt;&lt;br /&gt;
								&amp;lt;/list&amp;gt;&lt;br /&gt;
							&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
						&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
					&amp;lt;/list&amp;gt;&lt;br /&gt;
				&amp;lt;/entry&amp;gt;&lt;br /&gt;
			&amp;lt;/relations&amp;gt;&lt;br /&gt;
			&amp;lt;instanceType&amp;gt;&lt;br /&gt;
				&amp;lt;list&amp;gt;&lt;br /&gt;
					&amp;lt;classBean&amp;gt;&lt;br /&gt;
						&amp;lt;id&amp;gt;SubstrateType&amp;lt;/id&amp;gt;&lt;br /&gt;
						&amp;lt;fullId&amp;gt;&lt;br /&gt;
							http://mged.sourceforge.net/ontologies/MGEDOntology.owl#SubstrateType&lt;br /&gt;
						&amp;lt;/fullId&amp;gt;&lt;br /&gt;
						&amp;lt;label&amp;gt;SubstrateType&amp;lt;/label&amp;gt;&lt;br /&gt;
						&amp;lt;type&amp;gt;Class&amp;lt;/type&amp;gt;&lt;br /&gt;
						&amp;lt;relations /&amp;gt;&lt;br /&gt;
					&amp;lt;/classBean&amp;gt;&lt;br /&gt;
				&amp;lt;/list&amp;gt;&lt;br /&gt;
			&amp;lt;/instanceType&amp;gt;&lt;br /&gt;
		&amp;lt;/instanceBean&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=  Hierarchy Services =&lt;br /&gt;
&lt;br /&gt;
The Hierarchy Services provide access to pre-computed term hierarchy information via a single web service call. The pre-computed hierarchy data is generated for only one version of an ontology and is periodically updated. Therefore, if using the Hierarchy Web services, it is best to use the form of the call with the virtual ontology id. To get hierarchy information for any version of an ontology, use the Term Web service to traverse the ontology structure.  &lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;font color='red'&amp;gt;NOTE: &amp;lt;/font&amp;gt;To see which ontology versions have been processed for use with the Hierarchy Services, check http://rest.bioontology.org/obs/ontologies for ontologies with STATUS=28.'''&lt;br /&gt;
&lt;br /&gt;
==  Get paths to root/leaves from a concept in the latest version of a given ontology  ==&lt;br /&gt;
* '''Signature''': ./virtual/[rootpath|leafpath]/{ontologyId}/{conceptId}[?apikey={YourAPIKey}&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/rootpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/leafpath/1032/Melanoma?apikey=YourAPIKey&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
** limit=&amp;lt;integer&amp;gt; – limits the number of results&lt;br /&gt;
** delim=&amp;lt;string&amp;gt; – use a custom delimiter between returned terms. Default is a period (.).&lt;br /&gt;
* '''Description''': The same as the previous services, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
==  Get siblings of a given concept in the latest version of a given ontology ==&lt;br /&gt;
* '''Signature''': ./virtual/siblings/{ontlogyId}/{conceptId}?level=&amp;lt;level&amp;gt;&amp;amp;apikey={YourAPIKey}&amp;amp;[&amp;amp;{optional args}]&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/virtual/siblings/1032/Melanoma?level=1&amp;amp;apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** level=&amp;lt;integer&amp;gt; - limits results to a given level in the hierarchy&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** offset=&amp;lt;integer&amp;gt; – results offset (used for pagination)&lt;br /&gt;
* '''Description''': The same as the previous service, but takes an ontology id and returns parents from the latest version of that ontology available via the Hierarchy web services. To see which ontology versions are available, see the '''&amp;lt;font color='red'&amp;gt;NOTE&amp;lt;/font&amp;gt;''' above for the [http://www.bioontology.org/wiki/index.php/BioPortal_REST_services#Hierarchy_Services Hierarchy web services].&lt;br /&gt;
&lt;br /&gt;
= Bio2RDF Dump Service =&lt;br /&gt;
&lt;br /&gt;
This service allows you to output a given ontology from BioPortal in the form of a N3 RDF file conforming to the requirements for integrating into the [http://sourceforge.net/projects/bio2rdf/ Bio2RDF] collection.&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./ontology/dump_n3/{ontlogyVersionId}?apikey={YourAPIKey}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/ontology/dump_n3/40865?apikey=YourAPIKey&lt;br /&gt;
&lt;br /&gt;
= Annotator Service =&lt;br /&gt;
&lt;br /&gt;
The NCBO Annotator is a Web service that can be used to annotate text metadata with biomedical ontology concepts. The concepts are from ontologies in BioPortal and includes the Unified Medical Language System (UMLS) Metathesaurus, OBO Foundry candidate ontologies and many others. &lt;br /&gt;
&lt;br /&gt;
The Annotator can be tested via a Web interface available through [http://bioportal.bioontology.org/annotate BioPortal]. For more information on using the Annotator Web service, see: http://bioontology.org/wiki/index.php/Annotator_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Ontology Recommender =&lt;br /&gt;
The Ontology Recommender is a Web service that provides information on what ontology is best covered by your text metadata. An in-depth description and links to the Web service documentation and sample clients can be found at: http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service.&lt;br /&gt;
&lt;br /&gt;
= Resource Index Service =&lt;br /&gt;
&lt;br /&gt;
The Resource Index provides a mechanism to search for biomedical data based on ontology concepts. For more information on using the Resource Index service, see http://www.bioontology.org/wiki/index.php/Resource_Index.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= RDF Term Service =&lt;br /&gt;
 &lt;br /&gt;
* '''Signature''': ./bioportal/rdf/{ontology version id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Alt Signature''': ./bioportal/virtual/rdf/{ontology id}/{concept id},{concept id},...,{concept id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/rdf/1321/NEMO_0000024?apikey=YourAPIKey&lt;br /&gt;
** http://rest.bioontology.org/bioportal/rdf/42743/NEMO_0000023?apikey=YourAPIKey&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
** concept id&lt;br /&gt;
* '''Description''': returns a BioPortal concept as RDF/XML ontology snippet. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': &amp;lt;nowiki&amp;gt;http://purl.bioontology.org/ontology/{ACRONYM}/{ID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*** '''OBO''': &amp;lt;nowiki&amp;gt;http://purl.obolibrary.org/{IDSPACE}_{LOCALID}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;rdf:RDF xmlns=&amp;quot;http://purl.bioontology.org/ontology/NEMO#&amp;quot;&lt;br /&gt;
     xml:base=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&lt;br /&gt;
     xmlns:rdfs=&amp;quot;http://www.w3.org/2000/01/rdf-schema#&amp;quot;&lt;br /&gt;
     xmlns:BPMetadata=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#&amp;quot;&lt;br /&gt;
     xmlns:owl=&amp;quot;http://www.w3.org/2002/07/owl#&amp;quot;&lt;br /&gt;
     xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema#&amp;quot;&lt;br /&gt;
     xmlns:rdf=&amp;quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;quot;&lt;br /&gt;
     xmlns:NEMO=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#&amp;quot;&lt;br /&gt;
     xmlns:ontology=&amp;quot;http://omv.ontoware.org/2005/05/ontology/&amp;quot;&lt;br /&gt;
     xmlns:skos=&amp;quot;http://www.w3.org/2004/02/skos/core#&amp;quot;&lt;br /&gt;
     xmlns:ontology2=&amp;quot;http://purl.bioontology.org/NEMO/ontology#&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Ontology rdf:about=&amp;quot;http://purl.bioontology.org/ontology/NEMO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:name&amp;gt;Neural ElectroMagnetic Ontologies&amp;lt;/ontology:name&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:acronym&amp;gt;NEMO&amp;lt;/ontology:acronym&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:description&amp;gt;Neural ElectroMagnetic Ontologies (NEMO) describe classes of event-related brain potentials (ERP) and their properties, including spatial, temporal, functional (cognitive/behavioral) attributes, and data-level attributes (acquisition and analysis parameters).&amp;lt;/ontology:description&amp;gt;&lt;br /&gt;
        &amp;lt;BPMetadata:id&amp;gt;45141&amp;lt;/BPMetadata:id&amp;gt;&lt;br /&gt;
        &amp;lt;ontology:hasOntologyLanguage rdf:resource=&amp;quot;http://omv.ontoware.org/2005/05/ontology#owl&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Ontology&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Annotation properties&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/name&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_synonym&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_definition&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#label&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/ontology/BPMetadata#id&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#broader&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subClassOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology#NEMO_pref_label&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subPropertyOf rdf:resource=&amp;quot;http://www.w3.org/2004/02/skos/core#prefLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:AnnotationProperty&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/acronym&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#notation&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/description&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#definition&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://omv.ontoware.org/2005/05/ontology/hasOntologyLanguage&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2000/01/rdf-schema#subPropertyOf&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;owl:AnnotationProperty rdf:about=&amp;quot;http://www.w3.org/2004/02/skos/core#altLabel&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
    //&lt;br /&gt;
    // Classes&lt;br /&gt;
    //&lt;br /&gt;
    ///////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
     --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;owl:Class rdf:about=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000024&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/rdfs:label&amp;gt;&lt;br /&gt;
        &amp;lt;rdfs:subClassOf rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;skos:prefLabel&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/skos:prefLabel&amp;gt;&lt;br /&gt;
        &amp;lt;skos:notation&amp;gt;NEMO_0000024&amp;lt;/skos:notation&amp;gt;&lt;br /&gt;
        &amp;lt;ontology2:NEMO_pref_label&amp;gt;left_posterotemporal_scalp_surface_region&amp;lt;/ontology2:NEMO_pref_label&amp;gt;&lt;br /&gt;
        &amp;lt;skos:broader rdf:resource=&amp;quot;http://purl.bioontology.org/NEMO/ontology/NEMO.owl#NEMO_0000010&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Class&amp;gt;&lt;br /&gt;
&amp;lt;/rdf:RDF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= RDF Download Service =&lt;br /&gt;
&lt;br /&gt;
* '''Signature''': ./bioportal/virtual/ontology/rdf/download/{ontology id}?apikey=YourAPIKey&lt;br /&gt;
* '''Examples''': &lt;br /&gt;
** http://rest.bioontology.org/bioportal/virtual/ontology/rdf/download/1537?apikey=YourAPIKey&lt;br /&gt;
''NOTE:'' If using the Web service calls from Firefox, disable the Tabulator Add-on in order to download the files. &lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** ontology version id&lt;br /&gt;
* '''Description''': returns a BioPortal ontology as RDF/XML. This is a prototype web service, for updates subscribe to [https://mailman.stanford.edu/mailman/listinfo/bioportal-announce bioportal-announce]. &lt;br /&gt;
** The RDF dump will use URIs that are based on which format the ontology is in:&lt;br /&gt;
*** '''OWL/RDF(S)''': preserve original URIs&lt;br /&gt;
*** '''Protégé &amp;amp; RRF''': http://purl.bioontology.org/ontology/{abbreviation}/{concept_id}&lt;br /&gt;
*** '''OBO''': http://purl.obolibrary.org/{idspace}_{localid}&lt;br /&gt;
&lt;br /&gt;
= Notes Service (Term Proposals and Comments) =&lt;br /&gt;
* The Notes Web service is described here: http://www.bioontology.org/wiki/index.php/Ontology_Notes.&lt;br /&gt;
&lt;br /&gt;
= Mapping Service = &lt;br /&gt;
* The Mapping Web service is described here: http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
= Usage Logging =&lt;br /&gt;
* '''Signature''': ./usage?{args}&lt;br /&gt;
* '''Example''': http://rest.bioontology.org/bioportal/usage?requesturl=ontologies&amp;amp;resourceparameters=13578&amp;amp;email=example@example.org&lt;br /&gt;
* '''Required arguments:''' &lt;br /&gt;
** none specifically, but at least one optional argument is required&lt;br /&gt;
* '''Optional arguments:''' &lt;br /&gt;
** requesturl=&amp;lt;string contained in request url&amp;gt; – limit results to a given string contained in REST service request url. Unique values for the requesturl are: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /categories&lt;br /&gt;
  /concepts/{ontology version id}/{concept id}&lt;br /&gt;
  /concepts/{children or leafpath or parents or siblings}/{ontology version id}/{concept id}&lt;br /&gt;
  /diffs/{virtual id}&lt;br /&gt;
  /ontologies/{ontology version id} &lt;br /&gt;
  /ontologies/download/{ontology version id}&lt;br /&gt;
  /ontologies/versions/{ontology virtual id}&lt;br /&gt;
  /path/{ontology version id}/{concept id}&lt;br /&gt;
  /search/{search terms}&lt;br /&gt;
  /virtual/{virtual id}&lt;br /&gt;
  /virtual/ontology/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/rootpath/{virtual id}/{concept id}&lt;br /&gt;
  /virtual/siblings/{virtual id}/{concept id}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** resourceparameters=&amp;lt;string contained in resource parameters&amp;gt; – limit results to a given string contained in resource parameters. For example, in the URL http://rest.bioontology.org/bioportal/search/melanoma, the word &amp;quot;melanoma&amp;quot; is considered a &amp;quot;resource parameter&amp;quot;.&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given starting date (default: no starting date)&lt;br /&gt;
** startdateaccessed=&amp;lt;date in format mm/dd/yyyy&amp;gt; – limit results to the given ending date (default: today's date)&lt;br /&gt;
* '''Description''': returns BioPortal REST services usage data as XML.&lt;br /&gt;
* '''Sample Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;success&amp;gt;&lt;br /&gt;
	&amp;lt;accessedResource&amp;gt;/bioportal/usage&amp;lt;/accessedResource&amp;gt;&lt;br /&gt;
	&amp;lt;accessDate&amp;gt;2009-07-27 14:21:19.728 PDT&amp;lt;/accessDate&amp;gt;&lt;br /&gt;
	&amp;lt;data&amp;gt;&lt;br /&gt;
		&amp;lt;list&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;&lt;br /&gt;
					/search/Certain infectious and parasitic diseases/&lt;br /&gt;
				&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Certain%20infectious%20and%20parasitic%20diseases&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;1&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Hypertension/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;&lt;br /&gt;
					query=Hypertension&lt;br /&gt;
				&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;2&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
			&amp;lt;usageLoggingBean&amp;gt;&lt;br /&gt;
				&amp;lt;requestUrl&amp;gt;/search/Melanoma/&amp;lt;/requestUrl&amp;gt;&lt;br /&gt;
				&amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;br /&gt;
				&amp;lt;resourceParameters&amp;gt;query=Melanoma&amp;lt;/resourceParameters&amp;gt;&lt;br /&gt;
				&amp;lt;requestParameters&amp;gt;&lt;br /&gt;
					pagenum=1&amp;amp;ontologyids=1265&amp;amp;pagesize=20&lt;br /&gt;
				&amp;lt;/requestParameters&amp;gt;&lt;br /&gt;
				&amp;lt;hitCount&amp;gt;3&amp;lt;/hitCount&amp;gt;&lt;br /&gt;
				&amp;lt;dateAccessed class=&amp;quot;sql-timestamp&amp;quot;&amp;gt;&lt;br /&gt;
					2009-07-27 00:00:00.0&lt;br /&gt;
				&amp;lt;/dateAccessed&amp;gt;&lt;br /&gt;
			&amp;lt;/usageLoggingBean&amp;gt;&lt;br /&gt;
		&amp;lt;/list&amp;gt;&lt;br /&gt;
	&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/success&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= XML Schema Definitions for the REST services =&lt;br /&gt;
&lt;br /&gt;
XML Schema for [[#Term_services|Term]] and [[#Hierarchy_Services|Hierarchy]] services have been provided courtesy Eamonn Maguire. An updated XML Schema document will be posted shortly.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=NCBO_Widgets&amp;diff=12372</id>
		<title>NCBO Widgets</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=NCBO_Widgets&amp;diff=12372"/>
		<updated>2012-07-06T00:50:50Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NCBO widgets are the HTML or Javascript code that you can put on your Web site or Web form to use BioPortal functionality there. Using NCBO Widgets is just one of [[Using_NCBO_Technology_In_Your_Project|the ways in which you can use the NCBO technology directly on your Web site or in your application]].&lt;br /&gt;
&lt;br /&gt;
= Types of NCBO Widgets and use cases = &lt;br /&gt;
* '''[[#Term-selection field on a form|Term-selection field on a form]]''':   You can add a text field to your Web form that will let users enter a term from a controlled vocabulary (e.g., terms from a single ontology)&lt;br /&gt;
** ''Example use case'': Suppose you are running a tissue microarray database and users upload sample descriptions to your database using a web form. There is usually a field for the user to enter the diagnosis for the tissue sample that she is entering. Usually, this field is a text-box or a drop down menu populated with a list of controlled terms. The free text-box is prone to errors, the drop-down gets too unwieldy with large terminologies. Using the NCBO term-selection widget to have users easily select a term from an ontology or controlled vocabulary (such as the NCI Thesaurus) to fill in the field. For example, when the user starts typing &amp;quot;cutaneous me&amp;quot;, the term &amp;quot;cutaneous melanoma&amp;quot; pops up.&lt;br /&gt;
** ''What does the term-selection field get you'': &lt;br /&gt;
*** Look-ahead so that you don't need to type the whole term&lt;br /&gt;
*** Controlled vocabulary provides consistency of the way different users use the term (If you want to put &amp;quot;Malignant melanoma&amp;quot;, it will always be the same term from NCIT, regardless of how a user started typing it&lt;br /&gt;
*** When a new version of your controlled vocabulary becomes available in BioPortal, the widget will automatically use that new version.&lt;br /&gt;
*'''[[#Ontology search widget|Ontology search widget]]''': You can add to your Web site a search box that searches a specific BioPortal ontology. When the user selects the term of interest (with the help of the look-ahead feature), he can jump to the BioPortal page for the corresponding concept in BioPortal.&lt;br /&gt;
*'''[[#Feed widget|Feed widget]]''': you can put a widget on your site that will have a live feed of all the changes to your ontology of interest, such as uploads of a new version, comments from other users, new mappings for concepts in your ontology.&lt;br /&gt;
*'''[[#Ontology visualization widget|Ontology visualization widget]]''': You can put a widget on your Web site that visualizes your entire ontology of interest, or some part of it, as on the [http://bioportal.bioontology.org/visualize/39478#t_tab1: &amp;quot;Visualize&amp;quot; tab in BioPortal].&lt;br /&gt;
*&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;**NEW**&amp;lt;/font&amp;gt;  '''[[#OntologyTree Widget|OntologyTree Widget]]''': You can put a widget on your Web site that displays the ontology tree, or some part of it, as on the [http://bioportal.bioontology.org/visualize/39478#t_tab1: &amp;quot;Visualize&amp;quot; tab in BioPortal].&lt;br /&gt;
&lt;br /&gt;
= How to use NCBO Widgets=&lt;br /&gt;
&lt;br /&gt;
The easiest way to add any NCBO widget to your HTML page or Web form is by following these steps:&lt;br /&gt;
* Find your ontology of interest in the [http://bioportal.bioontology.org/ontologies list of BioPortal ontologies] (e.g., NCI Thesaurus)&lt;br /&gt;
* Click on the ontology name to get to the page with '''Details''' for that ontology (e.g., the [http://bioportal.bioontology.org/ontologies/39478 Details for NCI Thesaurus])&lt;br /&gt;
* On the Ontology Details page, go to '''Ontology Widgets''' tab&lt;br /&gt;
* Select the widget you want&lt;br /&gt;
* Click the button below the widgets to get instructions for the specific widget&lt;br /&gt;
&lt;br /&gt;
== Term-selection field on a form ==&lt;br /&gt;
&lt;br /&gt;
To add a field to your form that lets the user fetch a term from your ontology of interest, do the following:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Download the [http://bioportal.bioontology.org/javascripts/widgets/form_complete.js &amp;lt;b&amp;gt;form_complete.js file&amp;lt;/b&amp;gt;] and put it on your server&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;In the header for the page where you want the form field, include the &amp;lt;b&amp;gt;form_complete.js&amp;lt;/b&amp;gt; file&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;On your form, for the fields where you want to use the term-selection widget, specify the field's class in the following format: &amp;lt;code&amp;gt;bp_form_complete-{ontology_id_list}-{value}&amp;lt;/code&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;For example, &amp;lt;code&amp;gt;bp_form_complete-1032-uri&amp;lt;/code&amp;gt; will use NCI Thesaurus (ontology id is 1032) and will put the term URI in the field after the user selects the term from the pull-down list.&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; In addition to single ontology ids, you can use a list:&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;bp_form_complete-1032,1089-uri&amp;lt;/code&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;b&amp;gt;OR&amp;lt;/b&amp;gt; use 'all' to search across all BioPortal ontologies:&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;bp_form_complete-all-uri&amp;lt;/code&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You can use the following parameters to select which value will be placed into the user-visible input field:&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;uri&amp;lt;/code&amp;gt; : put the complete URI of the term (e.g., &amp;quot;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Common_Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;shortid&amp;lt;/code&amp;gt; : put the short id of the term, as used in BioPortal (e.g., &amp;quot;Common_Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; : put the preferred name of the term (e.g., &amp;quot;Common Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;In addition to the input element you defined, there are four hidden form elements that are created and then set when a user selects a term from the list. For example, if you create a field with this code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;a&amp;quot; class=&amp;quot;bp_form_complete-all-uri&amp;quot; size=&amp;quot;100&amp;quot;/&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The 'name' attribute is used to create the four following fields (note how the 'a' from the name attribute is appended to the id attribute):&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_preferred_name&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_concept_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_ontology_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_full_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;&lt;br /&gt;
        To limit the term lookup to a particular branch of an ontology, include the following as an attribute on the field's element (replace conceptid with the id for the term which you would like to use as the root of your branch): &amp;lt;code&amp;gt;data-bp_search_branch=&amp;quot;{conceptid}&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;&lt;br /&gt;
        To display definitions with the list of terms that are returned, include the following as an attribute on the field's element: &amp;lt;code&amp;gt;data-bp_include_definitions=&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ontology search widget ==&lt;br /&gt;
&lt;br /&gt;
To add a search widget to your HTML page that searches a specific ontology, do the following:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Download the [http://bioportal.bioontology.org/javascripts/widgets/quick_jump.js &amp;lt;b&amp;gt;quick_jump.js file&amp;lt;/b&amp;gt;] and put it on your server&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Copy the code below and paste it to your HTML page. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;bp_quick_jump&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
    var BP_ontology_id = &amp;quot;1016&amp;quot;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;quick_jump.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; If you would like to use Quick Jump across multiple ontologies:&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You can enter a comma-separated list of ontology ids:&amp;lt;br&amp;gt;&lt;br /&gt;
        var BP_ontology_id = &amp;quot;1032,1089&amp;quot;;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You cans set the variable to 'all' to search all ontologies in BioPortal:&amp;lt;br&amp;gt;&lt;br /&gt;
        var BP_ontology_id = &amp;quot;all&amp;quot;;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;In the code that you just pasted, make sure to change the path to the quick_jump.js file to point to the location where you put the file (relative to your HTML file)&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;For example, if you put the quick_jump.js file in the same directory as your HTML file, this is the code you would use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
    var BP_ontology_id = &amp;quot;1032&amp;quot;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;quick_jump.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    To limit the term lookup to a particular branch of an ontology, include the following Javascript in your page (replace conceptid with the id for the term which you would like to use as the root of your branch): &lt;br /&gt;
    &amp;lt;code&amp;gt;var BP_search_branch = &amp;quot;{conceptid}&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    To display definitions with the list of terms that are returned, include the following Javascript in your page: &lt;br /&gt;
    &amp;lt;code&amp;gt;var BP_include_definitions = true;&amp;lt;/code&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feed widget ==&lt;br /&gt;
&lt;br /&gt;
To add a Feed widget to your HTML page, simple copy the code from the Ontology Widget page for your ontology of interest. Here is a sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
	var BP_ontology_id = &amp;quot;1032&amp;quot;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://bioportal.bioontology.org/javascripts/widgets/feed_widget.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ontology visualization widget ==&lt;br /&gt;
To add a widget visualizing your ontology to your HTML page, simple copy the code from the Ontology Widget page for your ontology of interest. Here is a sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;object classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&lt;br /&gt;
	id=&amp;quot;FlexoViz&amp;quot; width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot;&lt;br /&gt;
	codebase=&amp;quot;http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://keg.cs.uvic.ca/ncbo/flexviz/FlexoViz.swf&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;bgcolor&amp;quot; value=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;allowScriptAccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;embed src=&amp;quot;http://keg.cs.uvic.ca/ncbo/flexviz/FlexoViz.swf&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot;&lt;br /&gt;
		width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot; name=&amp;quot;FlexoViz&amp;quot; align=&amp;quot;middle&amp;quot;&lt;br /&gt;
		play=&amp;quot;true&amp;quot;&lt;br /&gt;
		loop=&amp;quot;false&amp;quot;&lt;br /&gt;
		quality=&amp;quot;high&amp;quot;&lt;br /&gt;
		allowScriptAccess=&amp;quot;always&amp;quot;&lt;br /&gt;
		type=&amp;quot;application/x-shockwave-flash&amp;quot;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
		pluginspage=&amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/embed&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;			&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want the visualization to be focused on a particular term in the ontology, you can add the term id to the parameters above. For example, to have the widget focus on Melanoma in NCI Thesaurus, replace the following line in the snippet above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;nodeid=Melanoma&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(''note &amp;quot;&amp;amp;nodeid=Melanoma&amp;quot;'')&lt;br /&gt;
&lt;br /&gt;
== OntologyTree Widget ==&lt;br /&gt;
&lt;br /&gt;
'''Description'''&amp;lt;br&amp;gt;&lt;br /&gt;
The OntologyTree widget is an embeddable Flex application that allows a user to interact with a tree browser for ontologies. The widget can be configured to display a list of all the ontologies in BioPortal, allowing the user to select which one to view, or can be setup to view a particular ontology. Additionally, there are several Javascript helper functions for the widget, allowing it to be utilized as a fully functional component in other applications.&lt;br /&gt;
&lt;br /&gt;
'''Location'''&amp;lt;br&amp;gt;&lt;br /&gt;
http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&lt;br /&gt;
&lt;br /&gt;
'''Parameters'''&lt;br /&gt;
* '''ontology''' = The id of the ontology to use, by default it assumes this value is the ontology version id&lt;br /&gt;
* '''virtual''' [true|false] - If true then the above ontology parameter is assumed to be a virtual ontology id&lt;br /&gt;
* '''canchangeontology''' [true|false] = If false then users can't change the current ontology&lt;br /&gt;
* '''canchangeroot''' [true|false] = If true the the user can specify a root concept (using the context menu)&lt;br /&gt;
* '''rootconceptid''' = The id of the root concept to show in the tree, leave out to show the ontology roots&lt;br /&gt;
* '''server''' = The rest server to use. Defaults to &amp;quot;http://rest.bioontology.org/bioportal/&amp;quot;.&lt;br /&gt;
* '''redirecturl''' = The url to redirect to for terms and ontologies (in BioPortal). Defaults to &amp;quot;http://bioportal.bioontology.org/&amp;quot;.&lt;br /&gt;
* '''alerterrors''' [true|false] = If true then errors will be displayed in an annoying popup box.&lt;br /&gt;
* '''title''' = The title for the browser window&lt;br /&gt;
&lt;br /&gt;
'''Embed Example'''&amp;lt;br&amp;gt;&lt;br /&gt;
Using Javascript (preferred):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/AC_OETags.js&amp;quot; language=&amp;quot;javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
// -----------------------------------------------------------------------------&lt;br /&gt;
// Globals&lt;br /&gt;
// Major version of Flash required&lt;br /&gt;
var requiredMajorVersion = 9;&lt;br /&gt;
// Minor version of Flash required&lt;br /&gt;
var requiredMinorVersion = 0;&lt;br /&gt;
// Minor version of Flash required&lt;br /&gt;
var requiredRevision = 124;&lt;br /&gt;
// -----------------------------------------------------------------------------&lt;br /&gt;
// --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)&lt;br /&gt;
var hasProductInstall = DetectFlashVer(6, 0, 65);&lt;br /&gt;
&lt;br /&gt;
// Version check based upon the values defined in globals&lt;br /&gt;
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);&lt;br /&gt;
&lt;br /&gt;
if (hasProductInstall &amp;amp;&amp;amp; !hasRequestedVersion) {&lt;br /&gt;
    // DO NOT MODIFY THE FOLLOWING FOUR LINES&lt;br /&gt;
    // Location visited after installation is complete if installation is required&lt;br /&gt;
    var MMPlayerType = (isIE == true) ? &amp;quot;ActiveX&amp;quot;: &amp;quot;PlugIn&amp;quot;;&lt;br /&gt;
    var MMredirectURL = window.location;&lt;br /&gt;
    document.title = document.title.slice(0, 47) + &amp;quot; - Flash Player Installation&amp;quot;;&lt;br /&gt;
    var MMdoctitle = document.title;&lt;br /&gt;
&lt;br /&gt;
    AC_FL_RunContent(&lt;br /&gt;
    &amp;quot;src&amp;quot;, &amp;quot;playerProductInstall&amp;quot;,&lt;br /&gt;
    &amp;quot;FlashVars&amp;quot;, &amp;quot;MMredirectURL=&amp;quot; + MMredirectURL + '&amp;amp;MMplayerType=' + MMPlayerType + '&amp;amp;MMdoctitle=' + MMdoctitle + &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;width&amp;quot;, &amp;quot;300&amp;quot;,&lt;br /&gt;
    &amp;quot;height&amp;quot;, &amp;quot;100%&amp;quot;,&lt;br /&gt;
    &amp;quot;align&amp;quot;, &amp;quot;middle&amp;quot;,&lt;br /&gt;
    &amp;quot;id&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;quality&amp;quot;, &amp;quot;high&amp;quot;,&lt;br /&gt;
    &amp;quot;bgcolor&amp;quot;, &amp;quot;#ffffff&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;allowScriptAccess&amp;quot;, &amp;quot;always&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;, &amp;quot;application/x-shockwave-flash&amp;quot;,&lt;br /&gt;
    &amp;quot;pluginspage&amp;quot;, &amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&lt;br /&gt;
    );&lt;br /&gt;
} else if (hasRequestedVersion) {&lt;br /&gt;
    // if we've detected an acceptable version&lt;br /&gt;
    // embed the Flash Content SWF when all tests are passed&lt;br /&gt;
    AC_FL_RunContent(&lt;br /&gt;
    &amp;quot;src&amp;quot;, &amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot;,&lt;br /&gt;
    &amp;quot;width&amp;quot;, &amp;quot;300&amp;quot;,&lt;br /&gt;
    &amp;quot;height&amp;quot;, &amp;quot;100%&amp;quot;,&lt;br /&gt;
    &amp;quot;align&amp;quot;, &amp;quot;middle&amp;quot;,&lt;br /&gt;
    &amp;quot;id&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;quality&amp;quot;, &amp;quot;high&amp;quot;,&lt;br /&gt;
    &amp;quot;bgcolor&amp;quot;, &amp;quot;#ffffff&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;allowScriptAccess&amp;quot;, &amp;quot;always&amp;quot;,&lt;br /&gt;
    &amp;quot;flashVars&amp;quot;, &amp;quot;ontology=&amp;amp;virtual=false&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;amp;rootconceptid=&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;, &amp;quot;application/x-shockwave-flash&amp;quot;,&lt;br /&gt;
    &amp;quot;pluginspage&amp;quot;, &amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&lt;br /&gt;
    );&lt;br /&gt;
} else {&lt;br /&gt;
    // flash is too old or we can't detect the plugin&lt;br /&gt;
    var alternateContent = 'Alternate HTML content should be placed here. '&lt;br /&gt;
    + 'This content requires the Adobe Flash Player. '&lt;br /&gt;
    + '&amp;lt;a href=http://www.adobe.com/go/getflash/&amp;gt;Get Flash&amp;lt;/a&amp;gt;';&lt;br /&gt;
    document.write(alternateContent);&lt;br /&gt;
    // insert non-flash content&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using HTML:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;object classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&lt;br /&gt;
	id=&amp;quot;OntologyTree&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;100%&amp;quot;&lt;br /&gt;
	codebase=&amp;quot;http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;bgcolor&amp;quot; value=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;allowScriptAccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;flashVars&amp;quot; value=&amp;quot;ontology=&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;embed src=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot; quality=&amp;quot;high&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot;&lt;br /&gt;
		width=&amp;quot;300&amp;quot; height=&amp;quot;100%&amp;quot; name=&amp;quot;OntologyTree&amp;quot; align=&amp;quot;middle&amp;quot;&lt;br /&gt;
		play=&amp;quot;true&amp;quot;&lt;br /&gt;
		loop=&amp;quot;false&amp;quot;&lt;br /&gt;
		allowScriptAccess=&amp;quot;always&amp;quot;&lt;br /&gt;
		type=&amp;quot;application/x-shockwave-flash&amp;quot;&lt;br /&gt;
		flashVars=&amp;quot;ontology=&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;quot;&lt;br /&gt;
		pluginspage=&amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/embed&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using GWT:&lt;br /&gt;
* See http://code.google.com/p/gwt2swf/ for information on how to embed SWF in GWT.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Javascript API Calls'''&amp;lt;br&amp;gt;&lt;br /&gt;
You will need to copy/paste this code to a Javascript file or embed directly in the HTML for usage in your page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* &lt;br /&gt;
 * The following JavaScript functions allow you to interact with the Flash BioPortal Ontology Tree.  &lt;br /&gt;
 * You can load an ontology by id, and get the current ontology id or name.&lt;br /&gt;
 * Once an ontology is loaded then you can get the currently selected concept by id or name,&lt;br /&gt;
 * and you can also select a concept by id or name.  &lt;br /&gt;
 * You can also listen for one of these events by implementing the following functions (see the stubs below):&lt;br /&gt;
 * appComplete, treeSelectionChanged, treeNodeDoubleClicked, or errorLoadingOntology&lt;br /&gt;
 *&lt;br /&gt;
 * These are the parameters that you can pass into the application using the &amp;quot;flashVars&amp;quot; parameter:&lt;br /&gt;
 * (see the examples below):&lt;br /&gt;
 * - ontology: the id of the ontology (version or virtual)&lt;br /&gt;
 * - virtual: if false (default) then the ontology id above is the version id&lt;br /&gt;
 * 			  if true then the above ontology id is assumed to be the virtual id &lt;br /&gt;
 * - alerterrors: (true/false) determines whether the application will display errors (default is false)&lt;br /&gt;
 * - server: defines the URL of the rest server (null by default)&lt;br /&gt;
 * - title: changes the default title for the page &lt;br /&gt;
 * - canchangeontology: if true then the ontology can be changed&lt;br /&gt;
 * - rootconceptid: sets the optional root node of the tree&lt;br /&gt;
 * - canchangeroot: if false then the root of the tree cannot be changed by the user (using context menu items)&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
// get a handle for the flash application&lt;br /&gt;
function getApp() {&lt;br /&gt;
	if (navigator.appName.indexOf (&amp;quot;Microsoft&amp;quot;) != -1) {&lt;br /&gt;
		app = window[&amp;quot;OntologyTree&amp;quot;];&lt;br /&gt;
	} else {&lt;br /&gt;
		app = document[&amp;quot;OntologyTree&amp;quot;];&lt;br /&gt;
	}&lt;br /&gt;
	if (app == null) {&lt;br /&gt;
		app = document.getElementById(&amp;quot;OntologyTree&amp;quot;);&lt;br /&gt;
	}&lt;br /&gt;
	if (app == null) {&lt;br /&gt;
		alert(&amp;quot;Could not get Flash object, JavaScript/Flex communication failed.&amp;quot;);&lt;br /&gt;
	}&lt;br /&gt;
	return app;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// these are the available functions that you can call ONCE the &lt;br /&gt;
// flash SWF has finished loading&lt;br /&gt;
&lt;br /&gt;
/** Loads a new ontology by id. */&lt;br /&gt;
function loadOntology(ontologyID) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadOntology) {&lt;br /&gt;
		app.loadOntology(ontologyID);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the id of the current ontology, will be null if no ontology is loaded. */&lt;br /&gt;
function getOntologyID() {&lt;br /&gt;
	var ontologyID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getOntologyID) {&lt;br /&gt;
		ontologyID = app.getOntologyID();&lt;br /&gt;
	}&lt;br /&gt;
	return ontologyID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the name of the current ontology, will be null if no ontology is loaded. */&lt;br /&gt;
function getOntologyName() {&lt;br /&gt;
	var ontologyName = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getOntologyName) {&lt;br /&gt;
		ontologyName = app.getOntologyName();&lt;br /&gt;
	}&lt;br /&gt;
	return ontologyName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the id of the currently selected concept, will be null if nothing is selected. */&lt;br /&gt;
function getSelectedConceptID() {&lt;br /&gt;
	var conceptID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptID) {&lt;br /&gt;
		conceptID = app.getSelectedConceptID();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** &lt;br /&gt;
 * Gets the full id (not all ontologies support this) of the currently selected concept. &lt;br /&gt;
 * Will be null if nothing is selected, will be the same as the conceptID if no fullID exists. &lt;br /&gt;
 */&lt;br /&gt;
function getSelectedConceptFullID() {&lt;br /&gt;
	var conceptID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptFullID) {&lt;br /&gt;
		conceptID = app.getSelectedConceptFullID();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the name of the currently selected concept, will be null if nothing is selected. */&lt;br /&gt;
function getSelectedConceptName() {&lt;br /&gt;
	var conceptName = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptName) {&lt;br /&gt;
		conceptName = app.getSelectedConceptName();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Loads and selects a concept (by id) in the current ontology. */&lt;br /&gt;
function loadConceptByID(conceptID) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadConceptByID) {&lt;br /&gt;
		app.loadConceptByID(conceptID);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Attempts to load and select a concept (by name) in the current ontology. */&lt;br /&gt;
function loadConceptByName(conceptName) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadConceptByName) {&lt;br /&gt;
		app.loadConceptByName(conceptName);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** This function gets call by flash when the swf has finished loading. */&lt;br /&gt;
function appComplete(swfID) {&lt;br /&gt;
//	alert(&amp;quot;flash app finished loading: &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for tree selection changes */&lt;br /&gt;
function treeSelectionChanged(nodeID, nodeName, swfID) {&lt;br /&gt;
//	alert(&amp;quot;tree selection: &amp;quot; + nodeID + &amp;quot; - &amp;quot; + nodeName + &amp;quot; - &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for tree double click events */&lt;br /&gt;
function treeNodeDoubleClicked(nodeID, nodeName, swfID) {&lt;br /&gt;
	alert(&amp;quot;tree node double clicked: &amp;quot; + nodeID + &amp;quot; - &amp;quot; + nodeName + &amp;quot; - &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for error messages when loading an ontology */&lt;br /&gt;
function errorLoadingOntology(errorMsg, swfID) {&lt;br /&gt;
//	alert(&amp;quot;Error: &amp;quot; + errorMsg);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Referencing your ontology of interest in the widgets = &lt;br /&gt;
&lt;br /&gt;
Most of the time you would want your widget to use the latest version of your ontology of interest that is available in BioPortal. Thus, you would want to use the ontology id and not the version is in your widget. To find the ontology id, go to the &amp;quot;Ontology Details&amp;quot; page for your ontology of interest in BioPortal (e.g., the page for [http://bioportal.bioontology.org/ontologies/39478 NCI Thesaurus]). You will find the ontology id on the Metadata tab there (e.g., the ontology id for NCI Thesaurus is 1032).&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=NCBO_Widgets&amp;diff=12371</id>
		<title>NCBO Widgets</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=NCBO_Widgets&amp;diff=12371"/>
		<updated>2012-07-06T00:48:58Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: Updating URI for NCI Thesaurus term &amp;quot;Common Neoplasm&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NCBO widgets are the HTML or Javascript code that you can put on your Web site or Web form to use BioPortal functionality there. Using NCBO Widgets is just one of [[Using_NCBO_Technology_In_Your_Project|the ways in which you can use the NCBO technology directly on your Web site or in your application]].&lt;br /&gt;
&lt;br /&gt;
= Types of NCBO Widgets and use cases = &lt;br /&gt;
* '''[[#Term-selection field on a form|Term-selection field on a form]]''':   You can add a text field to your Web form that will let users enter a term from a controlled vocabulary (e.g., terms from a single ontology)&lt;br /&gt;
** ''Example use case'': Suppose you are running a tissue microarray database and users upload sample descriptions to your database using a web form. There is usually a field for the user to enter the diagnosis for the tissue sample that she is entering. Usually, this field is a text-box or a drop down menu populated with a list of controlled terms. The free text-box is prone to errors, the drop-down gets too unwieldy with large terminologies. Using the NCBO term-selection widget to have users easily select a term from an ontology or controlled vocabulary (such as the NCI Thesaurus) to fill in the field. For example, when the user starts typing &amp;quot;cutaneous me&amp;quot;, the term &amp;quot;cutaneous melanoma&amp;quot; pops up.&lt;br /&gt;
** ''What does the term-selection field get you'': &lt;br /&gt;
*** Look-ahead so that you don't need to type the whole term&lt;br /&gt;
*** Controlled vocabulary provides consistency of the way different users use the term (If you want to put &amp;quot;Malignant melanoma&amp;quot;, it will always be the same term from NCIT, regardless of how a user started typing it&lt;br /&gt;
*** When a new version of your controlled vocabulary becomes available in BioPortal, the widget will automatically use that new version.&lt;br /&gt;
*'''[[#Ontology search widget|Ontology search widget]]''': You can add to your Web site a search box that searches a specific BioPortal ontology. When the user selects the term of interest (with the help of the look-ahead feature), he can jump to the BioPortal page for the corresponding concept in BioPortal.&lt;br /&gt;
*'''[[#Feed widget|Feed widget]]''': you can put a widget on your site that will have a live feed of all the changes to your ontology of interest, such as uploads of a new version, comments from other users, new mappings for concepts in your ontology.&lt;br /&gt;
*'''[[#Ontology visualization widget|Ontology visualization widget]]''': You can put a widget on your Web site that visualizes your entire ontology of interest, or some part of it, as on the [http://bioportal.bioontology.org/visualize/39478#t_tab1: &amp;quot;Visualize&amp;quot; tab in BioPortal].&lt;br /&gt;
*&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;**NEW**&amp;lt;/font&amp;gt;  '''[[#OntologyTree Widget|OntologyTree Widget]]''': You can put a widget on your Web site that displays the ontology tree, or some part of it, as on the [http://bioportal.bioontology.org/visualize/39478#t_tab1: &amp;quot;Visualize&amp;quot; tab in BioPortal].&lt;br /&gt;
&lt;br /&gt;
= How to use NCBO Widgets=&lt;br /&gt;
&lt;br /&gt;
The easiest way to add any NCBO widget to your HTML page or Web form is by following these steps:&lt;br /&gt;
* Find your ontology of interest in the [http://bioportal.bioontology.org/ontologies list of BioPortal ontologies] (e.g., NCI Thesaurus)&lt;br /&gt;
* Click on the ontology name to get to the page with '''Details''' for that ontology (e.g., the [http://bioportal.bioontology.org/ontologies/39478 Details for NCI Thesaurus])&lt;br /&gt;
* On the Ontology Details page, go to '''Ontology Widgets''' tab&lt;br /&gt;
* Select the widget you want&lt;br /&gt;
* Click the button below the widgets to get instructions for the specific widget&lt;br /&gt;
&lt;br /&gt;
== Term-selection field on a form ==&lt;br /&gt;
&lt;br /&gt;
To add a field to your form that lets the user fetch a term from your ontology of interest, do the following:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Download the [http://bioportal.bioontology.org/javascripts/widgets/form_complete.js &amp;lt;b&amp;gt;form_complete.js file&amp;lt;/b&amp;gt;] and put it on your server&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;In the header for the page where you want the form field, include the &amp;lt;b&amp;gt;form_complete.js&amp;lt;/b&amp;gt; file&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;On your form, for the fields where you want to use the term-selection widget, specify the field's class in the following format: &amp;lt;code&amp;gt;bp_form_complete-{ontology_id_list}-{value}&amp;lt;/code&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;For example, &amp;lt;code&amp;gt;bp_form_complete-1032-uri&amp;lt;/code&amp;gt; will use NCI Thesaurus (ontology id is 1032) and will put the term URI in the field after the user selects the term from the pull-down list.&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; In addition to single ontology ids, you can use a list:&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;bp_form_complete-1032,1089-uri&amp;lt;/code&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;b&amp;gt;OR&amp;lt;/b&amp;gt; use 'all' to search across all BioPortal ontologies:&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;bp_form_complete-all-uri&amp;lt;/code&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You can use the following parameters to select which value will be placed into the user-visible input field:&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;uri&amp;lt;/code&amp;gt; put the complete URI of the term (e.g., &amp;quot;http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Common_Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;shortid&amp;lt;/code&amp;gt; put the short id of the term, as used in BioPortal (e.g., &amp;quot;Common_Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; put the preferred name of the term (e.g., &amp;quot;Common Neoplasm&amp;quot;);&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;In addition to the input element you defined, there are four hidden form elements that are created and then set when a user selects a term from the list. For example, if you create a field with this code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;a&amp;quot; class=&amp;quot;bp_form_complete-all-uri&amp;quot; size=&amp;quot;100&amp;quot;/&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The 'name' attribute is used to create the four following fields (note how the 'a' from the name attribute is appended to the id attribute):&lt;br /&gt;
        &amp;lt;ul&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_preferred_name&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_concept_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_ontology_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
          &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;input type=&amp;quot;hidden&amp;quot; id=&amp;quot;a_bioportal_full_id&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
          &amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;&lt;br /&gt;
        To limit the term lookup to a particular branch of an ontology, include the following as an attribute on the field's element (replace conceptid with the id for the term which you would like to use as the root of your branch): &amp;lt;code&amp;gt;data-bp_search_branch=&amp;quot;{conceptid}&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;&lt;br /&gt;
        To display definitions with the list of terms that are returned, include the following as an attribute on the field's element: &amp;lt;code&amp;gt;data-bp_include_definitions=&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ontology search widget ==&lt;br /&gt;
&lt;br /&gt;
To add a search widget to your HTML page that searches a specific ontology, do the following:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Download the [http://bioportal.bioontology.org/javascripts/widgets/quick_jump.js &amp;lt;b&amp;gt;quick_jump.js file&amp;lt;/b&amp;gt;] and put it on your server&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Copy the code below and paste it to your HTML page. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;bp_quick_jump&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
    var BP_ontology_id = &amp;quot;1016&amp;quot;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;quick_jump.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; If you would like to use Quick Jump across multiple ontologies:&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You can enter a comma-separated list of ontology ids:&amp;lt;br&amp;gt;&lt;br /&gt;
        var BP_ontology_id = &amp;quot;1032,1089&amp;quot;;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;You cans set the variable to 'all' to search all ontologies in BioPortal:&amp;lt;br&amp;gt;&lt;br /&gt;
        var BP_ontology_id = &amp;quot;all&amp;quot;;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;In the code that you just pasted, make sure to change the path to the quick_jump.js file to point to the location where you put the file (relative to your HTML file)&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;For example, if you put the quick_jump.js file in the same directory as your HTML file, this is the code you would use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
    var BP_ontology_id = &amp;quot;1032&amp;quot;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;quick_jump.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
      &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    To limit the term lookup to a particular branch of an ontology, include the following Javascript in your page (replace conceptid with the id for the term which you would like to use as the root of your branch): &lt;br /&gt;
    &amp;lt;code&amp;gt;var BP_search_branch = &amp;quot;{conceptid}&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    To display definitions with the list of terms that are returned, include the following Javascript in your page: &lt;br /&gt;
    &amp;lt;code&amp;gt;var BP_include_definitions = true;&amp;lt;/code&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feed widget ==&lt;br /&gt;
&lt;br /&gt;
To add a Feed widget to your HTML page, simple copy the code from the Ontology Widget page for your ontology of interest. Here is a sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
	var BP_ontology_id = &amp;quot;1032&amp;quot;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://bioportal.bioontology.org/javascripts/widgets/feed_widget.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ontology visualization widget ==&lt;br /&gt;
To add a widget visualizing your ontology to your HTML page, simple copy the code from the Ontology Widget page for your ontology of interest. Here is a sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;object classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&lt;br /&gt;
	id=&amp;quot;FlexoViz&amp;quot; width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot;&lt;br /&gt;
	codebase=&amp;quot;http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://keg.cs.uvic.ca/ncbo/flexviz/FlexoViz.swf&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;bgcolor&amp;quot; value=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;allowScriptAccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;embed src=&amp;quot;http://keg.cs.uvic.ca/ncbo/flexviz/FlexoViz.swf&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot;&lt;br /&gt;
		width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot; name=&amp;quot;FlexoViz&amp;quot; align=&amp;quot;middle&amp;quot;&lt;br /&gt;
		play=&amp;quot;true&amp;quot;&lt;br /&gt;
		loop=&amp;quot;false&amp;quot;&lt;br /&gt;
		quality=&amp;quot;high&amp;quot;&lt;br /&gt;
		allowScriptAccess=&amp;quot;always&amp;quot;&lt;br /&gt;
		type=&amp;quot;application/x-shockwave-flash&amp;quot;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
		pluginspage=&amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/embed&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;			&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want the visualization to be focused on a particular term in the ontology, you can add the term id to the parameters above. For example, to have the widget focus on Melanoma in NCI Thesaurus, replace the following line in the snippet above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		flashVars=&amp;quot;widget=true&amp;amp;ontology=39478&amp;amp;nodeid=Melanoma&amp;amp;server=http://rest.bioontology.org/bioportal/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(''note &amp;quot;&amp;amp;nodeid=Melanoma&amp;quot;'')&lt;br /&gt;
&lt;br /&gt;
== OntologyTree Widget ==&lt;br /&gt;
&lt;br /&gt;
'''Description'''&amp;lt;br&amp;gt;&lt;br /&gt;
The OntologyTree widget is an embeddable Flex application that allows a user to interact with a tree browser for ontologies. The widget can be configured to display a list of all the ontologies in BioPortal, allowing the user to select which one to view, or can be setup to view a particular ontology. Additionally, there are several Javascript helper functions for the widget, allowing it to be utilized as a fully functional component in other applications.&lt;br /&gt;
&lt;br /&gt;
'''Location'''&amp;lt;br&amp;gt;&lt;br /&gt;
http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&lt;br /&gt;
&lt;br /&gt;
'''Parameters'''&lt;br /&gt;
* '''ontology''' = The id of the ontology to use, by default it assumes this value is the ontology version id&lt;br /&gt;
* '''virtual''' [true|false] - If true then the above ontology parameter is assumed to be a virtual ontology id&lt;br /&gt;
* '''canchangeontology''' [true|false] = If false then users can't change the current ontology&lt;br /&gt;
* '''canchangeroot''' [true|false] = If true the the user can specify a root concept (using the context menu)&lt;br /&gt;
* '''rootconceptid''' = The id of the root concept to show in the tree, leave out to show the ontology roots&lt;br /&gt;
* '''server''' = The rest server to use. Defaults to &amp;quot;http://rest.bioontology.org/bioportal/&amp;quot;.&lt;br /&gt;
* '''redirecturl''' = The url to redirect to for terms and ontologies (in BioPortal). Defaults to &amp;quot;http://bioportal.bioontology.org/&amp;quot;.&lt;br /&gt;
* '''alerterrors''' [true|false] = If true then errors will be displayed in an annoying popup box.&lt;br /&gt;
* '''title''' = The title for the browser window&lt;br /&gt;
&lt;br /&gt;
'''Embed Example'''&amp;lt;br&amp;gt;&lt;br /&gt;
Using Javascript (preferred):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/AC_OETags.js&amp;quot; language=&amp;quot;javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
// -----------------------------------------------------------------------------&lt;br /&gt;
// Globals&lt;br /&gt;
// Major version of Flash required&lt;br /&gt;
var requiredMajorVersion = 9;&lt;br /&gt;
// Minor version of Flash required&lt;br /&gt;
var requiredMinorVersion = 0;&lt;br /&gt;
// Minor version of Flash required&lt;br /&gt;
var requiredRevision = 124;&lt;br /&gt;
// -----------------------------------------------------------------------------&lt;br /&gt;
// --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)&lt;br /&gt;
var hasProductInstall = DetectFlashVer(6, 0, 65);&lt;br /&gt;
&lt;br /&gt;
// Version check based upon the values defined in globals&lt;br /&gt;
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);&lt;br /&gt;
&lt;br /&gt;
if (hasProductInstall &amp;amp;&amp;amp; !hasRequestedVersion) {&lt;br /&gt;
    // DO NOT MODIFY THE FOLLOWING FOUR LINES&lt;br /&gt;
    // Location visited after installation is complete if installation is required&lt;br /&gt;
    var MMPlayerType = (isIE == true) ? &amp;quot;ActiveX&amp;quot;: &amp;quot;PlugIn&amp;quot;;&lt;br /&gt;
    var MMredirectURL = window.location;&lt;br /&gt;
    document.title = document.title.slice(0, 47) + &amp;quot; - Flash Player Installation&amp;quot;;&lt;br /&gt;
    var MMdoctitle = document.title;&lt;br /&gt;
&lt;br /&gt;
    AC_FL_RunContent(&lt;br /&gt;
    &amp;quot;src&amp;quot;, &amp;quot;playerProductInstall&amp;quot;,&lt;br /&gt;
    &amp;quot;FlashVars&amp;quot;, &amp;quot;MMredirectURL=&amp;quot; + MMredirectURL + '&amp;amp;MMplayerType=' + MMPlayerType + '&amp;amp;MMdoctitle=' + MMdoctitle + &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;width&amp;quot;, &amp;quot;300&amp;quot;,&lt;br /&gt;
    &amp;quot;height&amp;quot;, &amp;quot;100%&amp;quot;,&lt;br /&gt;
    &amp;quot;align&amp;quot;, &amp;quot;middle&amp;quot;,&lt;br /&gt;
    &amp;quot;id&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;quality&amp;quot;, &amp;quot;high&amp;quot;,&lt;br /&gt;
    &amp;quot;bgcolor&amp;quot;, &amp;quot;#ffffff&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;allowScriptAccess&amp;quot;, &amp;quot;always&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;, &amp;quot;application/x-shockwave-flash&amp;quot;,&lt;br /&gt;
    &amp;quot;pluginspage&amp;quot;, &amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&lt;br /&gt;
    );&lt;br /&gt;
} else if (hasRequestedVersion) {&lt;br /&gt;
    // if we've detected an acceptable version&lt;br /&gt;
    // embed the Flash Content SWF when all tests are passed&lt;br /&gt;
    AC_FL_RunContent(&lt;br /&gt;
    &amp;quot;src&amp;quot;, &amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot;,&lt;br /&gt;
    &amp;quot;width&amp;quot;, &amp;quot;300&amp;quot;,&lt;br /&gt;
    &amp;quot;height&amp;quot;, &amp;quot;100%&amp;quot;,&lt;br /&gt;
    &amp;quot;align&amp;quot;, &amp;quot;middle&amp;quot;,&lt;br /&gt;
    &amp;quot;id&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;quality&amp;quot;, &amp;quot;high&amp;quot;,&lt;br /&gt;
    &amp;quot;bgcolor&amp;quot;, &amp;quot;#ffffff&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;, &amp;quot;OntologyTree&amp;quot;,&lt;br /&gt;
    &amp;quot;allowScriptAccess&amp;quot;, &amp;quot;always&amp;quot;,&lt;br /&gt;
    &amp;quot;flashVars&amp;quot;, &amp;quot;ontology=&amp;amp;virtual=false&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;amp;rootconceptid=&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;, &amp;quot;application/x-shockwave-flash&amp;quot;,&lt;br /&gt;
    &amp;quot;pluginspage&amp;quot;, &amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&lt;br /&gt;
    );&lt;br /&gt;
} else {&lt;br /&gt;
    // flash is too old or we can't detect the plugin&lt;br /&gt;
    var alternateContent = 'Alternate HTML content should be placed here. '&lt;br /&gt;
    + 'This content requires the Adobe Flash Player. '&lt;br /&gt;
    + '&amp;lt;a href=http://www.adobe.com/go/getflash/&amp;gt;Get Flash&amp;lt;/a&amp;gt;';&lt;br /&gt;
    document.write(alternateContent);&lt;br /&gt;
    // insert non-flash content&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using HTML:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;object classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&lt;br /&gt;
	id=&amp;quot;OntologyTree&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;100%&amp;quot;&lt;br /&gt;
	codebase=&amp;quot;http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;bgcolor&amp;quot; value=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;allowScriptAccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;param name=&amp;quot;flashVars&amp;quot; value=&amp;quot;ontology=&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;embed src=&amp;quot;http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf&amp;quot; quality=&amp;quot;high&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot;&lt;br /&gt;
		width=&amp;quot;300&amp;quot; height=&amp;quot;100%&amp;quot; name=&amp;quot;OntologyTree&amp;quot; align=&amp;quot;middle&amp;quot;&lt;br /&gt;
		play=&amp;quot;true&amp;quot;&lt;br /&gt;
		loop=&amp;quot;false&amp;quot;&lt;br /&gt;
		allowScriptAccess=&amp;quot;always&amp;quot;&lt;br /&gt;
		type=&amp;quot;application/x-shockwave-flash&amp;quot;&lt;br /&gt;
		flashVars=&amp;quot;ontology=&amp;amp;alerterrors=false&amp;amp;canchangeontology=true&amp;quot;&lt;br /&gt;
		pluginspage=&amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/embed&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using GWT:&lt;br /&gt;
* See http://code.google.com/p/gwt2swf/ for information on how to embed SWF in GWT.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Javascript API Calls'''&amp;lt;br&amp;gt;&lt;br /&gt;
You will need to copy/paste this code to a Javascript file or embed directly in the HTML for usage in your page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* &lt;br /&gt;
 * The following JavaScript functions allow you to interact with the Flash BioPortal Ontology Tree.  &lt;br /&gt;
 * You can load an ontology by id, and get the current ontology id or name.&lt;br /&gt;
 * Once an ontology is loaded then you can get the currently selected concept by id or name,&lt;br /&gt;
 * and you can also select a concept by id or name.  &lt;br /&gt;
 * You can also listen for one of these events by implementing the following functions (see the stubs below):&lt;br /&gt;
 * appComplete, treeSelectionChanged, treeNodeDoubleClicked, or errorLoadingOntology&lt;br /&gt;
 *&lt;br /&gt;
 * These are the parameters that you can pass into the application using the &amp;quot;flashVars&amp;quot; parameter:&lt;br /&gt;
 * (see the examples below):&lt;br /&gt;
 * - ontology: the id of the ontology (version or virtual)&lt;br /&gt;
 * - virtual: if false (default) then the ontology id above is the version id&lt;br /&gt;
 * 			  if true then the above ontology id is assumed to be the virtual id &lt;br /&gt;
 * - alerterrors: (true/false) determines whether the application will display errors (default is false)&lt;br /&gt;
 * - server: defines the URL of the rest server (null by default)&lt;br /&gt;
 * - title: changes the default title for the page &lt;br /&gt;
 * - canchangeontology: if true then the ontology can be changed&lt;br /&gt;
 * - rootconceptid: sets the optional root node of the tree&lt;br /&gt;
 * - canchangeroot: if false then the root of the tree cannot be changed by the user (using context menu items)&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
// get a handle for the flash application&lt;br /&gt;
function getApp() {&lt;br /&gt;
	if (navigator.appName.indexOf (&amp;quot;Microsoft&amp;quot;) != -1) {&lt;br /&gt;
		app = window[&amp;quot;OntologyTree&amp;quot;];&lt;br /&gt;
	} else {&lt;br /&gt;
		app = document[&amp;quot;OntologyTree&amp;quot;];&lt;br /&gt;
	}&lt;br /&gt;
	if (app == null) {&lt;br /&gt;
		app = document.getElementById(&amp;quot;OntologyTree&amp;quot;);&lt;br /&gt;
	}&lt;br /&gt;
	if (app == null) {&lt;br /&gt;
		alert(&amp;quot;Could not get Flash object, JavaScript/Flex communication failed.&amp;quot;);&lt;br /&gt;
	}&lt;br /&gt;
	return app;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// these are the available functions that you can call ONCE the &lt;br /&gt;
// flash SWF has finished loading&lt;br /&gt;
&lt;br /&gt;
/** Loads a new ontology by id. */&lt;br /&gt;
function loadOntology(ontologyID) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadOntology) {&lt;br /&gt;
		app.loadOntology(ontologyID);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the id of the current ontology, will be null if no ontology is loaded. */&lt;br /&gt;
function getOntologyID() {&lt;br /&gt;
	var ontologyID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getOntologyID) {&lt;br /&gt;
		ontologyID = app.getOntologyID();&lt;br /&gt;
	}&lt;br /&gt;
	return ontologyID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the name of the current ontology, will be null if no ontology is loaded. */&lt;br /&gt;
function getOntologyName() {&lt;br /&gt;
	var ontologyName = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getOntologyName) {&lt;br /&gt;
		ontologyName = app.getOntologyName();&lt;br /&gt;
	}&lt;br /&gt;
	return ontologyName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the id of the currently selected concept, will be null if nothing is selected. */&lt;br /&gt;
function getSelectedConceptID() {&lt;br /&gt;
	var conceptID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptID) {&lt;br /&gt;
		conceptID = app.getSelectedConceptID();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** &lt;br /&gt;
 * Gets the full id (not all ontologies support this) of the currently selected concept. &lt;br /&gt;
 * Will be null if nothing is selected, will be the same as the conceptID if no fullID exists. &lt;br /&gt;
 */&lt;br /&gt;
function getSelectedConceptFullID() {&lt;br /&gt;
	var conceptID = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptFullID) {&lt;br /&gt;
		conceptID = app.getSelectedConceptFullID();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptID;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Gets the name of the currently selected concept, will be null if nothing is selected. */&lt;br /&gt;
function getSelectedConceptName() {&lt;br /&gt;
	var conceptName = null;&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.getSelectedConceptName) {&lt;br /&gt;
		conceptName = app.getSelectedConceptName();&lt;br /&gt;
	}&lt;br /&gt;
	return conceptName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Loads and selects a concept (by id) in the current ontology. */&lt;br /&gt;
function loadConceptByID(conceptID) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadConceptByID) {&lt;br /&gt;
		app.loadConceptByID(conceptID);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Attempts to load and select a concept (by name) in the current ontology. */&lt;br /&gt;
function loadConceptByName(conceptName) {&lt;br /&gt;
	var app = getApp();&lt;br /&gt;
	if (app &amp;amp;&amp;amp; app.loadConceptByName) {&lt;br /&gt;
		app.loadConceptByName(conceptName);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** This function gets call by flash when the swf has finished loading. */&lt;br /&gt;
function appComplete(swfID) {&lt;br /&gt;
//	alert(&amp;quot;flash app finished loading: &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for tree selection changes */&lt;br /&gt;
function treeSelectionChanged(nodeID, nodeName, swfID) {&lt;br /&gt;
//	alert(&amp;quot;tree selection: &amp;quot; + nodeID + &amp;quot; - &amp;quot; + nodeName + &amp;quot; - &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for tree double click events */&lt;br /&gt;
function treeNodeDoubleClicked(nodeID, nodeName, swfID) {&lt;br /&gt;
	alert(&amp;quot;tree node double clicked: &amp;quot; + nodeID + &amp;quot; - &amp;quot; + nodeName + &amp;quot; - &amp;quot; + swfID);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/** Implement this function to listen for error messages when loading an ontology */&lt;br /&gt;
function errorLoadingOntology(errorMsg, swfID) {&lt;br /&gt;
//	alert(&amp;quot;Error: &amp;quot; + errorMsg);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Referencing your ontology of interest in the widgets = &lt;br /&gt;
&lt;br /&gt;
Most of the time you would want your widget to use the latest version of your ontology of interest that is available in BioPortal. Thus, you would want to use the ontology id and not the version is in your widget. To find the ontology id, go to the &amp;quot;Ontology Details&amp;quot; page for your ontology of interest in BioPortal (e.g., the page for [http://bioportal.bioontology.org/ontologies/39478 NCI Thesaurus]). You will find the ontology id on the Metadata tab there (e.g., the ontology id for NCI Thesaurus is 1032).&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12228</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12228"/>
		<updated>2012-05-31T14:40:08Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Mapping Sources */   Adding links to web sites for NCBO, UMLS, and OBO foundry.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= BioPortal Mapping Notes =&lt;br /&gt;
&lt;br /&gt;
This page documents mapping sources and common relationships in the [http://bioportal.bioontology.org NCBO BioPortal], with examples of different mappings that already exist in BioPortal. We welcome comments on the mapping processes and relations; please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
== Related Mapping Documents ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST Service for Mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings BioPortal Mappings]&lt;br /&gt;
&lt;br /&gt;
= Mapping Sources =&lt;br /&gt;
&lt;br /&gt;
* [http://www.bioontology.org/ The National Center for Biomedical Ontology (NCBO)] &lt;br /&gt;
** '''NCBO lexical mapping (loom)''': Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym.  The lexical match involves removing white-space and punctuation from labels.  Any labels with no more than 3 characters are excluded.&lt;br /&gt;
** '''NCBO (Identical URI)''': Mapping for terms with the same URI from different ontologies.&lt;br /&gt;
&lt;br /&gt;
* [http://www.nlm.nih.gov/research/umls/ Unified Medical Language System (UMLS)]&lt;br /&gt;
** '''NLM UMLS (CUI)''': Mappings between terms from different ontologies that were created automatically, linking terms with the same UMLS concept unique identifier (CUI). The CUIs are assigned to terms in the UMLS by editors at the NLM.&lt;br /&gt;
** '''NLM UMLS (MRMAP)''': Mappings between terms from the UMLS MRMAP.RRF data.&lt;br /&gt;
&lt;br /&gt;
* [http://obofoundry.org/ The Open Biological and Biomedical Ontologies (OBO)]&lt;br /&gt;
** '''OBO xref''': Mappings between ontology terms related by an OBO xref property.&lt;br /&gt;
** See also, [http://obofoundry.org/index.cgi?show=mappings OBO mappings]&lt;br /&gt;
&lt;br /&gt;
= Mapping Relationships =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12227</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12227"/>
		<updated>2012-05-31T14:27:55Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= BioPortal Mapping Notes =&lt;br /&gt;
&lt;br /&gt;
This page documents mapping sources and common relationships in the [http://bioportal.bioontology.org NCBO BioPortal], with examples of different mappings that already exist in BioPortal. We welcome comments on the mapping processes and relations; please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
== Related Mapping Documents ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST Service for Mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings BioPortal Mappings]&lt;br /&gt;
&lt;br /&gt;
= Mapping Sources =&lt;br /&gt;
&lt;br /&gt;
* '''NCBO lexical mapping (loom)''': Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym.  The lexical match involves removing white-space and punctuation from labels.  Any labels with no more than 3 characters are excluded.&lt;br /&gt;
* '''NCBO (Identical URI)''': Mapping for terms with the same URI from different ontologies.&lt;br /&gt;
* '''NLM UMLS (CUI)''': Mappings between terms from different ontologies that were created automatically, linking terms with the same UMLS concept unique identifier (CUI). The CUIs are assigned to terms in the UMLS by editors at the NLM.&lt;br /&gt;
* '''NLM UMLS (MRMAP)''': Mappings between terms from the UMLS MRMAP.RRF data.&lt;br /&gt;
* '''OBO xref''': Mappings between ontology terms related by an OBO xref.&lt;br /&gt;
&lt;br /&gt;
= Mapping Relationships =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12226</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12226"/>
		<updated>2012-05-31T14:26:54Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= BioPortal Mapping Notes =&lt;br /&gt;
&lt;br /&gt;
This page documents mapping processes and common mapping types in the [http://bioportal.bioontology.org NCBO BioPortal], with examples of different mappings that already exist in BioPortal. We welcome comments on the mapping processes and relations; please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
== Related Mapping Documents ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST Service for Mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings BioPortal Mappings]&lt;br /&gt;
&lt;br /&gt;
= Mapping Processes =&lt;br /&gt;
&lt;br /&gt;
* '''NCBO lexical mapping (loom)''': Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym.  The lexical match involves removing white-space and punctuation from labels.  Any labels with no more than 3 characters are excluded.&lt;br /&gt;
* '''NCBO (Identical URI)''': Mapping for terms with the same URI from different ontologies.&lt;br /&gt;
* '''NLM UMLS (CUI)''': Mappings between terms from different ontologies that were created automatically, linking terms with the same UMLS concept unique identifier (CUI). The CUIs are assigned to terms in the UMLS by editors at the NLM.&lt;br /&gt;
* '''NLM UMLS (MRMAP)''': Mappings between terms from the UMLS MRMAP.RRF data.&lt;br /&gt;
* '''OBO xref''': Mappings between ontology terms related by an OBO xref.&lt;br /&gt;
&lt;br /&gt;
= Mapping Relationships =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12222</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12222"/>
		<updated>2012-05-30T01:39:07Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= BioPortal Mapping Notes =&lt;br /&gt;
&lt;br /&gt;
This page documents mapping processes and common mapping types in the [http://bioportal.bioontology.org NCBO BioPortal], with examples of different mappings that already exist in BioPortal. We welcome comments on the mapping processes and relations; please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
== Related Mapping Documents ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST Service for Mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings BioPortal Mappings]&lt;br /&gt;
&lt;br /&gt;
= Mapping Processes =&lt;br /&gt;
&lt;br /&gt;
* '''NCBO lexical mapping (loom)''': Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym.  The lexical match involves removing white-space and punctuation from labels.  Any labels with no more than 3 characters are excluded.&lt;br /&gt;
* '''NCBO (Identical URI)''': Mapping for terms with the same URI from different ontologies.&lt;br /&gt;
* '''NLM UMLS (CUI)''': Mappings between terms from different ontologies that were created automatically, linking terms with the same UMLS concept unique identifier (CUI). The CUIs are assigned to terms in the UMLS by editors at the NLM.&lt;br /&gt;
* '''NLM UMLS (MRMAP)''': Mappings between terms from the UMLS MRMAP.RRF data.&lt;br /&gt;
* '''OBO xref''': Mappings between ontology terms related by an OBO xref.&lt;br /&gt;
&lt;br /&gt;
= BioPortal Mapping Types =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12221</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12221"/>
		<updated>2012-05-30T01:38:26Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= BioPortal Mapping Notes =&lt;br /&gt;
&lt;br /&gt;
This page documents mapping processes and common mapping types in the [http://bioportal.bioontology.org NCBO BioPortal], with examples of different mappings that already exist in BioPortal. We welcome comments on the mapping processes and relations; please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
== Related Mapping Documents ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST Service for Mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings BioPortal Mappings]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Mapping Processes =&lt;br /&gt;
&lt;br /&gt;
* '''NCBO lexical mapping (loom)''': Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym.  The lexical match involves removing white-space and punctuation from labels.  Any labels with no more than 3 characters are excluded.&lt;br /&gt;
&lt;br /&gt;
* '''NCBO (Identical URI)''': Mapping for terms with the same URI from different ontologies.&lt;br /&gt;
&lt;br /&gt;
* '''NLM UMLS (CUI)''': Mappings between terms from different ontologies that were created automatically, linking terms with the same UMLS concept unique identifier (CUI). The CUIs are assigned to terms in the UMLS by editors at the NLM.&lt;br /&gt;
&lt;br /&gt;
* '''NLM UMLS (MRMAP)''': Mappings between terms from the UMLS MRMAP.RRF data.&lt;br /&gt;
&lt;br /&gt;
* '''OBO xref''': Mappings between ontology terms related by an OBO xref.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= BioPortal Mapping Types =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12219</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12219"/>
		<updated>2012-05-29T22:01:56Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: Retitle document, so it can incorporate notes on mapping processes.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= BioPortal Mapping Notes =&lt;br /&gt;
&lt;br /&gt;
This page documents mapping processes and common mapping types in the [http://bioportal.bioontology.org NCBO BioPortal], with examples of different mappings that already exist in BioPortal. We welcome comments on the mapping processes and relations; please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
== Related Mapping Documents ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST Service for Mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings BioPortal Mappings]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Mapping Processes =&lt;br /&gt;
&lt;br /&gt;
= BioPortal Mapping Types =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12218</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12218"/>
		<updated>2012-05-29T21:59:13Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page defines common mapping types in the [http://bioportal.bioontology.org NCBO BioPortal] and provides examples of different mappings that already exist in BioPortal. We welcome comments on this set of mapping relations. Please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
= Related Mapping Documents =&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST Service for Mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings BioPortal Mappings]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= BioPortal Mapping Types =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12215</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12215"/>
		<updated>2012-05-29T21:53:05Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: Add related links for mappings.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page defines common mapping types in the [http://bioportal.bioontology.org NCBO BioPortal] and provides examples of different mappings that already exist in BioPortal. We welcome comments on this set of mapping relations. Please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
Related mapping documents:&lt;br /&gt;
* [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service REST service for mappings]&lt;br /&gt;
* [http://bioportal.bioontology.org/mappings Bioportal mappings]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= BioPortal Mapping Types =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12104</id>
		<title>BioPortal Mappings</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Mappings&amp;diff=12104"/>
		<updated>2012-04-27T05:35:47Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: Added additional skos mapping types, updated links to skos recommended edition, added notes about symmetry with examples of bidirectional mappings.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page defines common mapping types in the [http://bioportal.bioontology.org NCBO BioPortal] and provides examples of different mappings that already exist in BioPortal. We welcome comments on this set of mapping relations. Please send email to [mailto:support@bioontology.org support@bioontology.org].&lt;br /&gt;
&lt;br /&gt;
= BioPortal Mapping Types =&lt;br /&gt;
&lt;br /&gt;
There are mappings of the following types in BioPortal:&lt;br /&gt;
&lt;br /&gt;
* '''identical, the same''' : [http://www.w3.org/2002/07/owl#sameAs owl:sameAs]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/owl-ref/#sameAs-def OWL]): &amp;lt;tt&amp;gt;owl:sameAs&amp;lt;/tt&amp;gt; is used to state that two URI references refer to the same individual&lt;br /&gt;
&lt;br /&gt;
* '''related''' (but not necessarily similar): [http://www.w3.org/2000/01/rdf-schema#seeAlso  rdfs:seeAlso]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 RDFS]): The property &amp;lt;tt&amp;gt;rdfs:seeAlso&amp;lt;/tt&amp;gt; specifies a resource that might provide additional information about the subject resource. &lt;br /&gt;
&lt;br /&gt;
* '''related match''': [http://www.w3.org/2004/02/skos/core#relatedMatch skos:relatedMatch]&lt;br /&gt;
** '''Definition''': (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is used to state an associative mapping link between two concepts; &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;. &lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:relatedMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:relatedMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''close match''': [http://www.w3.org/2004/02/skos#closeMatch  skos:closeMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of &amp;quot;compound errors&amp;quot; when combining mappings across more than two concept schemes, &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is not declared to be a transitive property.  The &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:closeMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:closeMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''exact match''': [http://www.w3.org/2004/02/skos#exactMatch  skos:exactMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The property &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications.  The &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; it is a sub-property of &amp;lt;tt&amp;gt;skos:closeMatch&amp;lt;/tt&amp;gt; and, in addition, it is an instance of &amp;lt;tt&amp;gt;owl:TransitiveProperty&amp;lt;/tt&amp;gt;.  Also, &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is disjoint with each of the properties &amp;lt;tt&amp;gt;skos:relatedMatch&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:exactMatch&amp;lt;/tt&amp;gt; is an instance of &amp;lt;tt&amp;gt;owl:SymmetricProperty&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:exactMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:exactMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''broad match''': [http://www.w3.org/2004/02/skos/core#broadMatch skos:broadMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:broadMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:narrowMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''narrow match''': [http://www.w3.org/2004/02/skos/core#narrowMatch skos:narrowMatch]&lt;br /&gt;
** '''Definition''' (from [http://www.w3.org/TR/skos-reference/#mapping SKOS-REFERENCE]): The properties &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt; are used to state a hierarchical mapping link between two concepts; &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is a sub-property of &amp;lt;tt&amp;gt;skos:mappingRelation&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** '''Symmetry''': &amp;lt;tt&amp;gt;skos:narrowMatch&amp;lt;/tt&amp;gt; is &amp;lt;tt&amp;gt;owl:inverseOf&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;skos:broadMatch&amp;lt;/tt&amp;gt;; for bidirectional mappings between &amp;lt;tt&amp;gt;&amp;lt;conceptA&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;conceptB&amp;gt;&amp;lt;/tt&amp;gt; that are &amp;lt;tt&amp;gt;rdf:type skos:Concept&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;conceptA&amp;gt; skos:narrowMatch &amp;lt;conceptB&amp;gt; .&lt;br /&gt;
    &amp;lt;conceptB&amp;gt; skos:broadMatch &amp;lt;conceptA&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
* '''homologous to''' (for anatomical terms): ''not defined yet''&lt;br /&gt;
** '''Definition''': The property links two anatomical terms from different species that refer to terms that have a common ancestor (evolutionary derived form a common ancestor).&lt;br /&gt;
&lt;br /&gt;
= Survey of BioPortal Mappings =&lt;br /&gt;
The table below presents the statistics and examples of BioPortal mappings as of July 2010.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''relationship'''&lt;br /&gt;
| width=&amp;quot;125&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''basis'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Manual/Automatic'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Source'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Total mappings'''&lt;br /&gt;
|  width=&amp;quot;1025&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||LEXEVS_UMLS_MAPPER||2,028,186||Mappings between terms in UMLS ontologies that were created automatically, linking terms with the same CUI. Because CUIs were assigned manually by UMLS editors, we treat these mapings as manual mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;LEXEVS_UMLS_MAPPER&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||LOOM||1,449,303||Mappings were generated by the LOOM algorithm automatically based on close lexical match between preferred names of terms or a preferred name and a synonym&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;lexical similarity&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||||2,562||Mappings were generated automatically based on the exact match of preferred names or synonyms for terms in FMA, ZFA, and mouse anatomy. Note: These mappings are likely homology mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;exact match or synonym match&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Manual||||628||Mappings were generated manually by a user and uploaded to  BioPortal. The mappings were generated automatically based on lexical similarity but later manually reviewed by a domain expert. All mappings involve terms in the MGED ontology&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where (destination_ont=1131 or source_ont=1131) and map_type=&amp;quot;Manual&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| owl:sameAs||shared id||Manual||||271,000||Mappings between the terms that share the same ID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.bioontology.org/wiki/index.php/LOOM\&amp;quot;&amp;gt;LOOM&amp;lt;/a&amp;gt;&amp;quot; and relationship_type = &amp;quot;direct reference&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rdfs:seeAlso||OBO xref||Manual||||17,776||Mappings based on OBO xref mappings, which indicate related terms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;OBO xref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||Dbxref||Manual||||7,028||Mappings based on the use of Dbxref to indicate term reuse in OBO Foundry ontologies. Very close to having identical ids, but because the ids are different, we use exact match rather than owl:sameAs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;DbXref&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:exactMatch||||Manual||||68||Mappings generated manually by a user; all involve terms from NEMO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;Upload&amp;quot;;  &amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||identical UMLS CUIs||Manual||||902||Mappings between non-UMLS ontologies where concepts do have cui. So, technically, similar to inter-cui mappings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://umlsks.nlm.nih.gov/\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;UMLS&amp;lt;/a&amp;gt;&amp;quot;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||BioPortal UI||117||Mappings created by users through the BioPortal user interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;BioPortal UI&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NCICB||3078||Manual mappings between Mouse anatomy and NCIT &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NCICB&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||lexical similarity||Automatic||EFO||673||Mappings generated automatically based on lexical similarity&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;&amp;lt;a href=\&amp;quot;http://www.ebi.ac.uk/efo\&amp;quot;&amp;gt;EFO&amp;lt;/a&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| skos:closeMatch||||Manual||NLM||2,662||Manual mappings between Mouse anatomy and NCIT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;select * from mappings where map_source = &amp;quot;NLM&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Help&amp;diff=12103</id>
		<title>BioPortal Help</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Help&amp;diff=12103"/>
		<updated>2012-04-27T00:31:26Z</updated>

		<summary type="html">&lt;p&gt;Darren Weber: /* Mappings Tab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== User Interface ==&lt;br /&gt;
=== Home Page ===&lt;br /&gt;
&lt;br /&gt;
BioPortal provides access to commonly used biomedical ontologies and to tools for working with them. BioPortal allows you to &lt;br /&gt;
* [[#Browse Tab|browse the library]] of ontologies&lt;br /&gt;
* [[#Search Tab|search for a term]] across multiple ontologies&lt;br /&gt;
* [[#Mappings Tab|browse mappings]] between terms in different ontologies&lt;br /&gt;
* [[#Recommender Tab|receive recommendations]] on which ontologies are most relevant for a corpus&lt;br /&gt;
* [[#Annotator Tab|annotate text]] with terms from ontologies&lt;br /&gt;
* [[#Resource Index Tab|search biomedical resources]] for a term&lt;br /&gt;
* [[#Projects Tab|browse a selection of projects]] that use BioPortal resources&lt;br /&gt;
&lt;br /&gt;
All information available through the BioPortal Web site is also available through the NCBO Web service REST API. Please see [http://www.bioontology.org/wiki/index.php/NCBO_REST_services REST API documentation] for more information.&lt;br /&gt;
&lt;br /&gt;
=== Browse Tab ===&lt;br /&gt;
&lt;br /&gt;
Here you can browse our library of Biomedical ontologies and can also submit your own ontology. The system displays some summary information about each ontology. More detailed summary information is available on the ontology summary page for each ontology. You can reach this page by clicking on the ontology name link.&lt;br /&gt;
&lt;br /&gt;
To '''find a particular ontology quickly''', begin typing the ontology name or abbreviation in the “Filter by Text” field.  You can also narrow the list of ontologies shown by selecting a specific “category” (a domain) or a “group” to which the ontology belongs. To '''submit an ontology''' press the “Submit New Ontology” button. You must be logged in to BioPortal to submit an ontology. You can subscribe to '''receive RSS updates''' when any ontology in the system changes by clicking the subscribe link. You can subscribe to updates for a particular ontology from the summary page for that ontology. To go to the summary page click on the ontology name link.&lt;br /&gt;
&lt;br /&gt;
Some submitters want to control who can browse the terms in their ontology. These ontologies are marked with visibility “Private” or “Licensed”. To browse the terms in these ontologies you must be both &lt;br /&gt;
* logged in to BioPortal&lt;br /&gt;
* granted access to the ontology&lt;br /&gt;
For '''private ontologies''', the ontology submitter directly controls access to the ontology. Please contact the submitter to gain access to a private ontology. Contact information for the ontology is available on the ontology summary page. For '''licensed ontologies''', the submitter indirectly controls access to the ontology. When you attempt to access a licensed ontology, the system will prompt you to enter the license information required by the submitter. When you have entered the required information, the system will allow you to access the ontology. In addition, there are '''&amp;quot;summary only&amp;quot; ontologies'''. The terms for these ontologies are not available in BioPortal at all. Please contact the ontology submitter for more information about these ontologies.&lt;br /&gt;
&lt;br /&gt;
To '''access ontologies programmatically''', see our [http://www.bioontology.org/wiki/index.php/NCBO_REST_services#Services_to_access_ontologies_and_ontology_versions Ontology REST API documentation].&lt;br /&gt;
&lt;br /&gt;
=== Search Tab ===&lt;br /&gt;
&lt;br /&gt;
The search capability allows you to enter some text and find terms across multiple terminologies that contain this text. The names, synonyms, properties for a term are searched for matches to the entered text.&lt;br /&gt;
&lt;br /&gt;
To '''find a term in any ontology''' enter the full or partial name the term in the search box and simply hit the Search button. The system looks for matches in the term name, synonyms, term ids, and in property values. You can filter the returned values by ontology or by the type of match by selecting one of the filter links in the output table. If you want to '''search only in a subset of ontologies''' you can specify the desired ontologies in the Ontologies box. (Note that it is no faster to search a subset than to search all ontologies.) Simply type the ontology name or acronym to chose the desired ontology. You can also select a set of ontologies from a list of all ontologies using the “select from list” link. &lt;br /&gt;
&lt;br /&gt;
Note that, for performance reasons, only the top 100 matches are returned. Usually this number is sufficient to cover matches in all names, ids, and synonyms.&lt;br /&gt;
&lt;br /&gt;
Some boolean search capability is available. Prefixing a term with &amp;quot;-&amp;quot; means NOT for that term. Thus &amp;quot;heart -attack&amp;quot; will search for terms with &amp;quot;heart&amp;quot; but not &amp;quot;attack&amp;quot; in the name. An OR capability is also available using parentheses. Thus &amp;quot;(heart attack)&amp;quot; means to find terms with either &amp;quot;heart&amp;quot; or &amp;quot;attack&amp;quot; in the name.&lt;br /&gt;
&lt;br /&gt;
To '''search programmatically''' see our [http://www.bioontology.org/wiki/index.php/NCBO_REST_services#Search_services Search REST API documentation].&lt;br /&gt;
&lt;br /&gt;
=== Mappings Tab ===&lt;br /&gt;
&lt;br /&gt;
Mappings are associations between two or more terms in different ontologies. This association typically, but not always, represents a degree of similarity between the terms. The author of the mapping defines the semantics of a particular mapping. It is also usual for a mapping to be bi-directional, but again, this is not required. The mapping author defines directionality (for details, please see our [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings Mapping Documentation]).&lt;br /&gt;
&lt;br /&gt;
To '''browse mappings''' for an ontology, select the ontology from the drop-down list. You will then see a table showing all ontologies for which at least one mapping exists between that ontology and the ontology you selected. Select an ontology from this table to browse the mappings between the two ontologies.&lt;br /&gt;
&lt;br /&gt;
To '''access mappings programmatically''', please see our [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings_Service Mappings REST API documentation].&lt;br /&gt;
&lt;br /&gt;
=== Recommender Tab ===&lt;br /&gt;
&lt;br /&gt;
The Ontology Recommender accepts text and returns a ranked set of ontologies that most closely match the text. The ranking takes into account how many terms from the text are in the ontology and the size of the ontology. &lt;br /&gt;
&lt;br /&gt;
The '''ontology ranking algorithm''' is described in the paper [http://bmir.stanford.edu/file_asset/index.php/1591/BMIR-2010-1432.pdf Building an Ontology Recommender Web Service].&lt;br /&gt;
&lt;br /&gt;
To '''retrieve ontology recommendations programmatically''', please see our [http://www.bioontology.org/wiki/index.php/Ontology_Recommender_Web_service Ontology Recommender REST API documentation].&lt;br /&gt;
&lt;br /&gt;
=== Annotator Tab ===&lt;br /&gt;
&lt;br /&gt;
To '''annotate text directly with ontological terms''', simply enter text in the box and press the submit button. The system matches words in the text to terms in ontologies by doing an exact string comparison (a “direct” match) between the text and ontology term names, synonyms, and ids. &lt;br /&gt;
&lt;br /&gt;
In addition to the direct matches, the user may '''expand the set of matches''' by including matches from mapped terms and from hierarchical expansion. For most ontologies (OWL and UMLS RRF) the system performs the hierarchical expansion on the superclass (“is-a”) relationship. For OBO ontologies the hierarchical expansion also includes the part-of relationship.  You use the “number of levels” field to control the number of levels up the hierarchy for which the system will return terms for a given match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To '''create annotations programmatically''' see the [http://www.bioontology.org/wiki/index.php/Annotator_User_Guide REST API documentation].&lt;br /&gt;
&lt;br /&gt;
=== Resource Index Tab ===&lt;br /&gt;
&lt;br /&gt;
The resource index is a pre-calculated set of annotations of selected biomedical resources. We have annotated these resources with all terms in all ontologies in BioPortal. We did this by running the Annotator Web Service on the textual descriptions of individual items in each of these resources. To retrieve records annotated with a specific ontology term, enter the term in the search box and press the &amp;quot;Search&amp;quot; button.  &lt;br /&gt;
&lt;br /&gt;
To '''access annotations for resources programmatically''', please see our [http://www.bioontology.org/wiki/index.php/Resource_Index_REST_Web_Service_User_Guide Resource Index REST API documentation].&lt;br /&gt;
&lt;br /&gt;
Further information on ontology-based search and mining of biomedical resources is available in [http://www.ncbi.nlm.nih.gov/pubmed/21918645 Jonquet et al Web Semant. 2011 Sep 1;9(3):316-324], [http://www.ncbi.nlm.nih.gov/pubmed/21550421 LePendu et al J Biomed Inform. 2011 Dec;44 Suppl 1:S31-8] and [http://www.ncbi.nlm.nih.gov/pubmed/22494789 Liu et al J Am Med Inform Assoc. 2012 Apr 11]&lt;br /&gt;
&lt;br /&gt;
=== Projects Tab ===&lt;br /&gt;
&lt;br /&gt;
This page shows selected projects which make use of BioPortal technology. To '''add your project''' to this list press the &amp;quot;Create New Project&amp;quot; button. You must be logged in to BioPortal to create a new project.&lt;br /&gt;
&lt;br /&gt;
== Common Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Submitting an ontology ===&lt;br /&gt;
Go to the &amp;quot;Browse&amp;quot; page and press the &amp;quot;Submit Ontology&amp;quot; button near the top of the page.&lt;br /&gt;
&lt;br /&gt;
=== Viewing and editing mappings ===&lt;br /&gt;
To view all mappings for an ontology, chose the ontology from the Browse page and then select &amp;quot;Mappings&amp;quot; from the drop-down list.&lt;br /&gt;
&lt;br /&gt;
To view the notes for a particular term, navigate to the ontology and term (using the &amp;quot;Browse&amp;quot; tab and select the terms item from the dropdown) and then select the &amp;quot;Mappings&amp;quot; tab in the right-hand panel.&lt;br /&gt;
&lt;br /&gt;
=== Viewing and editing notes ===&lt;br /&gt;
To view all notes for an ontology, chose the ontology from the Browse page and then select &amp;quot;Notes&amp;quot; from the drop-down list.&lt;br /&gt;
&lt;br /&gt;
To view the notes for a particular term, navigate to the ontology and term (using the &amp;quot;Browse&amp;quot; tab and select the terms item from the dropdown) and then select the &amp;quot;Notes&amp;quot; tab in the right-hand panel.&lt;br /&gt;
&lt;br /&gt;
=== Viewing and editing reviews ===&lt;br /&gt;
Navigate to the ontology summary page by selecting the ontology name from the Browse tab. Create a review by pressing the &amp;quot;Create Review&amp;quot; button near the top of the page.&lt;br /&gt;
&lt;br /&gt;
== Glossary ==&lt;br /&gt;
; class : A concept in the domain of the ontology. Used within BioPortal, class is a synonym for term or concept. Term is the preferred BioPortal label.&lt;br /&gt;
; concept : (from SKOS documentation) A concept is an idea or notion; a unit of thought. &lt;br /&gt;
; CUI :  Abbreviation for &amp;quot;Concept Unique Identifier&amp;quot;. These values that are assigned by UMLS for all terms in its ontologies. A CUI represents a &amp;quot;UMLS concept&amp;quot;. An ontology term may be assigned to more than one CUI. The assignment of terms to CUI is intended to allow the creation of maps between terms in different ontologies.  &lt;br /&gt;
; deprecated term : synonym for &amp;quot;obsolete term&amp;quot; in some ontologies.&lt;br /&gt;
; group : a collection of ontologies that are typically associated with some outside group or organization. &lt;br /&gt;
; obsolete term : A term that the authors of the ontology have flagged as being &amp;quot;obsolete&amp;quot; and which they recommend that people not use. These terms are often left in ontologies (rather than removing them entirely) so that existing systems that depend on them will continue to function.&lt;br /&gt;
; mapping : Asserted relationship between two terms in different ontologies. The nature of the exact relationship is left to the mapping author. The most common relationship for mappings between terms is &amp;quot;same as&amp;quot;.&lt;br /&gt;
; preferred name : Human readable label for a term that the authors of the ontology suggest be used when referring to the term. Alternate, non-preferred, names are synonyms.&lt;br /&gt;
; property : Named association between two entities. Examples are &amp;quot;definition&amp;quot; (a relation between a term and some text) and &amp;quot;part-of&amp;quot; (a relation between two terms). &lt;br /&gt;
; resource : Biomedical resource (publication, database) that has been indexed with the ontologies in BioPortal.&lt;br /&gt;
; slice: An alternate entry point into BioPortal which has been configured to display and use a subset of the available ontologies. The slice is accessed via URL of the form http://&amp;lt;slice-name&amp;gt;.bioportal.bioontology.org . There is currently no way for an end user to create or configure slice. However, you may send a request to support@bioontology.org and request that a new slice be created for you.&lt;br /&gt;
; synonym : Alternate name for a term. Every term has a single &amp;quot;preferred&amp;quot; name and may have any number of synonyms.&lt;br /&gt;
; term : Concept in the domain of the ontology. Within BioPortal, term is a synonym for class or concept. Term is the preferred label.&lt;br /&gt;
; term mappings : Set of mappings for a given term to terms other ontologies. &lt;br /&gt;
; term resources : Set of resources that contain annotations for a given term.&lt;br /&gt;
&lt;br /&gt;
== How to cite NCBO and BioPortal ==&lt;br /&gt;
Noy NF, Shah NH, Whetzel PL, Dai B, Dorf M, Griffith N, Jonquet C, Rubin DL, Storey MA, Chute CG, Musen MA. BioPortal: ontologies and integrated data resources at the click of a mouse. Nucleic Acids Res. 2009 Jul 1;37(Web Server issue):W170-3. Epub 2009 May 29. PubMed PMID: 19483092; PubMed Central PMCID: PMC2703982.&lt;/div&gt;</summary>
		<author><name>Darren Weber</name></author>
	</entry>
</feed>