@netwerk-digitaal-erfgoed/network-of-terms-catalog 10.1.0 → 10.2.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 @@ CONSTRUCT {
|
|
|
5
5
|
?uri a skos:Concept ;
|
|
6
6
|
skos:prefLabel ?prefLabel_ext ;
|
|
7
7
|
skos:altLabel ?altLabel ;
|
|
8
|
-
skos:scopeNote ?
|
|
8
|
+
skos:scopeNote ?scopeNote_en ;
|
|
9
9
|
skos:broader ?broader .
|
|
10
10
|
?broader skos:prefLabel ?broader_prefLabel .
|
|
11
11
|
}
|
|
@@ -17,7 +17,7 @@ WHERE {
|
|
|
17
17
|
gn:countryCode ?countryCode ;
|
|
18
18
|
gn:name ?prefLabel .
|
|
19
19
|
|
|
20
|
-
BIND(CONCAT(?prefLabel," (",UCASE(?countryCode),")") as ?prefLabel_ext)
|
|
20
|
+
BIND(CONCAT(?prefLabel," (",UCASE(?countryCode),")") as ?prefLabel_ext)
|
|
21
21
|
|
|
22
22
|
OPTIONAL {
|
|
23
23
|
?uri gn:alternateName ?altLabel .
|
|
@@ -34,6 +34,8 @@ WHERE {
|
|
|
34
34
|
|
|
35
35
|
OPTIONAL {
|
|
36
36
|
?uri gn:featureCode/gn:name ?scopeNote .
|
|
37
|
+
# scopeNote is always in English.
|
|
38
|
+
BIND(STRLANG(?scopeNote, "en") as ?scopeNote_en)
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
LIMIT 1000
|
|
@@ -97,18 +97,18 @@ WHERE {
|
|
|
97
97
|
CONCAT(
|
|
98
98
|
IF(BOUND(?birthDate), CONCAT(?birthDate, " "), ""),
|
|
99
99
|
IF(STRLEN(?birthPlace_en) > 0, CONCAT("(", ?birthPlace_en, ") "), ""),
|
|
100
|
-
IF(BOUND(?deathDate) ||
|
|
100
|
+
IF(BOUND(?deathDate) || STRLEN(?deathPlace_en) >0, " - ", " – ; ")),
|
|
101
101
|
""
|
|
102
102
|
),
|
|
103
|
-
IF(BOUND(?deathDate) ||
|
|
103
|
+
IF(BOUND(?deathDate) || STRLEN(?deathPlace_en) > 0,
|
|
104
104
|
CONCAT(
|
|
105
|
-
IF(BOUND(?birthDate) ||
|
|
105
|
+
IF(BOUND(?birthDate) || STRLEN(?birthPlace_en) > 0, "", "– "),
|
|
106
106
|
IF(BOUND(?deathDate), CONCAT(?deathDate, " "), ""),
|
|
107
|
-
IF(STRLEN(?
|
|
107
|
+
IF(STRLEN(?deathPlace_en) > 0, CONCAT("(", ?deathPlace_en, ")"), ""),
|
|
108
108
|
"; "),
|
|
109
109
|
""
|
|
110
110
|
),
|
|
111
|
-
IF(STRLEN(?
|
|
111
|
+
IF(STRLEN(?additionalTypes_en) > 0, CONCAT(?additionalTypes_en, ". "), ""),
|
|
112
112
|
IF(STRLEN(?descriptions) > 0, CONCAT(?descriptions, ". "), "")
|
|
113
113
|
),
|
|
114
114
|
"en"
|
|
@@ -7,7 +7,7 @@ CONSTRUCT {
|
|
|
7
7
|
?uri a skos:Concept ;
|
|
8
8
|
skos:prefLabel ?prefLabel_ext ;
|
|
9
9
|
skos:altLabel ?altLabel ;
|
|
10
|
-
skos:scopeNote ?
|
|
10
|
+
skos:scopeNote ?scopeNote_en ;
|
|
11
11
|
skos:broader ?broader ;
|
|
12
12
|
vrank:simpleRank ?score .
|
|
13
13
|
?broader skos:prefLabel ?broader_prefLabel .
|
|
@@ -46,5 +46,7 @@ WHERE {
|
|
|
46
46
|
|
|
47
47
|
OPTIONAL {
|
|
48
48
|
?uri gn:featureCode/gn:name ?scopeNote .
|
|
49
|
+
# scopeNote is always in English.
|
|
50
|
+
BIND(STRLANG(?scopeNote, "en") as ?scopeNote_en)
|
|
49
51
|
}
|
|
50
52
|
}
|
|
@@ -97,18 +97,18 @@ WHERE {
|
|
|
97
97
|
CONCAT(
|
|
98
98
|
IF(BOUND(?birthDate), CONCAT(?birthDate, " "), ""),
|
|
99
99
|
IF(STRLEN(?birthPlace_en) > 0, CONCAT("(", ?birthPlace_en, ") "), ""),
|
|
100
|
-
IF(BOUND(?deathDate) ||
|
|
100
|
+
IF(BOUND(?deathDate) || STRLEN(?deathPlace_en) >0, " - ", " – ; ")),
|
|
101
101
|
""
|
|
102
102
|
),
|
|
103
|
-
IF(BOUND(?deathDate) ||
|
|
103
|
+
IF(BOUND(?deathDate) || STRLEN(?deathPlace_en) > 0,
|
|
104
104
|
CONCAT(
|
|
105
|
-
IF(BOUND(?birthDate) ||
|
|
105
|
+
IF(BOUND(?birthDate) || STRLEN(?birthPlace_en) > 0, "", "– "),
|
|
106
106
|
IF(BOUND(?deathDate), CONCAT(?deathDate, " "), ""),
|
|
107
|
-
IF(STRLEN(?
|
|
107
|
+
IF(STRLEN(?deathPlace_en) > 0, CONCAT("(", ?deathPlace_en, ")"), ""),
|
|
108
108
|
"; "),
|
|
109
109
|
""
|
|
110
110
|
),
|
|
111
|
-
IF(STRLEN(?
|
|
111
|
+
IF(STRLEN(?additionalTypes_en) > 0, CONCAT(?additionalTypes_en, ". "), ""),
|
|
112
112
|
IF(STRLEN(?descriptions) > 0, CONCAT(?descriptions, ". "), "")
|
|
113
113
|
),
|
|
114
114
|
"en"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
|
|
3
|
-
"version": "10.1
|
|
3
|
+
"version": "10.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Catalog of Network of Terms datasets",
|
|
6
6
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@comunica/query-sparql": "^4.1.0",
|
|
46
46
|
"@comunica/query-sparql-rdfjs": "^4.1.0",
|
|
47
47
|
"@comunica/utils-bindings-factory": "^4.0.2",
|
|
48
|
-
"@netwerk-digitaal-erfgoed/network-of-terms-query": "6.
|
|
48
|
+
"@netwerk-digitaal-erfgoed/network-of-terms-query": "6.2.0",
|
|
49
49
|
"globby": "^14.0.2",
|
|
50
50
|
"ldkit": "^2.1.0",
|
|
51
51
|
"memoize": "^10.0.0",
|