@netwerk-digitaal-erfgoed/network-of-terms-catalog 9.16.3 → 9.17.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,69 @@
1
+ {
2
+ "@context": "https://schema.org/docs/jsonldcontext.jsonld",
3
+ "@id": "https://terms.personsincontext.org/ThesaurusHistorischePersoonsgegevens",
4
+ "@type": "Dataset",
5
+ "name": [
6
+ {
7
+ "@language": "nl",
8
+ "@value": "Thesaurus Historische Persoonsgegevens"
9
+ }
10
+ ],
11
+ "alternateName": [
12
+ {
13
+ "@language": "en",
14
+ "@value": "PiCoT"
15
+ }
16
+ ],
17
+ "genre": [
18
+ {
19
+ "@id": "https://data.cultureelerfgoed.nl/termennetwerk/onderwerpen/Actoren-en-organismen"
20
+ }
21
+ ],
22
+ "creator": [
23
+ {
24
+ "@id": "https://www.cbg.nl"
25
+ }
26
+ ],
27
+ "url": [
28
+ "https://terms.personsincontext.org/ThesaurusHistorischePersoonsgegevens/"
29
+ ],
30
+ "mainEntityOfPage": [
31
+ "https://terms.personsincontext.org/ThesaurusHistorischePersoonsgegevens"
32
+ ],
33
+ "description": [
34
+ {
35
+ "@language": "nl",
36
+ "@value": "Gestandaardiseerde termen voor het type bron waarop een persoon is vermeld en voor de rol die die persoon kan hebben op de bron. Onderdeel van de Persons in Context-standaard."
37
+ }
38
+ ],
39
+ "inLanguage": "nl",
40
+ "distribution": [
41
+ {
42
+ "@id": "https://terms.personsincontext.org/PoolParty/sparql/ThesaurusHistorischePersoonsgegevens",
43
+ "@type": "DataDownload",
44
+ "contentUrl": "https://terms.personsincontext.org/PoolParty/sparql/ThesaurusHistorischePersoonsgegevens",
45
+ "encodingFormat": "application/sparql-query",
46
+ "potentialAction": [
47
+ {
48
+ "@type": "SearchAction",
49
+ "query": "file://catalog/queries/search/poolparty.rq"
50
+ },
51
+ {
52
+ "@type": "FindAction",
53
+ "query": "file://catalog/queries/lookup/poolparty.rq"
54
+ },
55
+ {
56
+ "@type": "Action",
57
+ "target": {
58
+ "@type": "EntryPoint",
59
+ "actionApplication": {
60
+ "@id": "https://reconciliation-api.github.io/specs/latest/",
61
+ "@type": "SoftwareApplication"
62
+ },
63
+ "urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{dataset}"
64
+ }
65
+ }
66
+ ]
67
+ }
68
+ ]
69
+ }
@@ -108,6 +108,12 @@
108
108
  "@type": "Organization",
109
109
  "name": "Amsterdam Time Machine",
110
110
  "alternateName": "ATM"
111
+ },
112
+ {
113
+ "@id": "https://www.cbg.nl",
114
+ "@type": "Organization",
115
+ "name": "Centrum voor familiegeschiedenis",
116
+ "alternateName": "CBG"
111
117
  }
112
118
  ]
113
119
  }
@@ -39,6 +39,10 @@ WHERE {
39
39
  ?uri skos:scopeNote ?scopeNote .
40
40
  FILTER(LANG(?scopeNote) = "nl")
41
41
  }
