Class SortaServiceImpl

    • Method Detail

      • getOntologyEntity

        public Entity getOntologyEntity​(String ontologyIri)
        Description copied from interface: SortaService
        Get a specified ontology entity in generic type based on the given ontologyIri
        Specified by:
        getOntologyEntity in interface SortaService
        Returns:
        specified ontology entity in generic type
      • getOntologyTermEntity

        public Entity getOntologyTermEntity​(String ontologyTermIri,
                                            String ontologyIri)
        Description copied from interface: SortaService
        Get a specified ontologyterm in generic type based on the given ontologyIri and ontologyTermIri
        Specified by:
        getOntologyTermEntity in interface SortaService
        Returns:
        specifieid ontologyterm entity in a generic type
      • findOntologyTermEntities

        public Iterable<Entity> findOntologyTermEntities​(String ontologyIri,
                                                         Entity inputEntity)
        Description copied from interface: SortaService
        Find a list of relevant ontologyterm typed entities using lexical matching (elasticsearch + ngram) in generic type based on given ontologyIri and a set of query inputs (name, synonym, ontology database id, e.g. hpo, omim)
        Specified by:
        findOntologyTermEntities in interface SortaService
        Returns:
        a list of ontologyterm entities in generic type