Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Quick follow-up on the semantic types

Michael Dorf mdorf at
Thu Nov 17 15:59:39 PST 2016

Hi Clement,

Per the NCBO API docs as well as having verified this in the code, there are two parameters that need to be set in the Annotator call that determine how it uses semantic types:

  *   semantic_types={semType1,semType2..,semTypeN}
  *   expand_semantic_types_hierarchy={true|false} // default = false. true means to use the semantic types passed in the "semantic_types" parameter as well as all their immediate children. false means to use ONLY the semantic types passed in the "semantic_types" parameter.

Let me know if after setting these you get results that are unexpected.



On Nov 17, 2016, at 14:08, Clement Jonquet <jonquet at<mailto:jonquet at>> wrote:

As discussed in the hall ;)

I have explicitly added to an ontology in OWL some cui, tui and hasty properties to see if the Annotator will then after consider them… and it does not work.

For instance:
has been enriched with
<umls:cui xml:datatype="string">C0150933</umls:cui>
<umls:tui xml:datatype="string">T023</umls:tui>
<umls:hasSTY rdf:resource=""/>

In the OWL file. This (modulo the syntax) exactly how the UMLS2RDF tool represent the semantic type information.

And the Annotator does not got it: et vision&ontologies=MEDLINEPLUS&longest_only=false&exclude_numbers=false&whole_word_only=true&exclude_synonyms=false&expand_mappings=false&semantic_types=T023

So this is official, I don’t understand how the filtering by semantic type occurs.
If you have any information, I am interested.
This would be cool for someone who decide to enrich his/her ontology with semantic types to get them parsed by the Annotator.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bioontology-support mailing list