You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deploy-and-configure/configuration/label-resolution-and-full-text-search/index.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,11 @@ This resolution and, by extension, the full text search is configurable for diff
7
7
8
8
## Configuration
9
9
10
-
eccenca Explore backend (DataPlatform) offers three configuration options: `labelProperties` (line 2) `languagePreferences` (line 5) and `languagePreferencesAnyLangFallback` (line 8).
10
+
eccenca Explore backend (DataPlatform) offers three configuration options:
11
+
12
+
-`labelProperties` (line 2)
13
+
-`languagePreferences` (line 5) and
14
+
-`languagePreferencesAnyLangFallback` (line 8).
11
15
12
16
```yaml linenums="1"
13
17
proxy:
@@ -24,8 +28,8 @@ These properties define not only which properties and languages should be consid
24
28
25
29
The retrieval process can be simplified to the following procedure:
26
30
27
-
- First, when determining the label for a resource, the language is evaluated, then the property is considered.
28
-
- Consequently, for a resource in the default case:
31
+
- First, when determining the label for a resource, the language is evaluated, then the property is considered.
32
+
- Consequently, for a resource in the default case:
29
33
1. An english value for `rdfs:label` is searched.
30
34
2. A literal of the property `rdfs:label` without a language tag is searched (which is why there is an entry `""`).
31
35
3. An english value of `skos:prefLabel` is searched.
@@ -46,15 +50,14 @@ How labels are resolved is best explained using these default settings and some
46
50
:Resource4 rdfs:label "Another Label for Hanover"@en
47
51
```
48
52
49
-
- For `:Resource1` the label will be `Leipzig` as the english `rdfs:label` will be retrieved.
50
-
- For `:Resource2` the label cannot be retrieved from the Knowledge Graph since no known property is used. Hence the fallback.
51
-
- For `:Resource3` the label will be retrieved as `Stuttgart`, if the `languagePreferencesAnyLangFallback` is `true`.
52
-
-While there is a well-known property used, none of the used languages match. Using the fallback, the alphabetically first match is retrieved in this case.
53
-
- For `:Resource4` multiple label candidates could be determined.
54
-
-In this case, `Another Label for Hanover` is retrieved as it is the first value in the alphanumerical comparison.
53
+
- For `:Resource1` the label will be `Leipzig` as the english `rdfs:label` will be retrieved.
54
+
- For `:Resource2` the label cannot be retrieved from the Knowledge Graph since no known property is used. Hence the fallback.
55
+
- For `:Resource3` the label will be retrieved as `Stuttgart`, if the `languagePreferencesAnyLangFallback` is `true`.
56
+
- While there is a well-known property used, none of the used languages match. Using the fallback, the alphabetically first match is retrieved in this case.
57
+
- For `:Resource4` multiple label candidates could be determined.
58
+
- In this case, `Another Label for Hanover` is retrieved as it is the first value in the alphanumerical comparison.
55
59
56
60
## Client API
57
61
58
62
The label resolution functionality can also be used by client systems.
59
63
This functionality is exposed as an [API endpoint](../../../develop/dataplatform-apis/index.md) (`<dp_url>/api/explore/title`).
0 commit comments