Francesco 1 年之前
父节点
当前提交
e207221a46
共有 4 个文件被更改,包括 103 次插入103 次删除
  1. 11 11
      js/advanced_search.js
  2. 4 4
      js/lettera_query.js
  3. 44 44
      js/search.js
  4. 44 44
      js/voiceSearch.js

+ 11 - 11
js/advanced_search.js

@@ -40,16 +40,16 @@ const typeArray = [
 	];
 
 const graphArray = [
-	["ASPO - Datini", "http://dev.restore.ovi.cnr.it:8890/aspo/datini", "Object"], 
-	["ASPO - Ospedale", "http://dev.restore.ovi.cnr.it:8890/aspo/ospedale", "Object"],
-	["ASPO - Marcovaldi", "http://dev.restore.ovi.cnr.it:8890/aspo/marcovaldi", "Object"],
-	["ASPO - Onomastica Gettatelli", "http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli", "Person"],
-	["ASPO - Onomastica Datini", "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica", "Person"],
-	["MPP – Onomastica Artisti", "http://dev.restore.ovi.cnr.it:8890/mpp/autori", "Person"],
-	["MPP - Collezione Martini", "http://dev.restore.ovi.cnr.it:8890/mpp/martini", "Artwork"],
-	["MPP -  Opere provenienti dall’Ospedale", "http://dev.restore.ovi.cnr.it:8890/mpp/ospedale", "Artwork"],
-	["MPP – Iconografia Datini", "http://dev.restore.ovi.cnr.it:8890/mpp/datini", "Artwork"],
-	["OVI - Lettere", "http://dev.restore.ovi.cnr.it:8890/ovi/datini", "Letter"]
+	["ASPO - Datini", "http://147.213.76.182:8890/aspo/datini", "Object"], 
+	["ASPO - Ospedale", "http://147.213.76.182:8890/aspo/ospedale", "Object"],
+	["ASPO - Marcovaldi", "http://147.213.76.182:8890/aspo/marcovaldi", "Object"],
+	["ASPO - Onomastica Gettatelli", "http://147.213.76.182:8890/aspo/gettatelli", "Person"],
+	["ASPO - Onomastica Datini", "http://147.213.76.182:8890/aspo/onomastica", "Person"],
+	["MPP – Onomastica Artisti", "http://147.213.76.182:8890/mpp/autori", "Person"],
+	["MPP - Collezione Martini", "http://147.213.76.182:8890/mpp/martini", "Artwork"],
+	["MPP -  Opere provenienti dall’Ospedale", "http://147.213.76.182:8890/mpp/ospedale", "Artwork"],
+	["MPP – Iconografia Datini", "http://147.213.76.182:8890/mpp/datini", "Artwork"],
+	["OVI - Lettere", "http://147.213.76.182:8890/ovi/datini", "Letter"]
 	];
 
 const objectArray = [];
