Skip to content

Commit 5d12f59

Browse files
committed
restructure
1 parent 3e8e1a9 commit 5d12f59

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

docs/deploy-and-configure/configuration/label-resolution-and-full-text-search/index.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ This resolution and, by extension, the full text search is configurable for diff
77

88
## Configuration
99

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).
1115

1216
``` yaml linenums="1"
1317
proxy:
@@ -24,8 +28,8 @@ These properties define not only which properties and languages should be consid
2428
2529
The retrieval process can be simplified to the following procedure:
2630
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:
2933
1. An english value for `rdfs:label` is searched.
3034
2. A literal of the property `rdfs:label` without a language tag is searched (which is why there is an entry `""`).
3135
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
4650
:Resource4 rdfs:label "Another Label for Hanover"@en
4751
```
4852

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.
5559

5660
## Client API
5761

5862
The label resolution functionality can also be used by client systems.
5963
This functionality is exposed as an [API endpoint](../../../develop/dataplatform-apis/index.md) (`<dp_url>/api/explore/title`).
60-

0 commit comments

Comments
 (0)