Skip to content

Commit 704ea96

Browse files
committed
fix lov lookup endpoint
1 parent c7fe0b5 commit 704ea96

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

OntologySearch.gs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,15 @@ function searchLOV(term) {
134134
var restriction = findRestrictionForCurrentColumn("LOV");
135135
var vocabularies = getLinkedOpenVocabularies();
136136

137-
var url = "http://lov.okfn.org/dataset/lov/api/v2/search?q=" + term;
137+
var url = "https://lov.linkeddata.es/dataset/lov/api/v2/search?q=" + term;
138138
var vocabShortname;
139139
var vocabURI;
140140
if (restriction.source) {
141141
vocabShortname = restriction.ontologyId.replace(/\s/g, ""); //string trim
142142
if (vocabularies[vocabShortname]) {
143143
vocabURI = vocabularies[vocabShortname].uri;
144144
if (vocabURI)
145-
url = "http://lov.okfn.org/dataset/lov/api/v2/search?q=" + term + "&voc=" + vocabURI;
145+
url = "https://lov.linkeddata.es/dataset/lov/api/v2/search?q=" + term + "&voc=" + vocabURI;
146146
} else {
147147
url = "";
148148
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Please, note that at the time of the publication, OntoMaton was powered by the <
2828

2929
- we upgraded the code to [Google Add-ons for Docs and Sheets](http://googledrive.blogspot.it/2014/03/add-ons.html), which [deprecated the Apps Script applications and the Script Gallery](http://googleappsdeveloper.blogspot.co.uk/2014/06/deprecating-script-gallery-in-old.html), used in the original OntoMaton version
3030
- we upgraded to the new BioPortal API for searching ontology terms and annotator services (see BioPortal 4.0 release notes), as the old API was deprecated in 2014
31-
- we extended the ontology search functionality to support REST services from the <a href="http://lov.okfn.org/">Linked Open Vocabularies</a> and the <a href="https://www.ebi.ac.uk/ols/">EBI Ontology Lookup Service</a>, thus now allowing ontology term searches over three separate services.
31+
- we extended the ontology search functionality to support REST services from the <a href="https://lov.linkeddata.es/">Linked Open Vocabularies</a> and the <a href="https://www.ebi.ac.uk/ols/">EBI Ontology Lookup Service</a>, thus now allowing ontology term searches over three separate services.
3232

3333
For more information, see [our blog posts on OntoMaton](https://isatools.wordpress.com/?s=ontomaton).
3434

@@ -82,7 +82,7 @@ You can access it through the 'Add On' menu option.
8282

8383
### Ontology Search
8484

85-
From OntoMaton, you can search three different services within one tool: the [NCBO Bioportal](http://bioportal.bioontology.org/), [Linked Open Vocabularies](http://lov.okfn.org) and [EBI Ontology Lookup Service](https://www.ebi.ac.uk/ols/), and insert the terms in your Google Spreadsheet directly. Full term provenance is recorded for you and later downstream analysis.
85+
From OntoMaton, you can search three different services within one tool: the [NCBO Bioportal](http://bioportal.bioontology.org/), [Linked Open Vocabularies](https://lov.linkeddata.es) and [EBI Ontology Lookup Service](https://www.ebi.ac.uk/ols/), and insert the terms in your Google Spreadsheet directly. Full term provenance is recorded for you and later downstream analysis.
8686

8787
<div align="center">
8888
<img src="https://github.com/ISA-tools/OntoMaton/blob/master/figures/ontomaton-fig8.png" width="700">

Settings.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function getBioPortalOntologies() {
147147

148148
function getLinkedOpenVocabularies(){
149149

150-
var vocabsURL = "http://lov.okfn.org/dataset/lov/api/v2/vocabulary/list";
150+
var vocabsURL = "https://lov.linkeddata.es/dataset/lov/api/v2/vocabulary/list";
151151
var cache = CacheService.getPrivateCache();
152152

153153
if (cache.get("lov_fragments") == null) {

0 commit comments

Comments
 (0)