public class BioPortalRepository extends Object implements OntologyRepository
Constructor and Description |
---|
BioPortalRepository() |
Modifier and Type | Method and Description |
---|---|
void |
download(File dir)
Download the ontologies and save them in the given directory.
|
Collection<OntologyRepositoryEntry> |
getEntries() |
String |
getLocation()
Gets a OWLClassExpression of the location of the repository
|
List<Object> |
getMetaDataKeys() |
String |
getName()
Gets the name of the repository
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology(OntologyRepositoryEntry entry)
Returns the ontology for the entry.
|
void |
initialize() |
static void |
main(String[] args) |
void |
refresh()
Ensures the repository is up to date
|
public BioPortalRepository()
public String getName()
OntologyRepository
getName
in interface OntologyRepository
public String getLocation()
OntologyRepository
getLocation
in interface OntologyRepository
public void initialize()
initialize
in interface OntologyRepository
public void refresh()
OntologyRepository
refresh
in interface OntologyRepository
public Collection<OntologyRepositoryEntry> getEntries()
getEntries
in interface OntologyRepository
public List<Object> getMetaDataKeys()
getMetaDataKeys
in interface OntologyRepository
public void download(File dir)
dir
- the directorypublic org.semanticweb.owlapi.model.OWLOntology getOntology(OntologyRepositoryEntry entry)
getOntology
in interface OntologyRepository
entry
- the entry DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann