@netwerk-digitaal-erfgoed/network-of-terms-catalog 10.15.7 → 10.16.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.
Files changed (65) hide show
  1. package/README.md +11 -11
  2. package/catalog/datasets/aat-materials.jsonld +2 -2
  3. package/catalog/datasets/aat-processes-and-techniques.jsonld +2 -2
  4. package/catalog/datasets/aat-styles-and-periods.jsonld +2 -2
  5. package/catalog/datasets/aat.jsonld +2 -2
  6. package/catalog/datasets/abr.jsonld +2 -2
  7. package/catalog/datasets/adamlink-adressen.jsonld +2 -2
  8. package/catalog/datasets/adamlink-straten.jsonld +2 -2
  9. package/catalog/datasets/brabantse-gebouwen.jsonld +2 -2
  10. package/catalog/datasets/brinkman.jsonld +2 -2
  11. package/catalog/datasets/cht-materials.jsonld +2 -2
  12. package/catalog/datasets/cht-styles-and-periods.jsonld +2 -2
  13. package/catalog/datasets/cht.jsonld +2 -2
  14. package/catalog/datasets/eurovoc.jsonld +2 -2
  15. package/catalog/datasets/geonames-nl-be-de.jsonld +2 -2
  16. package/catalog/datasets/geonames.jsonld +4 -4
  17. package/catalog/datasets/goudatijdmachine-straten.jsonld +2 -2
  18. package/catalog/datasets/gtaa-classificatie.jsonld +71 -71
  19. package/catalog/datasets/gtaa-genres.jsonld +71 -71
  20. package/catalog/datasets/gtaa-geografische-namen.jsonld +71 -71
  21. package/catalog/datasets/gtaa-namen.jsonld +74 -74
  22. package/catalog/datasets/gtaa-onderwerpen-beng.jsonld +74 -74
  23. package/catalog/datasets/gtaa-onderwerpen.jsonld +74 -74
  24. package/catalog/datasets/gtaa-persoonsnamen.jsonld +71 -71
  25. package/catalog/datasets/homosaurus.jsonld +2 -2
  26. package/catalog/datasets/iconclass.jsonld +2 -2
  27. package/catalog/datasets/ied.jsonld +2 -2
  28. package/catalog/datasets/koloniaal-verleden.jsonld +2 -2
  29. package/catalog/datasets/muziekschatten-klassieke-werken.jsonld +2 -2
  30. package/catalog/datasets/muziekschatten-onderwerpen.jsonld +2 -2
  31. package/catalog/datasets/muziekschatten-personen.jsonld +2 -2
  32. package/catalog/datasets/mw-genresstijlen.jsonld +2 -2
  33. package/catalog/datasets/mw-personengroepen.jsonld +2 -2
  34. package/catalog/datasets/nmvw.jsonld +2 -2
  35. package/catalog/datasets/nta.jsonld +2 -2
  36. package/catalog/datasets/picot-brontypen.jsonld +2 -2
  37. package/catalog/datasets/picot-rollen.jsonld +2 -2
  38. package/catalog/datasets/rijksmonumenten.jsonld +2 -2
  39. package/catalog/datasets/rkdartists.jsonld +2 -2
  40. package/catalog/datasets/rtf-personen.jsonld +2 -2
  41. package/catalog/datasets/stcn-drukkers.jsonld +2 -2
  42. package/catalog/datasets/uitvoeringsmedium.jsonld +2 -2
  43. package/catalog/datasets/westerbork.jsonld +2 -2
  44. package/catalog/datasets/wikidata-entities-all.jsonld +2 -2
  45. package/catalog/datasets/wikidata-entities-persons.jsonld +2 -2
  46. package/catalog/datasets/wikidata-entities-places.jsonld +2 -2
  47. package/catalog/datasets/wikidata-entities-streets.jsonld +2 -2
  48. package/catalog/datasets/wo2biografie.jsonld +2 -2
  49. package/catalog/datasets/wo2thesaurus.jsonld +2 -2
  50. package/catalog/queries/lookup/rtf-personen.rq +3 -7
  51. package/catalog/queries/search/geonames-nl-be-de.rq +55 -0
  52. package/catalog/queries/search/rtf-personen.rq +3 -7
  53. package/{build → dist}/genre.js +0 -1
  54. package/{build → dist}/getCatalog.d.ts +1 -1
  55. package/{build → dist}/getCatalog.d.ts.map +1 -1
  56. package/{build → dist}/getCatalog.js +10 -8
  57. package/{build → dist}/index.js +0 -1
  58. package/package.json +37 -36
  59. package/build/genre.js.map +0 -1
  60. package/build/getCatalog.js.map +0 -1
  61. package/build/index.js.map +0 -1
  62. /package/{build → dist}/genre.d.ts +0 -0
  63. /package/{build → dist}/genre.d.ts.map +0 -0
  64. /package/{build → dist}/index.d.ts +0 -0
  65. /package/{build → dist}/index.d.ts.map +0 -0
