@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.2.8 → 6.3.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.
@@ -31,9 +31,7 @@ WHERE {
31
31
  ?uri a ?type .
32
32
  VALUES ?type { skos:Concept schema:Person schema:Organization } .
33
33
 
34
- ?uri schema:mainEntityOfPage/schema:isPartOf | foaf:isPrimaryTopicOf/void:inDataset ?datasetUriRaw .
35
- # In the future, KB will split off the STCN printers dataset from the main STCN dataset. In the meantime, we have to translate the latter into the former.
36
- BIND(IF(?datasetUriRaw = <http://data.bibliotheken.nl/id/dataset/stcn>, <http://data.bibliotheken.nl/id/dataset/stcn/printers>, ?datasetUriRaw) as ?datasetUri) .
34
+ ?uri schema:mainEntityOfPage/schema:isPartOf | foaf:isPrimaryTopicOf/void:inDataset ?datasetUri .
37
35
 
38
36
  # For Brinkman
39
37
  OPTIONAL {
@@ -77,5 +75,10 @@ WHERE {
77
75
  OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
78
76
  OPTIONAL { ?uri schema:description ?schema_description }
79
77
  }
78
+
79
+ # For STCN
80
+ OPTIONAL {
81
+ ?uri schema:location/schema:address/schema:addressLocality ?scopeNote
82
+ }
80
83
  }
81
84
  LIMIT 1000
@@ -1,3 +1,5 @@
1
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
2
+ PREFIX schema: <http://schema.org/>
1
3
  PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
2
4
  PREFIX void: <http://rdfs.org/ns/void#>
3
5
 
@@ -6,7 +8,7 @@ CONSTRUCT {
6
8
  skos:prefLabel ?rdfs_label ;
7
9
  skos:altLabel ?schema_name ;
8
10
  skos:altLabel ?schema_alternateName ;
9
- skos:scopeNote ?schema_description .
11
+ skos:scopeNote ?scopeNote .
10
12
  }
11
13
  WHERE {
12
14
  ?uri schema:mainEntityOfPage/schema:isPartOf <http://data.bibliotheken.nl/id/dataset/stcn/printers> ;
@@ -16,9 +18,16 @@ WHERE {
16
18
  ?uri ?predicate ?label .
17
19
  VALUES ?predicate { rdfs:label schema:name schema:alternateName }
18
20
  ?label <bif:contains> ?virtuosoQuery .
19
-
21
+ # STCN defines multiple URIs for the same printer.
22
+ # The distinction between these URIs is based on the place where the printer lived and worked.
23
+ # See for example "Plantijn"
24
+ # http://data.bibliotheken.nl/id/thes/p075556251 for Plantijn working in Leiden
25
+ # http://data.bibliotheken.nl/id/thes/p338012834 for Plantijn working in Antwerp
26
+ # The original source (STCN) shows also a time period, this data currently not available in the LOD version.
27
+ OPTIONAL {
28
+ ?uri schema:location/schema:address/schema:addressLocality ?scopeNote
29
+ }
20
30
  OPTIONAL { ?uri schema:name ?schema_name }
21
31
  OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
22
- OPTIONAL { ?uri schema:description ?schema_description }
23
32
  }
24
- LIMIT 1000
33
+ 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.2.8",
3
+ "version": "6.3.0",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {