diff --git a/biokb/textminingservice_biokb/biokb.py b/biokb/textminingservice_biokb/biokb.py index 1b0aecfb59fce3dd8d03c2cbf909add58a455aef..a88f3ab5b5b51e607a11e47649c28d21c3b29eed 100644 --- a/biokb/textminingservice_biokb/biokb.py +++ b/biokb/textminingservice_biokb/biokb.py @@ -1,13 +1,14 @@ -import logging -from typing import List - -from SPARQLWrapper import SPARQLWrapper, JSON, POSTDIRECTLY +from textminingservice_biokb.utils import uri_to_entity_code, standardise_underscored_entity_code +from textminingservice.models.publication import Publication +from textminingservice.models.coocurrence import CoOccurrence +from textminingservice.TextMiningService import TextMiningService from SPARQLWrapper.SPARQLExceptions import QueryBadFormed +from SPARQLWrapper import SPARQLWrapper, JSON, POSTDIRECTLY +from typing import List +import json +import requests +import logging -from textminingservice.TextMiningService import TextMiningService -from textminingservice.models.coocurrence import CoOccurrence -from textminingservice.models.publication import Publication -from textminingservice_biokb.utils import uri_to_entity_code, standardise_underscored_entity_code logger = logging.getLogger(__name__)