@netwerk-digitaal-erfgoed/network-of-terms-catalog 5.5.3 → 5.5.4

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.
@@ -11,11 +11,20 @@ CONSTRUCT {
11
11
  }
12
12
  WHERE {
13
13
  ?uri a skos:Concept .
14
- ?uri ?predicate ?label .
15
- VALUES ?predicate { schema:name schema:keywords }
16
14
 
17
- # A 'FILTER (<bif:contains>, ...)' currently does not work due to https://github.com/comunica/comunica/issues/844
18
- ?label <bif:contains> ?query .
15
+ {
16
+ FILTER(?virtuosoQuery)
17
+ ?uri ?predicate ?label .
18
+ VALUES ?predicate { schema:name schema:keywords }
19
+ ?label <bif:contains> ?virtuosoQuery .
20
+ } UNION {
21
+ # BC support.
22
+ BIND(?virtuosoQuery as ?b)
23
+ FILTER(!BOUND(?b))
24
+ ?uri ?predicate ?label .
25
+ VALUES ?predicate { schema:name schema:keywords }
26
+ ?label <bif:contains> ?query .
27
+ }
19
28
 
20
29
  OPTIONAL {
21
30
  ?uri schema:name ?schema_name .
@@ -31,11 +31,19 @@ WHERE {
31
31
  # Require the presence of this property for quality purposes
32
32
  ?uri som:NDEREC ?nderec .
33
33
 
34
- ?uri ?predicate ?label .
35
- VALUES ?predicate { schema:name schema:alternateName }
36
-
37
- # A 'FILTER (<bif:contains>, ...)' currently does not work due to https://github.com/comunica/comunica/issues/844
38
- ?label <bif:contains> ?query .
34
+ {
35
+ FILTER(?virtuosoQuery)
36
+ ?uri ?predicate ?label .
37
+ VALUES ?predicate { schema:name schema:alternateName }
38
+ ?label <bif:contains> ?virtuosoQuery .
39
+ } UNION {
40
+ # BC support.
41
+ BIND(?virtuosoQuery as ?b)
42
+ FILTER(!BOUND(?b))
43
+ ?uri ?predicate ?label .
44
+ VALUES ?predicate { schema:name schema:alternateName }
45
+ ?label <bif:contains> ?query .
46
+ }
39
47
 
40
48
  OPTIONAL { ?uri schema:name ?schema_name }
41
49
  OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "5.5.3",
3
+ "version": "5.5.4",
4
4
  "description": "Catalog of Network of Terms datasets",
5
5
  "repository": {
6
6
  "type": "git",