File tree 3 files changed +15
-13
lines changed
ml-backend/src/main/ml-modules/services
3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ https://github.com/quasarframework/quasar
43
43
Made available under the MIT License. See Appendix for full text.
44
44
https://spdx.org/licenses/MIT.html
45
45
46
- axios 0.18 .1
46
+ axios 0.21 .1
47
47
Copyright (c) 2014-present Matt Zabriskie
48
48
https://github.com/axios/axios
49
49
Made available under the MIT License. See Appendix for full text.
Original file line number Diff line number Diff line change @@ -274,17 +274,19 @@ function getCollectionDetails () {
274
274
function getDHFEntities ( ) {
275
275
276
276
return sem . sparql ( "PREFIX es: <http://marklogic.com/entity-services#>\
277
- SELECT DISTINCT ?value ?label ?description WHERE {\
278
- ?value a es:EntityType ;\
279
- es:title ?label .\
280
- OPTIONAL {\
281
- ?value es:description ?description .\
282
- }\
283
- ?def es:definitions ?value. optional { ?def es:description ?description }\
284
- FILTER NOT EXISTS {\
285
- ?any es:ref ?value .\
286
- }\
287
- }" ) . toArray ( )
277
+ SELECT DISTINCT ?value ?label ?description WHERE {\
278
+ ?value a es:EntityType ;\
279
+ es:title ?label .\
280
+ BIND( REPLACE(?value, '/[^/]*$','') as ?ent)\
281
+ OPTIONAL {\
282
+ ?value es:description ?description\
283
+ }\
284
+ ?def es:definitions ?value. optional { ?def es:description ?description }\
285
+ FILTER NOT EXISTS {\
286
+ ?any es:ref ?value .\
287
+ FILTER ( strstarts(?any, ?ent))\
288
+ }\
289
+ }" ) . toArray ( )
288
290
289
291
}
290
292
Original file line number Diff line number Diff line change 13
13
"@json-editor/json-editor" : " ^1.4.0-beta.0" ,
14
14
"@quasar/extras" : " ^1.3.3" ,
15
15
"autoprefixer" : " ^9.7.4" ,
16
- "axios" : " ^0.18 .1" ,
16
+ "axios" : " >=0.21 .1" ,
17
17
"file-saver" : " ^2.0.2" ,
18
18
"litegraph.js" : " ^0.7.0" ,
19
19
"quasar" : " ^1.12.8" ,
You can’t perform that action at this time.
0 commit comments