@igea/oac_backend 1.0.109 → 1.0.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igea/oac_backend",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "Backend service for the OAC project",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -261,7 +261,7 @@ router.get('/get-vocabolary-terms/:key', (req, res) => {
261
261
  PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
262
262
  PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
263
263
  `
264
- for(let i=0; i<bindings.length; i++){
264
+ for(let i=1; i<bindings.length; i++){
265
265
  let item = bindings[i]
266
266
  data_turtle += `
267
267
  <${item.concept.value}>
@@ -54,6 +54,18 @@ ex:I12AdoptedBeliefShape_label # LABEL QUESITO DIAGNOSTICO
54
54
  core:enableOptional "false"^^xsd:boolean ;
55
55
  core:enableNegation "false"^^xsd:boolean .
56
56
 
57
+ ex:E39Actor01Shape_label # LABEL ATTORI
58
+ sh:path rdfs:label ;
59
+ sh:name "Label attori" ;
60
+ sh:nodeKind sh:Literal ;
61
+ sh:datatype rdf:string ;
62
+ sh:maxCount 1 ;
63
+ sh:minCount 1 ;
64
+ dash:searchWidget core:NonSelectableProperty;
65
+ dash:propertyRole dash:LabelRole ;
66
+ core:enableOptional "false"^^xsd:boolean ;
67
+ core:enableNegation "false"^^xsd:boolean .
68
+
57
69
  ex:S13Sample01Shape_label # LABEL CAMPIONE
58
70
  sh:path rdfs:label ;
59
71
  sh:name "Label campione" ;
@@ -137,7 +149,7 @@ ex:CP9BuildingMaterialShape_label # LABEL MATERIALE PREVALENTE COSTRUTTIVO - ELE
137
149
  dash:propertyRole dash:LabelRole ;
138
150
  core:enableOptional "false"^^xsd:boolean ;
139
151
  core:enableNegation "false"^^xsd:boolean .
140
-
152
+
141
153
  ex:E7Activity02Shape_label # LABEL ATTIVITA' DIAGNOSTICA
142
154
  sh:path rdfs:label ;
143
155
  sh:name "Label attività diagnostica" ;
@@ -150,6 +162,18 @@ ex:E7Activity02Shape_label # LABEL ATTIVITA' DIAGNOSTICA
150
162
  core:enableOptional "false"^^xsd:boolean ;
151
163
  core:enableNegation "false"^^xsd:boolean .
152
164
 
165
+ ex:E55Type13Shape_label # LABEL ATTIVITA' (TIPOLOGIE)
166
+ sh:path rdfs:label ;
167
+ sh:name "Label attività" ;
168
+ sh:nodeKind sh:Literal ;
169
+ sh:datatype rdf:string ;
170
+ sh:maxCount 1 ;
171
+ sh:minCount 1 ;
172
+ dash:searchWidget core:NonSelectableProperty;
173
+ dash:propertyRole dash:LabelRole ;
174
+ core:enableOptional "false"^^xsd:boolean ;
175
+ core:enableNegation "false"^^xsd:boolean .
176
+
153
177
  ex:E70ThingShape_label # LABEL STRUMENTO
154
178
  sh:path rdfs:label ;
155
179
  sh:name "Label strumento" ;
@@ -380,7 +404,7 @@ ex:E13AttributeAssignmentShape # OUTPUT
380
404
  sh:name "Competenza attore" ;
381
405
  ] ;
382
406
  sh:property ex:E13AttributeAssignmentShape_label .
383
-
407
+
384
408
  ex:E18PhysicalThingShape # COMPONENTI SPECIFICI
385
409
  a sh:NodeShape ;
386
410
  sh:targetClass crm:E18_Physical_Thing ;
@@ -500,7 +524,7 @@ ex:E70ThingShape # STRUMENTO
500
524
  sh:maxCount 1 ;
501
525
  ] ;
502
526
  sh:property ex:E70ThingShape_label .
503
-
527
+
504
528
  ex:E29DesignorProcedure03Shape # PROCEDURA
505
529
  a sh:NodeShape ;
506
530
  sh:targetClass crm:E29_Design_or_Procedure ;
@@ -653,7 +677,7 @@ ex:S13Sample02Shape # SOTTOCAMPIONE
653
677
  sh:maxCount 1 ;
654
678
  ] ;
655
679
  sh:property ex:S13Sample02Shape_label .