42
+ OPTIONAL {
43
+ ?uri skos:definition ?scopeNote .
44
+ FILTER(LANG(?scopeNote) = "nl")
45
+ }
42
46
  OPTIONAL {
43
47
  ?uri skos:broader ?broader_uri .
44
48
  ?broader_uri skos:prefLabel ?broader_prefLabel .
@@ -16,8 +16,7 @@ CONSTRUCT {
16
16
  WHERE {
17
17
  VALUES ?uri { ?uris }
18
18
 
19
- ?uri schema:name ?naam ;
20
- schema:identifier ?rijksmonumentnummer ;
19
+ ?uri schema:identifier ?rijksmonumentnummer ;
21
20
  schema:category ?monumentaard ;
22
21
  schema:postalCode ?postcode ;
23
22
  schema:additionalType ?functie ;
@@ -25,6 +24,10 @@ WHERE {
25
24
  schema:addressRegion ?provincie ;
26
25
  schema:sameAs ?monument_url .
27
26
 
27
+ OPTIONAL {
28
+ ?uri schema:name ?naam .
29
+ }
30
+
28
31
  BIND(CONCAT("Rijksmonumentnummer ", ?rijksmonumentnummer) as ?rijksmonumentnummer_tn)
29
32
 
30
33
  # Aggregate and get the minimum address as ?adres2
@@ -38,8 +41,8 @@ WHERE {
38
41
 
39
42
  BIND(
40
43
  CONCAT(
41
- "Naam: ", STR(?naam),
42
- " / Oorspronkelijke functie: ", STR(?functie),
44
+ IF(BOUND(?naam), CONCAT("Naam: ", STR(?naam), " / "), ""),
45
+ "Oorspronkelijke functie: ", STR(?functie),
43
46
  " / Type monument: ", STR(?monumentaard)
44
47
  ) AS ?scopeNote
45
48
  )
@@ -36,6 +36,10 @@ WHERE {
36
36
  ?uri skos:scopeNote ?scopeNote .
37
37
  FILTER(LANG(?scopeNote) = "nl")
38
38
  }
39
+ OPTIONAL {
40
+ ?uri skos:definition ?scopeNote .
41
+ FILTER(LANG(?scopeNote) = "nl")
42
+ }
39
43
  OPTIONAL {
40
44
  ?uri skos:broader ?broader_uri .
41
45
  ?broader_uri skos:prefLabel ?broader_prefLabel .
@@ -18,8 +18,7 @@ WHERE {
18
18
  FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
19
19
  VALUES ?predicate { schema:addressLocality schema:identifier schema:address schema:name schema:addressRegion }
20
20
 
21
- ?uri schema:name ?naam ;
22
- schema:identifier ?rijksmonumentnummer ;
21
+ ?uri schema:identifier ?rijksmonumentnummer ;
23
22
  schema:category ?monumentaard ;
24
23
  schema:postalCode ?postcode ;
25
24
  schema:additionalType ?functie ;
@@ -27,6 +26,10 @@ WHERE {
27
26
  schema:addressRegion ?provincie ;
28
27
  schema:sameAs ?monument_url .
29
28
 
29
+ OPTIONAL {
30
+ ?uri schema:name ?naam .
31
+ }
32
+
30
33
  BIND(CONCAT("Rijksmonumentnummer ", ?rijksmonumentnummer) as ?rijksmonumentnummer_tn)
31
34
 
32
35
  # Aggregate and get the minimum address as ?adres2
@@ -40,8 +43,8 @@ WHERE {
40
43
 
41
44
  BIND(
42
45
  CONCAT(
43
- "Naam: ", STR(?naam),
44
- " / Oorspronkelijke functie: ", STR(?functie),
46
+ IF(BOUND(?naam), CONCAT("Naam: ", STR(?naam), " / "), ""),
47
+ "Oorspronkelijke functie: ", STR(?functie),
45
48
  " / Type monument: ", STR(?monumentaard)
46
49
  ) AS ?scopeNote
47
50
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "9.16.3",
3
+ "version": "9.17.0",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "@types/n3": "^1.16.5",
33
33
  "@types/rdf-ext": "^2.5.0",
34
34
  "gts": "^5.3.1",
35
- "jsonld-streaming-parser": "^3.4.0",
35
+ "jsonld-streaming-parser": "^4.0.1",
36
36
  "rdf-data-factory": "^1.1.2",
37
37
  "rdf-ext": "^2.5.2",
38
38
  "rdf-validate-shacl": "^0.5.6"