@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.17.0 → 6.18.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.
@@ -0,0 +1,60 @@
1
+ {
2
+ "@context": "https://schema.org/docs/jsonldcontext.jsonld",
3
+ "@id": "https://data.cultureelerfgoed.nl/term/id/cht/materials",
4
+ "@type": "Dataset",
5
+ "name": [
6
+ {
7
+ "@language": "nl",
8
+ "@value": "Cultuurhistorische Thesaurus - Materialen"
9
+ }
10
+ ],
11
+ "alternateName": [
12
+ {
13
+ "@language": "nl",
14
+ "@value": "CHT - materialen"
15
+ }
16
+ ],
17
+ "creator": [
18
+ {
19
+ "@id": "https://www.cultureelerfgoed.nl"
20
+ }
21
+ ],
22
+ "url": [
23
+ "https://data.cultureelerfgoed.nl/term/id/cht/"
24
+ ],
25
+ "description": [
26
+ {
27
+ "@language": "nl",
28
+ "@value": "Onderwerpen voor het beschrijven van materiaal kenmerken van cultureel erfgoed objecten."
29
+ }
30
+ ],
31
+ "distribution": [
32
+ {
33
+ "@id": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht/materials",
34
+ "@type": "DataDownload",
35
+ "contentUrl": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht",
36
+ "encodingFormat": "application/sparql-query",
37
+ "potentialAction": [
38
+ {
39
+ "@type": "SearchAction",
40
+ "query": "file://catalog/queries/search/cht-materials.rq"
41
+ },
42
+ {
43
+ "@type": "FindAction",
44
+ "query": "file://catalog/queries/lookup/poolparty.rq"
45
+ },
46
+ {
47
+ "@type": "Action",
48
+ "target": {
49
+ "@type": "EntryPoint",
50
+ "actionApplication": {
51
+ "@id": "https://reconciliation-api.github.io/specs/latest/",
52
+ "@type": "SoftwareApplication"
53
+ },
54
+ "urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{distribution}"
55
+ }
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "@context": "https://schema.org/docs/jsonldcontext.jsonld",
3
+ "@id": "https://data.cultureelerfgoed.nl/term/id/cht/styles-and-periodes",
4
+ "@type": "Dataset",
5
+ "name": [
6
+ {
7
+ "@language": "nl",
8
+ "@value": "Cultuurhistorische Thesaurus - Stijlen en periodes"
9
+ }
10
+ ],
11
+ "alternateName": [
12
+ {
13
+ "@language": "nl",
14
+ "@value": "CHT - stijlen en periodes"
15
+ }
16
+ ],
17
+ "creator": [
18
+ {
19
+ "@id": "https://www.cultureelerfgoed.nl"
20
+ }
21
+ ],
22
+ "url": [
23
+ "https://data.cultureelerfgoed.nl/term/id/cht/"
24
+ ],
25
+ "description": [
26
+ {
27
+ "@language": "nl",
28
+ "@value": "Onderwerpen voor het beschrijven van stijl en periode kenmerken van cultureel erfgoed objecten."
29
+ }
30
+ ],
31
+ "distribution": [
32
+ {
33
+ "@id": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht/styles-and-periods",
34
+ "@type": "DataDownload",
35
+ "contentUrl": "https://data.cultureelerfgoed.nl/PoolParty/sparql/term/id/cht",
36
+ "encodingFormat": "application/sparql-query",
37
+ "potentialAction": [
38
+ {
39
+ "@type": "SearchAction",
40
+ "query": "file://catalog/queries/search/cht-styles-and-periods.rq"
41
+ },
42
+ {
43
+ "@type": "FindAction",
44
+ "query": "file://catalog/queries/lookup/poolparty.rq"
45
+ },
46
+ {
47
+ "@type": "Action",
48
+ "target": {
49
+ "@type": "EntryPoint",
50
+ "actionApplication": {
51
+ "@id": "https://reconciliation-api.github.io/specs/latest/",
52
+ "@type": "SoftwareApplication"
53
+ },
54
+ "urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{distribution}"
55
+ }
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ }
@@ -0,0 +1,57 @@
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
+ ?broader_uri skos:prefLabel ?broader_prefLabel .
13
+ ?narrower_uri skos:prefLabel ?narrower_prefLabel .
14
+ ?related_uri skos:prefLabel ?related_prefLabel .
15
+ }
16
+ WHERE {
17
+ ?uri ?predicate ?label .
18
+ VALUES ?predicate { skos:prefLabel skos:altLabel }
19
+
20
+ # limit results to the narrower terms of the toplevel term 'materialen'
21
+ ?uri skos:broader+ <https://data.cultureelerfgoed.nl/term/id/cht/aa872ce6-a74c-4f81-96ec-6ee0e717f92a> .
22
+
23
+ FILTER(LANG(?label) = "nl")
24
+ FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
25
+ OPTIONAL {
26
+ ?uri skos:prefLabel ?prefLabel .
27
+ FILTER(LANG(?prefLabel) = "nl")
28
+ }
29
+ OPTIONAL {
30
+ ?uri skos:altLabel ?altLabel .
31
+ FILTER(LANG(?altLabel) = "nl")
32
+ }
33
+ OPTIONAL {
34
+ ?uri skos:hiddenLabel ?hiddenLabel .
35
+ FILTER(LANG(?hiddenLabel) = "nl")
36
+ }
37
+ OPTIONAL {
38
+ ?uri skos:scopeNote ?scopeNote .
39
+ FILTER(LANG(?scopeNote) = "nl")
40
+ }
41
+ OPTIONAL {
42
+ ?uri skos:broader ?broader_uri .
43
+ ?broader_uri skos:prefLabel ?broader_prefLabel .
44
+ FILTER(LANG(?broader_prefLabel) = "nl")
45
+ }
46
+ OPTIONAL {
47
+ ?uri skos:narrower ?narrower_uri .
48
+ ?narrower_uri skos:prefLabel ?narrower_prefLabel .
49
+ FILTER(LANG(?narrower_prefLabel) = "nl")
50
+ }
51
+ OPTIONAL {
52
+ ?uri skos:related ?related_uri .
53
+ ?related_uri skos:prefLabel ?related_prefLabel .
54
+ FILTER(LANG(?related_prefLabel) = "nl")
55
+ }
56
+ }
57
+ LIMIT 1000
@@ -0,0 +1,57 @@
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
+ ?broader_uri skos:prefLabel ?broader_prefLabel .
13
+ ?narrower_uri skos:prefLabel ?narrower_prefLabel .
14
+ ?related_uri skos:prefLabel ?related_prefLabel .
15
+ }
16
+ WHERE {
17
+ ?uri ?predicate ?label .
18
+ VALUES ?predicate { skos:prefLabel skos:altLabel }
19
+
20
+ # limit results to the narrower terms of the toplevel term 'stijlen en periodes'
21
+ ?uri skos:broader+ <https://data.cultureelerfgoed.nl/term/id/cht/63cca950-f545-467a-9d70-db3a2b21bba3> .
22
+
23
+ FILTER(LANG(?label) = "nl")
24
+ FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
25
+ OPTIONAL {
26
+ ?uri skos:prefLabel ?prefLabel .
27
+ FILTER(LANG(?prefLabel) = "nl")
28
+ }
29
+ OPTIONAL {
30
+ ?uri skos:altLabel ?altLabel .
31
+ FILTER(LANG(?altLabel) = "nl")
32
+ }
33
+ OPTIONAL {
34
+ ?uri skos:hiddenLabel ?hiddenLabel .
35
+ FILTER(LANG(?hiddenLabel) = "nl")
36
+ }
37
+ OPTIONAL {
38
+ ?uri skos:scopeNote ?scopeNote .
39
+ FILTER(LANG(?scopeNote) = "nl")
40
+ }
41
+ OPTIONAL {
42
+ ?uri skos:broader ?broader_uri .
43
+ ?broader_uri skos:prefLabel ?broader_prefLabel .
44
+ FILTER(LANG(?broader_prefLabel) = "nl")
45
+ }
46
+ OPTIONAL {
47
+ ?uri skos:narrower ?narrower_uri .
48
+ ?narrower_uri skos:prefLabel ?narrower_prefLabel .
49
+ FILTER(LANG(?narrower_prefLabel) = "nl")
50
+ }
51
+ OPTIONAL {
52
+ ?uri skos:related ?related_uri .
53
+ ?related_uri skos:prefLabel ?related_prefLabel .
54
+ FILTER(LANG(?related_prefLabel) = "nl")
55
+ }
56
+ }
57
+ LIMIT 1000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "6.17.0",
3
+ "version": "6.18.0",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@comunica/bindings-factory": "^2.5.1",
47
47
  "@comunica/query-sparql-rdfjs": "^2.4.3",
48
- "@netwerk-digitaal-erfgoed/network-of-terms-query": "2.3.0",
48
+ "@netwerk-digitaal-erfgoed/network-of-terms-query": "2.4.0",
49
49
  "globby": "^13.1.3",
50
50
  "rdf-parse": "^2.1.1",
51
51
  "rdf-store-stream": "^1.3.1"