656
-
680
+
657
681
  ex:S2SampleTaking01Shape # CAMPIONAMENTO
658
682
  a sh:NodeShape ;
659
683
  sh:targetClass j.0:S2_Sample_Taking ;
@@ -683,7 +707,7 @@ ex:S2SampleTaking01Shape # CAMPIONAMENTO
683
707
  sh:maxCount 1 ;
684
708
  ] ;
685
709
  sh:property ex:S2SampleTaking01Shape_label .
686
-
710
+
687
711
  ex:S2SampleTaking02Shape # SOTTOCAMPIONAMENTO
688
712
  a sh:NodeShape ;
689
713
  sh:targetClass j.0:S2_Sample_Taking ;
@@ -1295,7 +1319,8 @@ ex:E39Actor01Shape # ATTORI COINVOLTI
1295
1319
  sh:node ex:E41Appellation01Shape ;
1296
1320
  sh:name "Ente richiedente - Schedatore" ;
1297
1321
  sh:maxCount 1 ;
1298
- ] .
1322
+ ] ;
1323
+ sh:property ex:E39Actor01Shape_label .
1299
1324
 
1300
1325
  ex:E39Actor02Shape # AUTORE
1301
1326
  a sh:NodeShape ;
@@ -1676,7 +1701,8 @@ ex:E55Type13Shape # TIPOLOGIE ATTIVITA' (FASE ANALISI, PREPARAZIONE CAMPIONE, TE
1676
1701
  sh:name "Tecnica diagnostica" ;
1677
1702
  sh:maxCount 1 ;
1678
1703
  sh:minCount 1 ;
1679
- ] .
1704
+ ] ;
1705
+ sh:property ex:E55Type13Shape_label .
1680
1706
 
1681
1707
  ex:E55Type14Shape # TIPO MDALITA' INDAGINE
1682
1708
  a sh:NodeShape ;
@@ -1861,7 +1887,7 @@ ex:E62String17Shape # NOTE COMPONENTE SPECIFICO
1861
1887
  sh:name "Note" ;
1862
1888
  sh:maxCount 1 ;
1863
1889
  ] .
1864
-
1890
+
1865
1891
  ex:E62String18Shape # RUOLO ATTORE
1866
1892
  a sh:NodeShape ;
1867
1893
  sh:targetClass crm:E62_String ;
@@ -29,7 +29,7 @@ this:E7ActivityIndagineLabel # LABEL INDAGINE
29
29
  core:enableOptional "false"^^xsd:boolean ;
30
30
  core:enableNegation "false"^^xsd:boolean .
31
31
 
32
- this:E55TypeIndagine_label # LABEL TIPO INDAGINE
32
+ this:E55TypeIndagineLabel # LABEL TIPO INDAGINE
33
33
  sh:path rdfs:label ;
34
34
  sh:name "Label tipo indagine" ;
35
35
  sh:nodeKind sh:Literal ;
@@ -41,7 +41,7 @@ this:E55TypeIndagine_label # LABEL TIPO INDAGINE
41
41
  core:enableOptional "false"^^xsd:boolean ;
42
42
  core:enableNegation "false"^^xsd:boolean .
43
43
 
44
- this:I12AdoptedBelief_label # LABEL QUESITO DIAGNOSTICO
44
+ this:I12AdoptedBeliefLabel # LABEL QUESITO DIAGNOSTICO
45
45
  sh:path rdfs:label ;
46
46
  sh:name "Label quesito diagnostico" ;
47
47
  sh:nodeKind sh:Literal ;
@@ -53,6 +53,18 @@ this:I12AdoptedBelief_label # LABEL QUESITO DIAGNOSTICO
53
53
  core:enableOptional "false"^^xsd:boolean ;
54
54
  core:enableNegation "false"^^xsd:boolean .
55
55
 
56
+ this:E39ActorIndagineLabel # LABEL ATTORI
57
+ sh:path rdfs:label ;
58
+ sh:name "Label attori" ;
59
+ sh:nodeKind sh:Literal ;
60
+ sh:datatype rdf:string ;
61
+ sh:maxCount 1 ;
62
+ sh:minCount 1 ;
63
+ dash:searchWidget core:NonSelectableProperty;
64
+ dash:propertyRole dash:LabelRole ;
65
+ core:enableOptional "false"^^xsd:boolean ;
66
+ core:enableNegation "false"^^xsd:boolean .
67
+
56
68
  this:S13SampleCampioneLabel # LABEL CAMPIONE
