Difference between revisions of "Tutorial Examples"

From NCBO Wiki
Jump to navigation Jump to search
Line 21: Line 21:
  
 
Create a value set with the needed terms, submit to BioPortal and then use the auto complete widget or the search service. If the value set is a subtree of an existing ontology, use the search service restricted to that sub branch.
 
Create a value set with the needed terms, submit to BioPortal and then use the auto complete widget or the search service. If the value set is a subtree of an existing ontology, use the search service restricted to that sub branch.
 +
 +
e.g. http://rest.bioontology.org/bioportal/search/Melanoma?ontologyids=1353&subtreerootconceptid=108369006, searches for Melanoma under 'Neoplasm' in SNOMEDCT.
  
 
* I need to extract the disease branch from SNOMEDCT
 
* I need to extract the disease branch from SNOMEDCT
Line 29: Line 31:
  
 
Use the search service, search the properties of every term for C0151779.
 
Use the search service, search the properties of every term for C0151779.
 +
http://rest.bioontology.org/bioportal/search/C0151779?isexactmatch=1&includeproperties=1
  
 
* I need to code/annotate free-text with ontology terms
 
* I need to code/annotate free-text with ontology terms
  
 
Use the Annotator service (at BioPortal or as a Virtual Machine at your institution); or make sure to use the auto complete widgets in the web forms at content acquisition time!
 
Use the Annotator service (at BioPortal or as a Virtual Machine at your institution); or make sure to use the auto complete widgets in the web forms at content acquisition time!

Revision as of 09:03, 13 November 2010

Sample Links

Sample user needs

  • I need to restrict user input to a certain value set

Create a value set with the needed terms, submit to BioPortal and then use the auto complete widget or the search service. If the value set is a subtree of an existing ontology, use the search service restricted to that sub branch.

e.g. http://rest.bioontology.org/bioportal/search/Melanoma?ontologyids=1353&subtreerootconceptid=108369006, searches for Melanoma under 'Neoplasm' in SNOMEDCT.

  • I need to extract the disease branch from SNOMEDCT

Use the view extractor service or pick the desired root node and recursively call get child nodes; or pick the desired root node and get all paths to leaf terms from that node.

  • I need to identify all terms mapped to UMLS CUI C0151779

Use the search service, search the properties of every term for C0151779. http://rest.bioontology.org/bioportal/search/C0151779?isexactmatch=1&includeproperties=1

  • I need to code/annotate free-text with ontology terms

Use the Annotator service (at BioPortal or as a Virtual Machine at your institution); or make sure to use the auto complete widgets in the web forms at content acquisition time!