@netwerk-digitaal-erfgoed/network-of-terms-catalog 5.5.4 → 5.6.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.
@@ -35,7 +35,7 @@
35
35
  },
36
36
  {
37
37
  "@type": "FindAction",
38
- "query": "file://catalog/queries/lookup/brinkman-nta.rq"
38
+ "query": "file://catalog/queries/lookup/brinkman-nta-stcn.rq"
39
39
  }
40
40
  ]
41
41
  }
@@ -35,7 +35,7 @@
35
35
  },
36
36
  {
37
37
  "@type": "FindAction",
38
- "query": "file://catalog/queries/lookup/brinkman-nta.rq"
38
+ "query": "file://catalog/queries/lookup/brinkman-nta-stcn.rq"
39
39
  }
40
40
  ]
41
41
  }
@@ -0,0 +1,37 @@
1
+ {
2
+ "@context": "https://schema.org/docs/jsonldcontext.jsonld",
3
+ "@id": "http://data.bibliotheken.nl/id/dataset/stcn/printers",
4
+ "@type": "Dataset",
5
+ "name": [
6
+ {
7
+ "@language": "nl",
8
+ "@value": "STCN: drukkers"
9
+ }
10
+ ],
11
+ "creator": [
12
+ {
13
+ "@id": "http://data.bibliotheken.nl/doc/thes/p075301482"
14
+ }
15
+ ],
16
+ "url": [
17
+ "http://data.bibliotheken.nl/id/thes/"
18
+ ],
19
+ "distribution": [
20
+ {
21
+ "@id": "http://data.bibliotheken.nl/thes/drukkers/sparql",
22
+ "@type": "DataDownload",
23
+ "contentUrl": "https://data.bibliotheken.nl/sparql",
24
+ "encodingFormat": "application/sparql-query",
25
+ "potentialAction": [
26
+ {
27
+ "@type": "SearchAction",
28
+ "query": "file://catalog/queries/search/stcn-drukkers.rq"
29
+ },
30
+ {
31
+ "@type": "FindAction",
32
+ "query": "file://catalog/queries/lookup/brinkman-nta-stcn.rq"
33
+ }
34
+ ]
35
+ }
36
+ ]
37
+ }
@@ -23,10 +23,11 @@ WHERE {
23
23
  # For example:
24
24
  # Concept in Brinkman: <http://data.bibliotheken.nl/id/thes/p317203789>
25
25
  # Person in NTA: <http://data.bibliotheken.nl/id/thes/p06854796X>
26
+ # Organization in STCN: <http://data.bibliotheken.nl/id/thes/p075537222>
26
27
  VALUES ?uri { ?uris }
27
28
 
28
29
  ?uri a ?type .
29
- VALUES ?type { skos:Concept schema:Person } .
30
+ VALUES ?type { skos:Concept schema:Person schema:Organization } .
30
31
 
31
32
  # For Brinkman
32
33
  OPTIONAL {
@@ -0,0 +1,24 @@
1
+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
2
+ PREFIX void: <http://rdfs.org/ns/void#>
3
+
4
+ CONSTRUCT {
5
+ ?uri a skos:Concept ;
6
+ skos:prefLabel ?rdfs_label ;
7
+ skos:altLabel ?schema_name ;
8
+ skos:altLabel ?schema_alternateName ;
9
+ skos:scopeNote ?schema_description .
10
+ }
11
+ WHERE {
12
+ ?uri foaf:isPrimaryTopicOf/void:inDataset <http://data.bibliotheken.nl/id/dataset/stcn> ;
13
+ schema:additionalType <http://www.productontology.org/id/Printer_%28publishing%29> ; # Select printers.
14
+ rdfs:label ?rdfs_label .
15
+
16
+ ?uri ?predicate ?label .
17
+ VALUES ?predicate { rdfs:label schema:name schema:alternateName }
18
+ ?label <bif:contains> ?virtuosoQuery .
19
+
20
+ OPTIONAL { ?uri schema:name ?schema_name }
21
+ OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
22
+ OPTIONAL { ?uri schema:description ?schema_description }
23
+ }
24
+ LIMIT 1000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "5.5.4",
3
+ "version": "5.6.0",
4
4
  "description": "Catalog of Network of Terms datasets",
5
5
  "repository": {
6
6
  "type": "git",