@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.2.4 → 6.2.5
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.
|
@@ -19,8 +19,9 @@ WHERE {
|
|
|
19
19
|
?label <bif:contains> ?virtuosoQuery .
|
|
20
20
|
} UNION {
|
|
21
21
|
# BC support.
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
# This Virtuoso endpoint needs STRLEN() rather than !BOUND() because the latter still matches, throwing an error
|
|
23
|
+
# for queries with diacritics or multiple words.
|
|
24
|
+
FILTER(STRLEN(?virtuosoQuery) = 0)
|
|
24
25
|
?uri ?predicate ?label .
|
|
25
26
|
VALUES ?predicate { schema:name schema:keywords }
|
|
26
27
|
?label <bif:contains> ?query .
|
|
@@ -38,8 +38,9 @@ WHERE {
|
|
|
38
38
|
?label <bif:contains> ?virtuosoQuery .
|
|
39
39
|
} UNION {
|
|
40
40
|
# BC support.
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
# This Virtuoso endpoint needs STRLEN() rather than !BOUND() because the latter still matches, throwing an error
|
|
42
|
+
# for queries with diacritics or multiple words.
|
|
43
|
+
FILTER(STRLEN(?virtuosoQuery) = 0)
|
|
43
44
|
?uri ?predicate ?label .
|
|
44
45
|
VALUES ?predicate { schema:name schema:alternateName }
|
|
45
46
|
?label <bif:contains> ?query .
|