@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.12.0 → 6.13.1

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.
@@ -5,7 +5,7 @@
5
5
  "name": [
6
6
  {
7
7
  "@language": "nl",
8
- "@value": "GeoNames: geografische namen in Nederland en België"
8
+ "@value": "GeoNames: geografische namen in Nederland, België en Duitsland"
9
9
  }
10
10
  ],
11
11
  "creator": [
@@ -24,7 +24,9 @@ WHERE {
24
24
  # Limit results to places (P), localities (L), administrative levels (A) and water surfaces (H).
25
25
  VALUES ?featureClass { gn:P gn:L gn:A gn:H }
26
26
 
27
- FILTER(CONTAINS(LCASE(?name), LCASE($query)))
27
+ # Select results that start with the search string
28
+ # Using contains() leads to too much noise
29
+ FILTER(STRSTARTS(LCASE(?name), LCASE($query)))
28
30
 
29
31
  OPTIONAL {
30
32
  ?uri gn:alternateName ?altLabel .
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "6.12.0",
3
+ "version": "6.13.1",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@comunica/bindings-factory": "^2.2.0",
47
47
  "@comunica/query-sparql-rdfjs": "^2.4.3",
48
- "@netwerk-digitaal-erfgoed/network-of-terms-query": "2.2.0",
48
+ "@netwerk-digitaal-erfgoed/network-of-terms-query": "2.2.1",
49
49
  "globby": "^13.1.2",
50
50
  "rdf-parse": "^2.1.0",
51
51
  "rdf-store-stream": "^1.1.0"