@netwerk-digitaal-erfgoed/network-of-terms-catalog 10.8.0 → 10.10.0

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.
@@ -53,7 +53,7 @@
53
53
  {
54
54
  "@id": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht/materials",
55
55
  "@type": "DataDownload",
56
- "contentUrl": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht",
56
+ "contentUrl": "https://api.linkeddata.cultureelerfgoed.nl/datasets/thesauri/cht/sparql",
57
57
  "encodingFormat": "application/sparql-query",
58
58
  "potentialAction": [
59
59
  {
@@ -56,7 +56,7 @@
56
56
  {
57
57
  "@id": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht/styles-and-periods",
58
58
  "@type": "DataDownload",
59
- "contentUrl": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht",
59
+ "contentUrl": "https://api.linkeddata.cultureelerfgoed.nl/datasets/thesauri/cht/sparql",
60
60
  "encodingFormat": "application/sparql-query",
61
61
  "potentialAction": [
62
62
  {
@@ -77,12 +77,12 @@
77
77
  {
78
78
  "@id": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht",
79
79
  "@type": "DataDownload",
80
- "contentUrl": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht",
80
+ "contentUrl": "https://api.linkeddata.cultureelerfgoed.nl/datasets/thesauri/cht/sparql",
81
81
  "encodingFormat": "application/sparql-query",
82
82
  "potentialAction": [
83
83
  {
84
84
  "@type": "SearchAction",
85
- "query": "file://catalog/queries/search/poolparty.rq"
85
+ "query": "file://catalog/queries/search/cht.rq"
86
86
  },
87
87
  {
88
88
  "@type": "FindAction",
@@ -43,7 +43,7 @@
43
43
  {
44
44
  "@id": "https://data.niod.nl/PoolParty/sparql/WO2_biografieen",
45
45
  "@type": "DataDownload",
46
- "contentUrl": "https://data.niod.nl/PoolParty/sparql/WO2_biografieen",
46
+ "contentUrl": "https://api.linkeddata.cultureelerfgoed.nl/datasets/thesauri/oorlogsbronnen-biografieen/sparql",
47
47
  "encodingFormat": "application/sparql-query",
48
48
  "potentialAction": [
49
49
  {
@@ -52,7 +52,7 @@
52
52
  {
53
53
  "@id": "https://data.niod.nl/PoolParty/sparql/WO2_Thesaurus",
54
54
  "@type": "DataDownload",
55
- "contentUrl": "https://data.niod.nl/PoolParty/sparql/WO2_Thesaurus",
55
+ "contentUrl": "https://api.linkeddata.cultureelerfgoed.nl/datasets/thesauri/oorlogsbronnen/sparql",
56
56
  "encodingFormat": "application/sparql-query",
57
57
  "potentialAction": [
58
58
  {
@@ -0,0 +1,67 @@
1
+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
2
+
3
+ CONSTRUCT {
4
+ ?uri a skos:Concept ;
5
+ skos:prefLabel ?prefLabel ;
6
+ skos:altLabel ?altLabel ;
7
+ skos:hiddenLabel ?hiddenLabel ;
8
+ skos:scopeNote ?scopeNote ;
9
+ skos:broader ?broader_uri ;
10
+ skos:narrower ?narrower_uri ;
11
+ skos:related ?related_uri ;
12
+ skos:exactMatch ?exactMatch_uri .
13
+ ?broader_uri skos:prefLabel ?broader_prefLabel .
14
+ ?narrower_uri skos:prefLabel ?narrower_prefLabel .
15
+ ?related_uri skos:prefLabel ?related_prefLabel .
16
+ ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
17
+ }
18
+ WHERE {
19
+ {
20
+ SELECT DISTINCT ?uri WHERE {
21
+ ?uri a skos:Concept ;
22
+ skos:inScheme <https://data.cultureelerfgoed.nl/term/id/cht/b532325c-dc08-49db-b4f1-15e53b037ec3> ;
23
+ ?predicate ?label .
24
+
25
+ VALUES ?predicate { skos:prefLabel skos:altLabel skos:hiddenLabel }
26
+
27
+ FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
28
+
29
+ }
30
+ #LIMIT#
31
+ }
32
+ OPTIONAL {
33
+ ?uri skos:prefLabel ?prefLabel .
34
+ }
35
+ OPTIONAL {
36
+ ?uri skos:altLabel ?altLabel .
37
+ }
38
+ OPTIONAL {
39
+ ?uri skos:hiddenLabel ?hiddenLabel .
40
+ }
41
+ OPTIONAL {
42
+ ?uri skos:scopeNote ?scopeNote .
43
+ }
44
+ OPTIONAL {
45
+ ?uri skos:definition ?scopeNote .
46
+ }
47
+ OPTIONAL {
48
+ ?uri skos:broader ?broader_uri .
49
+ ?broader_uri skos:prefLabel ?broader_prefLabel .
50
+ }
51
+ OPTIONAL {
52
+ ?uri skos:narrower ?narrower_uri .
53
+ ?narrower_uri skos:prefLabel ?narrower_prefLabel .
54
+ }
55
+ OPTIONAL {
56
+ ?uri skos:related ?related_uri .
57
+ ?related_uri skos:prefLabel ?related_prefLabel .
58
+ }
59
+ OPTIONAL {
60
+ ?uri skos:exactMatch ?exactMatch_uri .
61
+ FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
62
+ FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
63
+ OPTIONAL {
64
+ ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
65
+ }
66
+ }
67
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "10.8.0",
3
+ "version": "10.10.0",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {