@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.4.0 → 6.4.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.
@@ -9,7 +9,8 @@ CONSTRUCT {
9
9
  skos:altLabel ?schema_alternateName ;
10
10
  skos:scopeNote ?scopeNote ;
11
11
  skos:scopeNote ?schema_hasOccupation ;
12
- skos:broader ?uri_broader .
12
+ skos:broader ?uri_broader ;
13
+ skos:inScheme ?datasetUri .
13
14
  ?uri_broader skos:prefLabel ?broader_schema_name .
14
15
  }
15
16
  WHERE {
@@ -23,14 +24,16 @@ WHERE {
23
24
  ?uri a ?type .
24
25
  VALUES ?type { skos:Concept schema:Person } .
25
26
 
26
- OPTIONAL {
27
- ?uri schema:name ?schema_name .
28
- FILTER(LANG(?schema_name) = "nl")
29
- }
30
-
31
27
  # For subjects
32
28
  OPTIONAL {
33
29
  ?uri a skos:Concept
30
+ BIND(<http://data.muziekschatten.nl/#onderwerpen> AS ?datasetUri).
31
+
32
+ OPTIONAL {
33
+ ?uri schema:name ?schema_name .
34
+ FILTER(LANG(?schema_name) = "nl")
35
+ }
36
+
34
37
  OPTIONAL {
35
38
  ?uri skos:broader ?uri_broader .
36
39
  ?uri_broader schema:name ?broader_schema_name .
@@ -54,6 +57,8 @@ WHERE {
54
57
  # For persons
55
58
  OPTIONAL {
56
59
  ?uri a schema:Person
60
+ BIND(<http://data.muziekschatten.nl/#personen> AS ?datasetUri).
61
+ OPTIONAL { ?uri schema:name ?schema_name }
57
62
  OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
58
63
  OPTIONAL { ?uri schema:hasOccupation ?schema_hasOccupation }
59
64
  OPTIONAL { ?uri schema:familyName ?schema_familyName }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {
@@ -46,7 +46,7 @@
46
46
  "@comunica/bindings-factory": "^2.2.0",
47
47
  "@comunica/query-sparql-rdfjs": "^2.0.6",
48
48
  "@netwerk-digitaal-erfgoed/network-of-terms-query": "2.1.3",
49
- "globby": "^13.1.1",
49
+ "globby": "^13.1.2",
50
50
  "rdf-parse": "^2.0.0",
51
51
  "rdf-store-stream": "^1.1.0"
52
52
  }