Skip to content

Commit ccc8f7b

Browse files
author
Jos van Roosmalen
committed
1 parent b76f4fb commit ccc8f7b

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ https://github.com/quasarframework/quasar
4343
Made available under the MIT License. See Appendix for full text.
4444
https://spdx.org/licenses/MIT.html
4545

46-
axios 0.18.1
46+
axios 0.21.1
4747
Copyright (c) 2014-present Matt Zabriskie
4848
https://github.com/axios/axios
4949
Made available under the MIT License. See Appendix for full text.

ml-backend/src/main/ml-modules/services/vppBackendServices.sjs

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -274,17 +274,19 @@ function getCollectionDetails () {
274274
function getDHFEntities () {
275275

276276
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()
288290

289291
}
290292

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@json-editor/json-editor": "^1.4.0-beta.0",
1414
"@quasar/extras": "^1.3.3",
1515
"autoprefixer": "^9.7.4",
16-
"axios": "^0.18.1",
16+
"axios": ">=0.21.1",
1717
"file-saver": "^2.0.2",
1818
"litegraph.js": "^0.7.0",
1919
"quasar": "^1.12.8",

0 commit comments

Comments
 (0)