@@ -869,7 +869,7 @@ function constructQuery(params) {
 	+luogo_di_Partenza + luogo_di_Arrivo + data_partenza_fine + data_arrivo_fine + data_opera_inizio + data_opera_fine + lingua 
 	+ area_linguistica + edizione + lemma + data + identificatore + start + finish + testo + "}"
 
-	var query_url = 'http://dev.restore.ovi.cnr.it:8890/sparql/?default-graph-uri=&query=' + encodeURIComponent(query) + '&output=json';
+	var query_url = 'http://147.213.76.182:8890/sparql/?default-graph-uri=&query=' + encodeURIComponent(query) + '&output=json';
 
 	console.log(query);
 

+ 4 - 4
js/lettera_query.js

@@ -10,7 +10,7 @@ console.log('URL get params: ', thisUrlParams);
 // Funzioni per eseguire le queries
 
 function prepareQueryURL(query){
-    sparqlEndpoint = 'http://dev.restore.ovi.cnr.it:8890/sparql/';
+    sparqlEndpoint = 'http://147.213.76.182:8890/sparql/';
     sparqlUrlParams = '?default-graph-uri=&query=' + encodeURIComponent(query) + '&output=json&callback=?';
     return sparqlEndpoint + sparqlUrlParams;
 }
@@ -50,7 +50,7 @@ function loadPageNLP()
 // Nuova funzione per Button LOD
 function loadPageLOD()
 {
-     window.location="http://dev.restore.ovi.cnr.it/lodlive/?" + thisUrlParams.link;
+     window.location="http://147.213.76.182/lodlive/?" + thisUrlParams.link;
 }
 
 
@@ -67,7 +67,7 @@ PREFIX aut: <http://palazzopretorio.comune.prato.it/it/opere/autori/>"
 
 query1 = prefixes + " SELECT DISTINCT ?subject ?mittente ?destinatario ?data_partenza ?data_arrivo ?uriLuogoPartenza ?luogo_partenza ?uriLuogoArrivo ?luogo_arrivo \
 WHERE {?subject crm:P128_carries <" + thisUrlParams.link + "> \
-GRAPH <http://dev.restore.ovi.cnr.it:8890/ovi/datini> {?subject crm:P25i_moved_by ?mov_ev .} \
+GRAPH <http://147.213.76.182:8890/ovi/datini> {?subject crm:P25i_moved_by ?mov_ev .} \
 ?send rdfs:subClassOf ?mov_ev ; \
 rdf:type crm:EL2_Send_Letter . \
 OPTIONAL {?send crm:P4_has_time-span ?time_spanA . \
@@ -91,7 +91,7 @@ OPTIONAL {?receive crm:P01_has_domain ?receiver . \
 
 query2 = prefixes + " SELECT DISTINCT ?uriSender ?mittente ?uriReceiver ?destinatario ?timeSpanSend ?timeSpanReceive ?placeSend ?placeReceive ?identifier ?material ?dimension ?currentLocation \
 WHERE {?subject crm:P128_carries <" + thisUrlParams.link + "> . \
-GRAPH <http://dev.restore.ovi.cnr.it:8890/aspo/datini> {?subject crm:P25i_moved_by ?mov_ev .} \
+GRAPH <http://147.213.76.182:8890/aspo/datini> {?subject crm:P25i_moved_by ?mov_ev .} \
 ?send rdfs:subClassOf ?mov_ev ; \
 rdf:type crm:EL2_Send_Letter . \
 ?receive rdfs:subClassOf ?mov_ev ; \

+ 44 - 44
js/search.js

@@ -156,70 +156,70 @@ function rewrite_graph(graph) {
 
 	var graph_name = ""
 
-	if (graph == "http://dev.restore.ovi.cnr.it:8890/aspo/datini") {
+	if (graph == "http://147.213.76.182:8890/aspo/datini") {
 		graph_name = "Archivio di Stato di Prato - Fondo Datini"; 
 	}
-	else if (graph == "http://dev.restore.ovi.cnr.it:8890/aspo/ospedale") {
+	else if (graph == "http://147.213.76.182:8890/aspo/ospedale") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/marcovaldi") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/marcovaldi") {
 		graph_name = "Archivio di Stato di Prato - Fondo Marcolvaldi";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/gettatelli") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/actors") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/actors") {
 		graph_name = "Archivio di Stato di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/martini") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/martini") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/ospedale") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/ospedale") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/datini") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/datini") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/authors") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/authors") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/ovi/datini") {
+	else if (graph ==  "http://147.213.76.182:8890/ovi/datini") {
 		graph_name = "Opera del Vocabolario Italiano";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/ovi/datini/trascr") {
+	else if (graph ==  "http://147.213.76.182:8890/ovi/datini/trascr") {
 		graph_name = "Opera del Vocabolario Italiano";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/places") {
+	else if (graph ==  "http://147.213.76.182:8890/places") {
 		graph_name = "Luoghi";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/places") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/places") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/label/toponimi") {
+	else if (graph ==  "http://147.213.76.182:8890/label/toponimi") {
 		graph_name = "Toponimi Archivio di Stato di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/onomastica") {
 		graph_name = "Archivio di Stato di Prato - Onomatica Datini";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli/newdataset") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/gettatelli/newdataset") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica/gruppi") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/onomastica/gruppi") {
 		graph_name = "Archivio di Stato di Prato - Onomastica Datini";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/autori") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/autori") {
 		graph_name = "Museo di Palazzo Pretorio";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica/datini") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/onomastica/datini") {
 		graph_name = "Archivio di Stato di Prato - Onomastica Datini";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/onomastica/ospedale") {
+	else if (graph ==  "http://147.213.76.182:8890/onomastica/ospedale") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/ulan/viaf") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/ulan/viaf") {
 		graph_name = "Persone";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/places/microtoponimi") {
+	else if (graph ==  "http://147.213.76.182:8890/places/microtoponimi") {
 		graph_name = "Luoghi";
 	}
 	else {graph_name = graph;
@@ -283,7 +283,7 @@ function MMO_handle_json(json) {
 			'<div class="col d-flex align-items-start justify-content-end">' + object_button +
 			'<button type="button" value="' + object_type + '" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 			/*DA QUI HYPERLINK ->*/'<button type="button" value="' + object_type + '" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-			/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
+			/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
 
 			i++;
 
@@ -408,7 +408,7 @@ function InfObj_handle_json(json) {
 				'<div class="col d-flex align-items-start justify-content-end">' + infObject_button +
 				'<button type="button" value="' + resource_type + '" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 				/*DA QUI HYPERLINK ->*/'<button type="button" value="' + resource_type + '" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-				/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
+				/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
 
 				i++;
 
@@ -459,7 +459,7 @@ function Person_handle_json(json) {
 			value['name']['value'] + '"><i class="fa fa-user"></i><p class="btn-text">Scheda Persona</p></button>' +
 			'<button type="button" value="Persona" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 			/*DA QUI HYPERLINK ->*/'<button type="button" value="Persona" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-			/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
+			/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
 
 			i++;
 
@@ -509,7 +509,7 @@ function Place_handle_json(json) {
 			value['label']['value'] + '"><i class="fa fa-map"></i><p class="btn-text">Scheda Luogo</p></button>' +
 			'<button type="button" value="Luogo" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 			/*DA QUI HYPERLINK ->*/'<button type="button" value="Luogo" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-			/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>'; 
+			/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>'; 
 
 			i++;
 
@@ -645,7 +645,7 @@ function Place_handle_json(json) {
 	//#######################################
 
 function prepareQueryURL(query){
-	sparqlEndpoint = 'http://dev.restore.ovi.cnr.it:8890/sparql/';
+	sparqlEndpoint = 'http://147.213.76.182:8890/sparql/';
 	sparqlUrlParams = '?default-graph-uri=&query=' + encodeURIComponent(query) + '&output=json&callback=?';
 	return sparqlEndpoint + sparqlUrlParams;
 }
@@ -758,45 +758,45 @@ function getGraph(graph1, graph2) {
 		}
 		else if ((graph1 != '') && (graph2 == '')) {
 			if (graph1 == "ASPO") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/datini> \
-					<http://dev.restore.ovi.cnr.it:8890/aspo/ospedale> \
-					<http://dev.restore.ovi.cnr.it:8890/aspo/marcovaldi> \
-					<http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/datini> \
+					<http://147.213.76.182:8890/aspo/ospedale> \
+					<http://147.213.76.182:8890/aspo/marcovaldi> \
+					<http://147.213.76.182:8890/aspo/gettatelli>}";
 			}
 			if (graph1 == "MPP") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/martini> \
-					<http://dev.restore.ovi.cnr.it:8890/mpp/ospedale> \
-					<http://dev.restore.ovi.cnr.it:8890/mpp/datini> \
-					<http://dev.restore.ovi.cnr.it:8890/mpp/autori> }";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/martini> \
+					<http://147.213.76.182:8890/mpp/ospedale> \
+					<http://147.213.76.182:8890/mpp/datini> \
+					<http://147.213.76.182:8890/mpp/autori> }";
 			}
 			if (graph1 == "OVI") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/ovi/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/ovi/datini>}";
 			}
 		} 
 		else if (graph2 != '') {
 			if (graph2 == "aspo_datini") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/datini>}";
 			}
 			if (graph2 == "aspo_ospedale") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/ospedale>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/ospedale>}";
 			}
 			if (graph2 == "aspo_marcovaldi") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/marcovaldi>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/marcovaldi>}";
 			}
 			if (graph2 == "aspo_gettatelli") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/gettatelli>}";
 			}
 			if (graph2 == "mpp_martini") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/martini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/martini>}";
 			}
 			if (graph2 == "mpp_ospedale") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/ospedale>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/ospedale>}";
 			}
 			if (graph2 == "mpp_datini") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/datini>}";
 			}
 			if (graph2 == "ovi_lettere") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/ovi/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/ovi/datini>}";
 			}
 		} else {
 			search_graph = "";

+ 44 - 44
js/voiceSearch.js

@@ -223,70 +223,70 @@ function rewrite_graph(graph) {
 
 	var graph_name = ""
 
-	if (graph == "http://dev.restore.ovi.cnr.it:8890/aspo/datini") {
+	if (graph == "http://147.213.76.182:8890/aspo/datini") {
 		graph_name = "Archivio di Stato di Prato - Fondo Datini"; 
 	}
-	else if (graph == "http://dev.restore.ovi.cnr.it:8890/aspo/ospedale") {
+	else if (graph == "http://147.213.76.182:8890/aspo/ospedale") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/marcovaldi") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/marcovaldi") {
 		graph_name = "Archivio di Stato di Prato - Fondo Marcolvaldi";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/gettatelli") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/actors") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/actors") {
 		graph_name = "Archivio di Stato di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/martini") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/martini") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/ospedale") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/ospedale") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/datini") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/datini") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/authors") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/authors") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/ovi/datini") {
+	else if (graph ==  "http://147.213.76.182:8890/ovi/datini") {
 		graph_name = "Opera del Vocabolario Italiano";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/ovi/datini/trascr") {
+	else if (graph ==  "http://147.213.76.182:8890/ovi/datini/trascr") {
 		graph_name = "Opera del Vocabolario Italiano";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/places") {
+	else if (graph ==  "http://147.213.76.182:8890/places") {
 		graph_name = "Luoghi";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/places") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/places") {
 		graph_name = "Museo di Palazzo Pretorio di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/label/toponimi") {
+	else if (graph ==  "http://147.213.76.182:8890/label/toponimi") {
 		graph_name = "Toponimi Archivio di Stato di Prato";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/onomastica") {
 		graph_name = "Archivio di Stato di Prato - Onomatica Datini";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli/newdataset") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/gettatelli/newdataset") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica/gruppi") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/onomastica/gruppi") {
 		graph_name = "Archivio di Stato di Prato - Onomastica Datini";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/autori") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/autori") {
 		graph_name = "Museo di Palazzo Pretorio";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica/datini") {
+	else if (graph ==  "http://147.213.76.182:8890/aspo/onomastica/datini") {
 		graph_name = "Archivio di Stato di Prato - Onomastica Datini";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/onomastica/ospedale") {
+	else if (graph ==  "http://147.213.76.182:8890/onomastica/ospedale") {
 		graph_name = "Archivio di Stato di Prato - Fondo Ospedale Misericordia e Dolce";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/mpp/ulan/viaf") {
+	else if (graph ==  "http://147.213.76.182:8890/mpp/ulan/viaf") {
 		graph_name = "Persone";
 	}
-	else if (graph ==  "http://dev.restore.ovi.cnr.it:8890/places/microtoponimi") {
+	else if (graph ==  "http://147.213.76.182:8890/places/microtoponimi") {
 		graph_name = "Luoghi";
 	}
 	else {graph_name = graph;
@@ -350,7 +350,7 @@ function MMO_handle_json(json) {
 			'<div class="col d-flex align-items-start justify-content-end">' + object_button +
 			'<button type="button" value="' + object_type + '" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 			/*DA QUI HYPERLINK ->*/'<button type="button" value="' + object_type + '" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-			/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
+			/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
 
 			i++;
 
@@ -475,7 +475,7 @@ function InfObj_handle_json(json) {
 				'<div class="col d-flex align-items-start justify-content-end">' + infObject_button +
 				'<button type="button" value="' + resource_type + '" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 				/*DA QUI HYPERLINK ->*/'<button type="button" value="' + resource_type + '" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-				/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
+				/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
 
 				i++;
 
@@ -526,7 +526,7 @@ function Person_handle_json(json) {
 			value['name']['value'] + '"><i class="fa fa-user"></i><p class="btn-text">Scheda Persona</p></button>' +
 			'<button type="button" value="Persona" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 			/*DA QUI HYPERLINK ->*/'<button type="button" value="Persona" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-			/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
+			/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
 
 			i++;
 
@@ -576,7 +576,7 @@ function Place_handle_json(json) {
 			value['label']['value'] + '"><i class="fa fa-map"></i><p class="btn-text">Scheda Luogo</p></button>' +
 			'<button type="button" value="Luogo" id="' + value['subject']['value'] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
 			/*DA QUI HYPERLINK ->*/'<button type="button" value="Luogo" id="' + value['subject']['value'] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
-			/*DA QUI LOD ->*/'<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>'; 
+			/*DA QUI LOD ->*/'<a href="http://147.213.76.182/lodlive/?' + value['subject']['value'] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>'; 
 
 			i++;
 
@@ -712,7 +712,7 @@ function Place_handle_json(json) {
 	//#######################################
 
 function prepareQueryURL(query){
-	sparqlEndpoint = 'http://dev.restore.ovi.cnr.it:8890/sparql/';
+	sparqlEndpoint = 'http://147.213.76.182:8890/sparql/';
 	sparqlUrlParams = '?default-graph-uri=&query=' + encodeURIComponent(query) + '&output=json&callback=?';
 	return sparqlEndpoint + sparqlUrlParams;
 }
@@ -825,45 +825,45 @@ function getGraph(graph1, graph2) {
 		}
 		else if ((graph1 != '') && (graph2 == '')) {
 			if (graph1 == "ASPO") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/datini> \
-					<http://dev.restore.ovi.cnr.it:8890/aspo/ospedale> \
-					<http://dev.restore.ovi.cnr.it:8890/aspo/marcovaldi> \
-					<http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/datini> \
+					<http://147.213.76.182:8890/aspo/ospedale> \
+					<http://147.213.76.182:8890/aspo/marcovaldi> \
+					<http://147.213.76.182:8890/aspo/gettatelli>}";
 			}
 			if (graph1 == "MPP") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/martini> \
-					<http://dev.restore.ovi.cnr.it:8890/mpp/ospedale> \
-					<http://dev.restore.ovi.cnr.it:8890/mpp/datini> \
-					<http://dev.restore.ovi.cnr.it:8890/mpp/autori> }";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/martini> \
+					<http://147.213.76.182:8890/mpp/ospedale> \
+					<http://147.213.76.182:8890/mpp/datini> \
+					<http://147.213.76.182:8890/mpp/autori> }";
 			}
 			if (graph1 == "OVI") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/ovi/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/ovi/datini>}";
 			}
 		} 
 		else if (graph2 != '') {
 			if (graph2 == "aspo_datini") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/datini>}";
 			}
 			if (graph2 == "aspo_ospedale") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/ospedale>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/ospedale>}";
 			}
 			if (graph2 == "aspo_marcovaldi") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/marcovaldi>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/marcovaldi>}";
 			}
 			if (graph2 == "aspo_gettatelli") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/aspo/gettatelli>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/aspo/gettatelli>}";
 			}
 			if (graph2 == "mpp_martini") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/martini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/martini>}";
 			}
 			if (graph2 == "mpp_ospedale") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/ospedale>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/ospedale>}";
 			}
 			if (graph2 == "mpp_datini") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/mpp/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/mpp/datini>}";
 			}
 			if (graph2 == "ovi_lettere") {
-				search_graph = "VALUES ?g {<http://dev.restore.ovi.cnr.it:8890/ovi/datini>}";
+				search_graph = "VALUES ?g {<http://147.213.76.182:8890/ovi/datini>}";
 			}
 		} else {
 			search_graph = "";