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] specify ontologies in annotator

Darren Weber dlweber at stanford.edu
Mon Feb 24 11:11:57 PST 2014


Hi Willy,

Does it work when you change the ontology parameter to (i.e., use the 
ontology acronym, not the full ID):

method.addParameter("ontologies", "HRDO");


BTW, at the bottom of the annotation results in the UI, there is a 
direct link to the JSON and XML results, e.g.

http://data.bioontology.org/annotator?apikey=4ea81d74-8960-4525-810b-fa1baab576ff&text=Melanoma%20is%20a%20malignant%20tumor%20of%20melanocytes%20which%20are%20found%20predominantly%20in%20skin%20but%20also%20in%20the%20bowel%20and%20the%20eye.&max_level=0&ontologies=HRDO&format=xml

Take care,
Darren



On 2/24/14, 10:18 AM, Willy wrote:
> Hi, i'm new in using the annotator service.
>
> I try to annotate a text, constaint to using only specific ontologies like
> this:
> http://data.bioontology.org/annotator?ontologies=http://data.bioontology.org/ontologies/HRDO&text=Melanoma+is+a+malignant+tumor+of+melanocytes+which+are+found+predominantly+in+skin+but+also+in+the+bowel+and+the+eye.
>
> This is working in webbrowser.
>
> I try using the service with java and post method with this:
>
> PostMethod method = new PostMethod("http://data.bioontology.org/annotator");
> method.addParameter("text", "Melanoma is a malignant tumor of melanocytes
> which are found predominantly in skin but also in the bowel and the eye.");
> method.addParameter ("ontologies",
> "http://data.bioontology.org/ontologies/HRDO");
>
>
> If I don't add ontologies parameter is working, and result is annotation
> with all ontologies, I conclude my process is correct.
> But when I specify ontologies parameter, the result is empty.
> Did I do something wrong?
>
>
>
>
>
> --
> View this message in context: http://ncbo-support.2288202.n4.nabble.com/specify-ontologies-in-annotator-tp4652596.html
> Sent from the NCBO Support mailing list archive at Nabble.com.
> _______________________________________________
> bioontology-support mailing list
> bioontology-support at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/bioontology-support



More information about the bioontology-support mailing list