@@ -1,71 +1,71 @@
1
- {
2
- "@context": "https://schema.org",
3
- "@id": "http://data.beeldengeluid.nl/gtaa/Persoonsnamen",
4
- "@type": "Dataset",
5
- "name": [
6
- {
7
- "@language": "en",
8
- "@value": "GTAA: personal names"
9
- },
10
- {
11
- "@language": "nl",
12
- "@value": "GTAA: persoonsnamen"
13
- }
14
- ],
15
- "genre": [
16
- {
17
- "@id": "https://data.cultureelerfgoed.nl/termennetwerk/onderwerpen/Personen"
18
- }
19
- ],
20
- "creator": [
21
- {
22
- "@id": "https://www.beeldengeluid.nl/"
23
- }
24
- ],
25
- "url": [
26
- "http://data.beeldengeluid.nl/gtaa/"
27
- ],
28
- "mainEntityOfPage": [
29
- "https://www.beeldengeluid.nl/kennis/kennisthemas/metadata/gemeenschappelijke-thesaurus-audiovisuele-archieven"
30
- ],
31
- "description": [
32
- {
33
- "@language": "en",
34
- "@value": "Persons for describing audiovisual material"
35
- },
36
- {
37
- "@language": "nl",
38
- "@value": "Personen voor het beschrijven van audiovisueel materiaal"
39
- }
40
- ],
41
- "inLanguage": "nl",
42
- "distribution": [
43
- {
44
- "@id": "https://data.beeldengeluid.nl/id/datadownload/0026",
45
- "@type": "DataDownload",
46
- "contentUrl": "https://$GTAA_CREDENTIALS@gtaa.apis.beeldengeluid.nl/sparql",
47
- "encodingFormat": "application/sparql-query",
48
- "potentialAction": [
49
- {
50
- "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/gtaa.rq"
52
- },
53
- {
54
- "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/gtaa.rq"
56
- },
57
- {
58
- "@type": "Action",
59
- "target": {
60
- "@type": "EntryPoint",
61
- "actionApplication": {
62
- "@id": "https://reconciliation-api.github.io/specs/latest/",
63
- "@type": "SoftwareApplication"
64
- },
65
- "urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{dataset}"
66
- }
67
- }
68
- ]
69
- }
70
- ]
71
- }
1
+ {
2
+ "@context": "https://schema.org",
3
+ "@id": "http://data.beeldengeluid.nl/gtaa/Persoonsnamen",
4
+ "@type": "Dataset",
5
+ "name": [
6
+ {
7
+ "@language": "en",
8
+ "@value": "GTAA: personal names"
9
+ },
10
+ {
11
+ "@language": "nl",
12
+ "@value": "GTAA: persoonsnamen"
13
+ }
14
+ ],
15
+ "genre": [
16
+ {
17
+ "@id": "https://data.cultureelerfgoed.nl/termennetwerk/onderwerpen/Personen"
18
+ }
19
+ ],
20
+ "creator": [
21
+ {
22
+ "@id": "https://www.beeldengeluid.nl/"
23
+ }
24
+ ],
25
+ "url": [
26
+ "http://data.beeldengeluid.nl/gtaa/"
27
+ ],
28
+ "mainEntityOfPage": [
29
+ "https://www.beeldengeluid.nl/kennis/kennisthemas/metadata/gemeenschappelijke-thesaurus-audiovisuele-archieven"
30
+ ],
31
+ "description": [
32
+ {
33
+ "@language": "en",
34
+ "@value": "Persons for describing audiovisual material"
35
+ },
36
+ {
37
+ "@language": "nl",
38
+ "@value": "Personen voor het beschrijven van audiovisueel materiaal"
39
+ }
40
+ ],
41
+ "inLanguage": "nl",
42
+ "distribution": [
43
+ {
44
+ "@id": "https://data.beeldengeluid.nl/id/datadownload/0026",
45
+ "@type": "DataDownload",
46
+ "contentUrl": "https://$GTAA_CREDENTIALS@gtaa.apis.beeldengeluid.nl/sparql",
47
+ "encodingFormat": "application/sparql-query",
48
+ "potentialAction": [
49
+ {
50
+ "@type": "SearchAction",
51
+ "query": "file://../queries/search/gtaa.rq"
52
+ },
53
+ {
54
+ "@type": "FindAction",
55
+ "query": "file://../queries/lookup/gtaa.rq"
56
+ },
57
+ {
58
+ "@type": "Action",
59
+ "target": {
60
+ "@type": "EntryPoint",
61
+ "actionApplication": {
62
+ "@id": "https://reconciliation-api.github.io/specs/latest/",
63
+ "@type": "SoftwareApplication"
64
+ },
65
+ "urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{dataset}"
66
+ }
67
+ }
68
+ ]
69
+ }
70
+ ]
71
+ }
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/poolparty.rq"
51
+ "query": "file://../queries/search/poolparty.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/poolparty.rq"
55
+ "query": "file://../queries/lookup/poolparty.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -54,11 +54,11 @@
54
54
  "potentialAction": [
55
55
  {
56
56
  "@type": "SearchAction",
57
- "query": "file://catalog/queries/search/iconclass.rq"
57
+ "query": "file://../queries/search/iconclass.rq"
58
58
  },
59
59
  {
60
60
  "@type": "FindAction",
61
- "query": "file://catalog/queries/lookup/iconclass.rq"
61
+ "query": "file://../queries/lookup/iconclass.rq"
62
62
  },
63
63
  {
64
64
  "@type": "Action",
@@ -63,11 +63,11 @@
63
63
  "potentialAction": [
64
64
  {
65
65
  "@type": "SearchAction",
66
- "query": "file://catalog/queries/search/ied.rq"
66
+ "query": "file://../queries/search/ied.rq"
67
67
  },
68
68
  {
69
69
  "@type": "FindAction",
70
- "query": "file://catalog/queries/lookup/ied.rq"
70
+ "query": "file://../queries/lookup/ied.rq"
71
71
  },
72
72
  {
73
73
  "@type": "Action",
@@ -60,11 +60,11 @@
60
60
  "potentialAction": [
61
61
  {
62
62
  "@type": "SearchAction",
63
- "query": "file://catalog/queries/search/poolparty.rq"
63
+ "query": "file://../queries/search/poolparty.rq"
64
64
  },
65
65
  {
66
66
  "@type": "FindAction",
67
- "query": "file://catalog/queries/lookup/poolparty.rq"
67
+ "query": "file://../queries/lookup/poolparty.rq"
68
68
  },
69
69
  {
70
70
  "@type": "Action",
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/muziekschatten-klassiekewerken.rq"
51
+ "query": "file://../queries/search/muziekschatten-klassiekewerken.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/muziekschatten-klassiekewerken.rq"
55
+ "query": "file://../queries/lookup/muziekschatten-klassiekewerken.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -51,11 +51,11 @@
51
51
  "potentialAction": [
52
52
  {
53
53
  "@type": "SearchAction",
54
- "query": "file://catalog/queries/search/muziekschatten-onderwerpen.rq"
54
+ "query": "file://../queries/search/muziekschatten-onderwerpen.rq"
55
55
  },
56
56
  {
57
57
  "@type": "FindAction",
58
- "query": "file://catalog/queries/lookup/muziekschatten-onderwerpen.rq"
58
+ "query": "file://../queries/lookup/muziekschatten-onderwerpen.rq"
59
59
  },
60
60
  {
61
61
  "@type": "Action",
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/muziekschatten-personen.rq"
51
+ "query": "file://../queries/search/muziekschatten-personen.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/muziekschatten-personen.rq"
55
+ "query": "file://../queries/lookup/muziekschatten-personen.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -51,11 +51,11 @@
51
51
  "potentialAction": [
52
52
  {
53
53
  "@type": "SearchAction",
54
- "query": "file://catalog/queries/search/mw-genresstijlen.rq"
54
+ "query": "file://../queries/search/mw-genresstijlen.rq"
55
55
  },
56
56
  {
57
57
  "@type": "FindAction",
58
- "query": "file://catalog/queries/lookup/muziekweb.rq"
58
+ "query": "file://../queries/lookup/muziekweb.rq"
59
59
  },
60
60
  {
61
61
  "@type": "Action",
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/mw-personengroepen.rq"
51
+ "query": "file://../queries/search/mw-personengroepen.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/muziekweb.rq"
55
+ "query": "file://../queries/lookup/muziekweb.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -60,11 +60,11 @@
60
60
  "potentialAction": [
61
61
  {
62
62
  "@type": "SearchAction",
63
- "query": "file://catalog/queries/search/nmvw.rq"
63
+ "query": "file://../queries/search/nmvw.rq"
64
64
  },
65
65
  {
66
66
  "@type": "FindAction",
67
- "query": "file://catalog/queries/lookup/nmvw.rq"
67
+ "query": "file://../queries/lookup/nmvw.rq"
68
68
  },
69
69
  {
70
70
  "@type": "Action",
@@ -54,11 +54,11 @@
54
54
  "potentialAction": [
55
55
  {
56
56
  "@type": "SearchAction",
57
- "query": "file://catalog/queries/search/nta.rq"
57
+ "query": "file://../queries/search/nta.rq"
58
58
  },
59
59
  {
60
60
  "@type": "FindAction",
61
- "query": "file://catalog/queries/lookup/brinkman-nta-stcn.rq"
61
+ "query": "file://../queries/lookup/brinkman-nta-stcn.rq"
62
62
  },
63
63
  {
64
64
  "@type": "Action",
@@ -58,11 +58,11 @@
58
58
  "potentialAction": [
59
59
  {
60
60
  "@type": "SearchAction",
61
- "query": "file://catalog/queries/search/picot.rq"
61
+ "query": "file://../queries/search/picot.rq"
62
62
  },
63
63
  {
64
64
  "@type": "FindAction",
65
- "query": "file://catalog/queries/lookup/poolparty.rq"
65
+ "query": "file://../queries/lookup/poolparty.rq"
66
66
  },
67
67
  {
68
68
  "@type": "Action",
@@ -58,11 +58,11 @@
58
58
  "potentialAction": [
59
59
  {
60
60
  "@type": "SearchAction",
61
- "query": "file://catalog/queries/search/picot.rq"
61
+ "query": "file://../queries/search/picot.rq"
62
62
  },
63
63
  {
64
64
  "@type": "FindAction",
65
- "query": "file://catalog/queries/lookup/poolparty.rq"
65
+ "query": "file://../queries/lookup/poolparty.rq"
66
66
  },
67
67
  {
68
68
  "@type": "Action",
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/rijksmonumenten.rq"
51
+ "query": "file://../queries/search/rijksmonumenten.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/rijksmonumenten.rq"
55
+ "query": "file://../queries/lookup/rijksmonumenten.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/rkdartists.rq"
51
+ "query": "file://../queries/search/rkdartists.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/rkdartists.rq"
55
+ "query": "file://../queries/lookup/rkdartists.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/rtf-personen.rq"
51
+ "query": "file://../queries/search/rtf-personen.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/rtf-personen.rq"
55
+ "query": "file://../queries/lookup/rtf-personen.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/stcn-drukkers.rq"
51
+ "query": "file://../queries/search/stcn-drukkers.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/brinkman-nta-stcn.rq"
55
+ "query": "file://../queries/lookup/brinkman-nta-stcn.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -51,11 +51,11 @@
51
51
  "potentialAction": [
52
52
  {
53
53
  "@type": "SearchAction",
54
- "query": "file://catalog/queries/search/uitvoeringsmedium.rq"
54
+ "query": "file://../queries/search/uitvoeringsmedium.rq"
55
55
  },
56
56
  {
57
57
  "@type": "FindAction",
58
- "query": "file://catalog/queries/lookup/uitvoeringsmedium.rq"
58
+ "query": "file://../queries/lookup/uitvoeringsmedium.rq"
59
59
  },
60
60
  {
61
61
  "@type": "Action",
@@ -64,11 +64,11 @@
64
64
  "potentialAction": [
65
65
  {
66
66
  "@type": "SearchAction",
67
- "query": "file://catalog/queries/search/poolparty.rq"
67
+ "query": "file://../queries/search/poolparty.rq"
68
68
  },
69
69
  {
70
70
  "@type": "FindAction",
71
- "query": "file://catalog/queries/lookup/poolparty.rq"
71
+ "query": "file://../queries/lookup/poolparty.rq"
72
72
  },
73
73
  {
74
74
  "@type": "Action",
@@ -54,11 +54,11 @@
54
54
  "potentialAction": [
55
55
  {
56
56
  "@type": "SearchAction",
57
- "query": "file://catalog/queries/search/wikidata-entities-all.rq"
57
+ "query": "file://../queries/search/wikidata-entities-all.rq"
58
58
  },
59
59
  {
60
60
  "@type": "FindAction",
61
- "query": "file://catalog/queries/lookup/wikidata.rq"
61
+ "query": "file://../queries/lookup/wikidata.rq"
62
62
  }
63
63
  ]
64
64
  }
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/wikidata-entities-persons.rq"
51
+ "query": "file://../queries/search/wikidata-entities-persons.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/wikidata.rq"
55
+ "query": "file://../queries/lookup/wikidata.rq"
56
56
  }
57
57
  ]
58
58
  }
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/wikidata-entities-places.rq"
51
+ "query": "file://../queries/search/wikidata-entities-places.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/wikidata.rq"
55
+ "query": "file://../queries/lookup/wikidata.rq"
56
56
  }
57
57
  ]
58
58
  }
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/wikidata-entities-streets.rq"
51
+ "query": "file://../queries/search/wikidata-entities-streets.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/wikidata.rq"
55
+ "query": "file://../queries/lookup/wikidata.rq"
56
56
  }
57
57
  ]
58
58
  }
@@ -48,11 +48,11 @@
48
48
  "potentialAction": [
49
49
  {
50
50
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/poolparty.rq"
51
+ "query": "file://../queries/search/poolparty.rq"
52
52
  },
53
53
  {
54
54
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/poolparty.rq"
55
+ "query": "file://../queries/lookup/poolparty.rq"
56
56
  },
57
57
  {
58
58
  "@type": "Action",
@@ -57,11 +57,11 @@
57
57
  "potentialAction": [
58
58
  {
59
59
  "@type": "SearchAction",
60
- "query": "file://catalog/queries/search/wo2thesaurus.rq"
60
+ "query": "file://../queries/search/wo2thesaurus.rq"
61
61
  },
62
62
  {
63
63
  "@type": "FindAction",
64
- "query": "file://catalog/queries/lookup/wo2thesaurus.rq"
64
+ "query": "file://../queries/lookup/wo2thesaurus.rq"
65
65
  },
66
66
  {
67
67
  "@type": "Action",
@@ -7,8 +7,7 @@ CONSTRUCT {
7
7
  skos:prefLabel ?prefLabel ;
8
8
  skos:altLabel ?altLabel ;
9
9
  skos:scopeNote ?scopeNote ;
10
- skos:exactMatch ?exactMatch_uri ;
11
- rdfs:seeAlso ?seeAlso_uri .
10
+ skos:exactMatch ?exactMatch_uri .
12
11
  }
13
12
  WHERE {
14
13
  GRAPH <https://fryslan.regiotermen.nl/personen> {
@@ -19,11 +18,8 @@ WHERE {
19
18
  skos:prefLabel ?prefLabel ;
20
19
  skos:altLabel ?altLabel .
21
20
 
22
- OPTIONAL { ?uri skos:note ?scopeNote }
21
+ OPTIONAL { ?uri skos:scopeNote ?scopeNote }
22
+ OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri }
23
23
  }
24
- #LIMIT#
25
24
  }
26
-
27
- OPTIONAL { ?uri schema:sameAs ?exactMatch_uri }
28
- OPTIONAL { ?uri schema:mainEntityOfPage ?seeAlso_uri }
29
25
  }
@@ -0,0 +1,55 @@
1
+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
2
+ PREFIX gn: <https://www.geonames.org/ontology#>
3
+ PREFIX text: <http://jena.apache.org/text#>
4
+ PREFIX vrank: <http://purl.org/voc/vrank#>
5
+
6
+ CONSTRUCT {
7
+ ?uri a skos:Concept ;
8
+ skos:prefLabel ?prefLabel_ext ;
9
+ skos:altLabel ?altLabel ;
10
+ skos:scopeNote ?scopeNote_en ;
11
+ skos:broader ?broader ;
12
+ vrank:simpleRank ?score .
13
+ ?broader skos:prefLabel ?broader_prefLabel .
14
+ }
15
+ WHERE {
16
+ {
17
+ SELECT ?uri (MAX(?sc) as ?score) WHERE {
18
+ (?uri ?sc) text:query (gn:name gn:alternateName ?query) .
19
+ ?uri a gn:Feature ;
20
+ gn:featureClass ?featureClass ;
21
+ gn:countryCode ?countryCode .
22
+ # Limit results to places (P), localities (L), administrative levels (A) and water surfaces (H).
23
+ VALUES ?featureClass { gn:P gn:L gn:A gn:H }
24
+
25
+ VALUES ?countryCode { "NL" "BE" "DE" }
26
+ }
27
+ GROUP BY ?uri
28
+ ORDER BY DESC(?score)
29
+ #LIMIT#
30
+ }
31
+
32
+ ?uri gn:name ?prefLabel ;
33
+ gn:countryCode ?countryCode .
34
+
35
+ BIND(CONCAT(?prefLabel," (",UCASE(?countryCode),")") as ?prefLabel_ext)
36
+
37
+ OPTIONAL {
38
+ ?uri gn:alternateName ?altLabel .
39
+ FILTER(?altLabel != "")
40
+ }
41
+
42
+ OPTIONAL {
43
+ ?uri ?parents ?broader .
44
+ ?broader gn:name ?broader_prefLabel
45
+ VALUES ?parents { gn:parentADM1 gn:parentADM2 }
46
+ # filter out the circular links in the converted data
47
+ FILTER(?uri != ?broader)
48
+ }
49
+
50
+ OPTIONAL {
51
+ ?uri gn:featureCode/gn:name ?scopeNote .
52
+ # scopeNote is always in English.
53
+ BIND(STRLANG(?scopeNote, "en") as ?scopeNote_en)
54
+ }
55
+ }
@@ -7,8 +7,7 @@ CONSTRUCT {
7
7
  skos:prefLabel ?prefLabel ;
8
8
  skos:altLabel ?altLabel ;
9
9
  skos:scopeNote ?scopeNote ;
10
- skos:exactMatch ?exactMatch_uri ;
11
- rdfs:seeAlso ?seeAlso_uri .
10
+ skos:exactMatch ?exactMatch_uri .
12
11
  }
13
12
  WHERE {
14
13
  GRAPH <https://fryslan.regiotermen.nl/personen> {
@@ -17,13 +16,10 @@ WHERE {
17
16
  skos:prefLabel ?prefLabel ;
18
17
  skos:altLabel ?altLabel .
19
18
 
20
- OPTIONAL { ?uri skos:note ?scopeNote }
19
+ OPTIONAL { ?uri skos:scopeNote ?scopeNote }
20
+ OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri }
21
21
 
22
22
  FILTER(CONTAINS(LCASE(?prefLabel), LCASE(?query)) || CONTAINS(LCASE(?altlabel), LCASE(?query)))
23
23
  }
24
- #LIMIT#
25
24
  }
26
-
27
- OPTIONAL { ?uri schema:sameAs ?exactMatch_uri }
28
- OPTIONAL { ?uri schema:mainEntityOfPage ?seeAlso_uri }
29
25
  }
@@ -37,4 +37,3 @@ export const dereferenceGenre = memoize(doDereferenceGenre, {
37
37
  cacheKey: String,
38
38
  maxAge: 86400,
39
39
  });
40
- //# sourceMappingURL=genre.js.map
@@ -1,5 +1,5 @@
1
- import * as RDF from '@rdfjs/types';
2
1
  import { Catalog } from '@netwerk-digitaal-erfgoed/network-of-terms-query';
2
+ import type RDF from '@rdfjs/types';
3
3
  export declare function getCatalog(path?: string): Promise<Catalog>;
4
4
  export declare function fromStore(store: RDF.Store): Promise<Catalog>;
5
5
  /**