57
69
  sh:path rdfs:label ;
58
70
  sh:name "Label campione" ;
@@ -64,7 +76,7 @@ this:S13SampleCampioneLabel # LABEL CAMPIONE
64
76
  core:enableOptional "false"^^xsd:boolean ;
65
77
  core:enableNegation "false"^^xsd:boolean .
66
78
 
67
- this:S13SampleSottocampione_label # LABEL SOTTOCAMPIONE
79
+ this:S13SampleSottocampioneLabel # LABEL SOTTOCAMPIONE
68
80
  sh:path rdfs:label ;
69
81
  sh:name "Label sottocampione" ;
70
82
  sh:nodeKind sh:Literal ;
@@ -76,7 +88,7 @@ this:S13SampleSottocampione_label # LABEL SOTTOCAMPIONE
76
88
  core:enableOptional "false"^^xsd:boolean ;
77
89
  core:enableNegation "false"^^xsd:boolean .
78
90
 
79
- this:S2SampleTakingCampionamento_label # LABEL CAMPIONAMENTO
91
+ this:S2SampleTakingCampionamentoLabel # LABEL CAMPIONAMENTO
80
92
  sh:path rdfs:label ;
81
93
  sh:name "Label campionamento" ;
82
94
  sh:nodeKind sh:Literal ;
@@ -88,7 +100,7 @@ this:S2SampleTakingCampionamento_label # LABEL CAMPIONAMENTO
88
100
  core:enableOptional "false"^^xsd:boolean ;
89
101
  core:enableNegation "false"^^xsd:boolean .
90
102
 
91
- this:CP2ArchitectureWork_label # LABEL BENE DI RIFERIMENTO
103
+ this:CP2ArchitectureWorkLabel # LABEL BENE DI RIFERIMENTO
92
104
  sh:path rdfs:label ;
93
105
  sh:name "Label bene di riferimento" ;
94
106
  sh:nodeKind sh:Literal ;
@@ -130,7 +142,19 @@ this:E7ActivityDiagnosticaLabel # LABEL ATTIVITA' DIAGNOSTICA
130
142
  core:enableOptional "false"^^xsd:boolean ;
131
143
  core:enableNegation "false"^^xsd:boolean .
132
144
 
133
- this:E70ThingStrumento_label # LABEL STRUMENTO
145
+ this:E55TypeDiagnosticaLabel # LABEL ATTIVITA' (TIPOLOGIE)
146
+ sh:path rdfs:label ;
147
+ sh:name "Label attività" ;
148
+ sh:nodeKind sh:Literal ;
149
+ sh:datatype rdf:string ;
150
+ sh:maxCount 1 ;
151
+ sh:minCount 1 ;
152
+ dash:searchWidget core:NonSelectableProperty;
153
+ dash:propertyRole dash:LabelRole ;
154
+ core:enableOptional "false"^^xsd:boolean ;
155
+ core:enableNegation "false"^^xsd:boolean .
156
+
157
+ this:E70ThingStrumentoLabel # LABEL STRUMENTO
134
158
  sh:path rdfs:label ;
135
159
  sh:name "Label strumento" ;
136
160
  sh:nodeKind sh:Literal ;
@@ -142,7 +166,7 @@ this:E70ThingStrumento_label # LABEL STRUMENTO
142
166
  core:enableOptional "false"^^xsd:boolean ;
143
167
  core:enableNegation "false"^^xsd:boolean .
144
168
 
145
- this:E13AttributeAssignment_label # LABEL OUTPUT
169
+ this:E13AttributeAssignmentLabel # LABEL OUTPUT
146
170
  sh:path rdfs:label ;
147
171
  sh:name "Label output" ;
148
172
  sh:nodeKind sh:Literal ;
@@ -326,7 +350,7 @@ this:E13AttributeAssignment # OUTPUT
326
350
  sh:node this:E39ActorCompetenza ;
327
351
  sh:name "ha avuto partecipante" ;
328
352
  ] ;
329
- sh:property this:E13AttributeAssignment_label .
353
+ sh:property this:E13AttributeAssignmentLabel .
330
354
 
331
355
  this:E18PhysicalThing # COMPONENTI SPECIFICI
332
356
  a sh:NodeShape ;
@@ -447,7 +471,7 @@ this:E70ThingStrumento # STRUMENTO
447
471
  sh:node this:E42IdentifierSpecifiche ;
