|
@@ -1,19 +1,15 @@
|
|
|
const choiceArray = [
|
|
|
- ["Label", "Object, OA, Person, Letter, Place", "label"],
|
|
|
+ ["Nome risorsa", "Object, OA, Person, Letter, Place", "label"],
|
|
|
["Identificatore", "Object, OA, Person, Letter, Place", "identifier"],
|
|
|
- ["Dimensione", "Object, OA", "dimension"],
|
|
|
["Materia", "Object, OA", "material"],
|
|
|
- ["Localizzazione", "Object, OA", "localization"],
|
|
|
+ ["Istituto di conservazione", "Object, OA", "localization"],
|
|
|
["Tecnica", "OA", "technique"],
|
|
|
["Artista", "OA", "artist"],
|
|
|
["Soggetto", "OA", "subject"],
|
|
|
["Titolo", "Object, Inf", "title"],
|
|
|
- ["Tipo", "Object, Inf", "type"],
|
|
|
- ["Note", "Object, OA", "notes"],
|
|
|
- ["Riferimenti", "Object, Inf", "references"],
|
|
|
+ ["Tipo di risorsa", "Object, Inf", "type"],
|
|
|
["Nome proprio", "Person", "givenName"],
|
|
|
["Nome di famiglia", "Person", "familyName"],
|
|
|
- ["Patronimico", "Person", "patronymic"],
|
|
|
["Luogo di Nascita", "Person", "birthPlace"],
|
|
|
["Luogo di Morte", "Person", "deathPlace"],
|
|
|
["Genere", "Person", "sex"],
|
|
@@ -21,7 +17,6 @@ const choiceArray = [
|
|
|
["Data di Morte", "Person", "deathDate"],
|
|
|
["Occupazione", "Person", "occupation"],
|
|
|
["Qualifica", "Person", "qualification"],
|
|
|
- ["Gruppi di appartenenza", "Person", "groups"],
|
|
|
["Mittente", "Letter", "sender"],
|
|
|
["Destinatario", "Letter", "receiver"],
|
|
|
["Luogo di Partenza", "Letter", "startPlace"],
|
|
@@ -356,7 +351,7 @@ function constructQuery(params) {
|
|
|
var dt = ""; //
|
|
|
|
|
|
for (let i = 0; i < params.length; i++) {
|
|
|
- if(params[i][0] == "Label" && (params[i][1] != "")) {
|
|
|
+ if(params[i][0] == "Nome risorsa" && (params[i][1] != "")) {
|
|
|
label = "?label bif:contains \"\' "+ params[i][1] + " \'\" . ";
|
|
|
}
|
|
|
if(params[i][0] == "Identificatore" && (params[i][1] != "")) {
|
|
@@ -380,7 +375,7 @@ function constructQuery(params) {
|
|
|
?uri_material rdfs:label ?material . \
|
|
|
?material bif:contains \"\'"+ params[i][1] +"\'\" ."
|
|
|
}
|
|
|
- if(params[i][0] == "Localizzazione" && (params[i][1] != "")) {
|
|
|
+ if(params[i][0] == "Istituto di conservazione" && (params[i][1] != "")) {
|
|
|
loc = " ?location";
|
|
|
|
|
|
localizzazione = "?subject crm:P54_has_current_permanent_location ?uri_location . \
|
|
@@ -421,7 +416,7 @@ function constructQuery(params) {
|
|
|
?uri_title rdfs:label ?title . \
|
|
|
?title bif:contains \"\'"+ params[i][1] +"\'\" ."
|
|
|
}
|
|
|
- if (params[i][0] == "Tipo" && (params[i][1] != "")) {
|
|
|
+ if (params[i][0] == "Tipo di risorsa" && (params[i][1] != "")) {
|
|
|
tp = " ?type";
|
|
|
|
|
|
infObj = "?subject crm:P128_carries ?information_object .";
|