448
472
  sh:name "ha identificativo" ;
449
473
  ] ;
450
- sh:property this:E70ThingStrumento_label .
474
+ sh:property this:E70ThingStrumentoLabel .
451
475
 
452
476
  this:E29DesignorProcedureDiagnostica # PROCEDURA
453
477
  a sh:NodeShape ;
@@ -584,7 +608,7 @@ this:S13SampleSottocampione # SOTTOCAMPIONE
584
608
  sh:node this:E62StringSottocampione ;
585
609
  sh:name "ha note" ;
586
610
  ] ;
587
- sh:property this:S13SampleSottocampione_label .
611
+ sh:property this:S13SampleSottocampioneLabel .
588
612
 
589
613
  this:S2SampleTakingCampionamento # CAMPIONAMENTO
590
614
  a sh:NodeShape ;
@@ -610,7 +634,7 @@ this:S2SampleTakingCampionamento # CAMPIONAMENTO
610
634
  sh:node this:E53PlaceAreaPrelievo ;
611
635
  sh:name "campionato a" ;
612
636
  ] ;
613
- sh:property this:S2SampleTakingCampionamento_label .
637
+ sh:property this:S2SampleTakingCampionamentoLabel .
614
638
 
615
639
  this:S2SampleTakingSottocampionamento # SOTTOCAMPIONAMENTO
616
640
  a sh:NodeShape ;
@@ -946,7 +970,7 @@ this:CP2ArchitectureWork # BENE DI RIFERIMENTO
946
970
  sh:node this:CP43StructuralDamage ;
947
971
  sh:name "è stato influenzato da" ;
948
972
  ] ;
949
- sh:property this:CP2ArchitectureWork_label .
973
+ sh:property this:CP2ArchitectureWorkLabel .
950
974
 
951
975
  this:CP43StructuralDamage # TIPO DISSESTI STRUTTURALI
952
976
  a sh:NodeShape ;
@@ -1187,7 +1211,7 @@ this:I12AdoptedBelief # QUESITO DIAGNOSTICO
1187
1211
  sh:node this:E55TypeQuesitoDiagnostico ;
1188
1212
  sh:name "ha tipo" ;
1189
1213
  ] ;
1190
- sh:property this:I12AdoptedBelief_label .
1214
+ sh:property this:I12AdoptedBeliefLabel .
1191
1215
 
1192
1216
  this:E39ActorIndagine # ATTORI COINVOLTI
1193
1217
  a sh:NodeShape ;
@@ -1197,7 +1221,8 @@ this:E39ActorIndagine # ATTORI COINVOLTI
1197
1221
  sh:path crm:P1_is_identified_by ;
1198
1222
  sh:node this:E41AppellationAttori ;
1199
1223
  sh:name "è identificato da" ;
1200
- ] .
1224
+ ] ;
1225
+ sh:property this:E39ActorIndagineLabel .
1201
1226
 
1202
1227
  this:E39ActorDiagnostica # AUTORE
1203
1228
  a sh:NodeShape ;
@@ -1409,7 +1434,7 @@ this:E55TypeIndagine # TIPO INDAGINE
1409
1434
  datasources:treeRootsDatasource this:tree_root_tipo_indagine ;
1410
1435
  datasources:treeChildrenDatasource this:tree_children_broader_term ;
1411
1436
  ] ;
1412
- sh:property this:E55TypeIndagine_label .
1437
+ sh:property this:E55TypeIndagineLabel .
1413
1438
 
1414
1439
  this:E55TypeQuesitoDiagnostico # TIPO QUESITO DIAGNOSTICO
1415
1440
  a sh:NodeShape ;
@@ -1604,7 +1629,8 @@ this:E55TypeDiagnostica # TIPOLOGIE ATTIVITA' (FASE ANALISI, PREPARAZIONE CAMPIO
1604
1629
  core:enableNegation "true"^^xsd:boolean;
1605
1630
  datasources:treeRootsDatasource this:tree_root_tecnica_diagnostica ;
1606
1631
  datasources:treeChildrenDatasource this:tree_children_broader_term ;
1607
- ] .
1632
+ ] ;
1633
+ sh:property this:E55TypeDiagnosticaLabel .
1608
1634
 
1609
1635
  this:E55TypeModalitaIndagine # TIPO MDALITA' INDAGINE
1610
1636
  a sh:NodeShape ;