@netwerk-digitaal-erfgoed/network-of-terms-catalog 10.16.0 → 10.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.
Files changed (67) hide show
  1. package/README.md +11 -11
  2. package/catalog/datasets/aat-materials.jsonld +4 -6
  3. package/catalog/datasets/aat-processes-and-techniques.jsonld +3 -5
  4. package/catalog/datasets/aat-styles-and-periods.jsonld +3 -5
  5. package/catalog/datasets/aat.jsonld +9 -11
  6. package/catalog/datasets/abr.jsonld +4 -8
  7. package/catalog/datasets/adamlink-adressen.jsonld +4 -8
  8. package/catalog/datasets/adamlink-straten.jsonld +4 -8
  9. package/catalog/datasets/brabantse-gebouwen.jsonld +3 -5
  10. package/catalog/datasets/brinkman.jsonld +3 -5
  11. package/catalog/datasets/cht-materials.jsonld +3 -5
  12. package/catalog/datasets/cht-styles-and-periods.jsonld +3 -5
  13. package/catalog/datasets/cht.jsonld +3 -5
  14. package/catalog/datasets/eurovoc.jsonld +4 -8
  15. package/catalog/datasets/geonames-nl-be-de.jsonld +5 -9
  16. package/catalog/datasets/geonames.jsonld +6 -10
  17. package/catalog/datasets/goudatijdmachine-straten.jsonld +4 -6
  18. package/catalog/datasets/gtaa-classificatie.jsonld +69 -71
  19. package/catalog/datasets/gtaa-genres.jsonld +69 -71
  20. package/catalog/datasets/gtaa-geografische-namen.jsonld +69 -71
  21. package/catalog/datasets/gtaa-namen.jsonld +72 -74
  22. package/catalog/datasets/gtaa-onderwerpen-beng.jsonld +72 -74
  23. package/catalog/datasets/gtaa-onderwerpen.jsonld +72 -74
  24. package/catalog/datasets/gtaa-persoonsnamen.jsonld +69 -71
  25. package/catalog/datasets/homosaurus.jsonld +4 -8
  26. package/catalog/datasets/iconclass.jsonld +4 -8
  27. package/catalog/datasets/ied.jsonld +4 -8
  28. package/catalog/datasets/koloniaal-verleden.jsonld +3 -5
  29. package/catalog/datasets/muziekschatten-klassieke-werken.jsonld +4 -8
  30. package/catalog/datasets/muziekschatten-onderwerpen.jsonld +4 -8
  31. package/catalog/datasets/muziekschatten-personen.jsonld +4 -8
  32. package/catalog/datasets/mw-genresstijlen.jsonld +3 -5
  33. package/catalog/datasets/mw-personengroepen.jsonld +3 -5
  34. package/catalog/datasets/nmvw.jsonld +4 -8
  35. package/catalog/datasets/nta.jsonld +4 -8
  36. package/catalog/datasets/picot-brontypen.jsonld +2 -2
  37. package/catalog/datasets/picot-rollen.jsonld +2 -2
  38. package/catalog/datasets/rijksmonumenten.jsonld +3 -5
  39. package/catalog/datasets/rkdartists.jsonld +4 -8
  40. package/catalog/datasets/rtf-personen.jsonld +4 -8
  41. package/catalog/datasets/stcn-drukkers.jsonld +3 -5
  42. package/catalog/datasets/uitvoeringsmedium.jsonld +4 -8
  43. package/catalog/datasets/westerbork.jsonld +4 -8
  44. package/catalog/datasets/wikidata-entities-all.jsonld +5 -9
  45. package/catalog/datasets/wikidata-entities-persons.jsonld +4 -8
  46. package/catalog/datasets/wikidata-entities-places.jsonld +4 -8
  47. package/catalog/datasets/wikidata-entities-streets.jsonld +4 -8
  48. package/catalog/datasets/wo2biografie.jsonld +3 -5
  49. package/catalog/datasets/wo2thesaurus.jsonld +4 -8
  50. package/catalog/queries/lookup/goudatijdmachine-straten.rq +33 -34
  51. package/catalog/queries/search/geonames-nl-be-de.rq +55 -0
  52. package/catalog/queries/search/goudatijdmachine-straten.rq +39 -48
  53. package/{build → dist}/genre.js +0 -1
  54. package/dist/getCatalog.d.ts +5 -0
  55. package/dist/getCatalog.d.ts.map +1 -0
  56. package/{build → dist}/getCatalog.js +40 -17
  57. package/{build → dist}/index.js +0 -1
  58. package/package.json +40 -37
  59. package/build/genre.js.map +0 -1
  60. package/build/getCatalog.d.ts +0 -11
  61. package/build/getCatalog.d.ts.map +0 -1
  62. package/build/getCatalog.js.map +0 -1
  63. package/build/index.js.map +0 -1
  64. /package/{build → dist}/genre.d.ts +0 -0
  65. /package/{build → dist}/genre.d.ts.map +0 -0
  66. /package/{build → dist}/index.d.ts +0 -0
  67. /package/{build → dist}/index.d.ts.map +0 -0
@@ -25,9 +25,7 @@
25
25
  "@id": "https://www.muziekweb.nl"
26
26
  }
27
27
  ],
28
- "url": [
29
- "https://data.muziekweb.nl/Link/"
30
- ],
28
+ "url": ["https://data.muziekweb.nl/Link/"],
31
29
  "mainEntityOfPage": [
32
30
  "https://data.muziekweb.nl/MuziekwebOrganization/Muziekweb"
33
31
  ],
@@ -51,11 +49,11 @@
51
49
  "potentialAction": [
52
50
  {
53
51
  "@type": "SearchAction",
54
- "query": "file://catalog/queries/search/mw-genresstijlen.rq"
52
+ "query": "file://../queries/search/mw-genresstijlen.rq"
55
53
  },
56
54
  {
57
55
  "@type": "FindAction",
58
- "query": "file://catalog/queries/lookup/muziekweb.rq"
56
+ "query": "file://../queries/lookup/muziekweb.rq"
59
57
  },
60
58
  {
61
59
  "@type": "Action",
@@ -22,9 +22,7 @@
22
22
  "@id": "https://www.muziekweb.nl"
23
23
  }
24
24
  ],
25
- "url": [
26
- "https://data.muziekweb.nl/Link/"
27
- ],
25
+ "url": ["https://data.muziekweb.nl/Link/"],
28
26
  "mainEntityOfPage": [
29
27
  "https://data.muziekweb.nl/MuziekwebOrganization/Muziekweb"
30
28
  ],
@@ -48,11 +46,11 @@
48
46
  "potentialAction": [
49
47
  {
50
48
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/mw-personengroepen.rq"
49
+ "query": "file://../queries/search/mw-personengroepen.rq"
52
50
  },
53
51
  {
54
52
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/muziekweb.rq"
53
+ "query": "file://../queries/lookup/muziekweb.rq"
56
54
  },
57
55
  {
58
56
  "@type": "Action",
@@ -34,12 +34,8 @@
34
34
  "@id": "http://www.wereldculturen.nl"
35
35
  }
36
36
  ],
37
- "url": [
38
- "https://hdl.handle.net/20.500.11840/"
39
- ],
40
- "mainEntityOfPage": [
41
- "https://collectie.wereldculturen.nl/thesaurus"
42
- ],
37
+ "url": ["https://hdl.handle.net/20.500.11840/"],
38
+ "mainEntityOfPage": ["https://collectie.wereldculturen.nl/thesaurus"],
43
39
  "description": [
44
40
  {
45
41
  "@language": "en",
@@ -60,11 +56,11 @@
60
56
  "potentialAction": [
61
57
  {
62
58
  "@type": "SearchAction",
63
- "query": "file://catalog/queries/search/nmvw.rq"
59
+ "query": "file://../queries/search/nmvw.rq"
64
60
  },
65
61
  {
66
62
  "@type": "FindAction",
67
- "query": "file://catalog/queries/lookup/nmvw.rq"
63
+ "query": "file://../queries/lookup/nmvw.rq"
68
64
  },
69
65
  {
70
66
  "@type": "Action",
@@ -28,12 +28,8 @@
28
28
  "@id": "http://data.bibliotheken.nl/id/thes/p075301482"
29
29
  }
30
30
  ],
31
- "url": [
32
- "http://data.bibliotheken.nl/id/thes/"
33
- ],
34
- "mainEntityOfPage": [
35
- "https://data.bibliotheken.nl/KB/-/stories/NTA"
36
- ],
31
+ "url": ["http://data.bibliotheken.nl/id/thes/"],
32
+ "mainEntityOfPage": ["https://data.bibliotheken.nl/KB/-/stories/NTA"],
37
33
  "description": [
38
34
  {
39
35
  "@language": "en",
@@ -54,11 +50,11 @@
54
50
  "potentialAction": [
55
51
  {
56
52
  "@type": "SearchAction",
57
- "query": "file://catalog/queries/search/nta.rq"
53
+ "query": "file://../queries/search/nta.rq"
58
54
  },
59
55
  {
60
56
  "@type": "FindAction",
61
- "query": "file://catalog/queries/lookup/brinkman-nta-stcn.rq"
57
+ "query": "file://../queries/lookup/brinkman-nta-stcn.rq"
62
58
  },
63
59
  {
64
60
  "@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",
@@ -25,9 +25,7 @@
25
25
  "url": [
26
26
  "https://linkeddata.cultureelerfgoed.nl/cho-kennis/id/rijksmonument/"
27
27
  ],
28
- "mainEntityOfPage": [
29
- "https://monumentenregister.cultureelerfgoed.nl/"
30
- ],
28
+ "mainEntityOfPage": ["https://monumentenregister.cultureelerfgoed.nl/"],
31
29
  "description": [
32
30
  {
33
31
  "@language": "en",
@@ -48,11 +46,11 @@
48
46
  "potentialAction": [
49
47
  {
50
48
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/rijksmonumenten.rq"
49
+ "query": "file://../queries/search/rijksmonumenten.rq"
52
50
  },
53
51
  {
54
52
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/rijksmonumenten.rq"
53
+ "query": "file://../queries/lookup/rijksmonumenten.rq"
56
54
  },
57
55
  {
58
56
  "@type": "Action",
@@ -22,12 +22,8 @@
22
22
  "@id": "https://rkd.nl"
23
23
  }
24
24
  ],
25
- "url": [
26
- "https://data.rkd.nl/artists/"
27
- ],
28
- "mainEntityOfPage": [
29
- "https://rkd.nl/nl/explore/artists"
30
- ],
25
+ "url": ["https://data.rkd.nl/artists/"],
26
+ "mainEntityOfPage": ["https://rkd.nl/nl/explore/artists"],
31
27
  "description": [
32
28
  {
33
29
  "@language": "en",
@@ -48,11 +44,11 @@
48
44
  "potentialAction": [
49
45
  {
50
46
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/rkdartists.rq"
47
+ "query": "file://../queries/search/rkdartists.rq"
52
48
  },
53
49
  {
54
50
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/rkdartists.rq"
51
+ "query": "file://../queries/lookup/rkdartists.rq"
56
52
  },
57
53
  {
58
54
  "@type": "Action",
@@ -22,12 +22,8 @@
22
22
  "@id": "https://www.tresoar.nl"
23
23
  }
24
24
  ],
25
- "url": [
26
- "https://fryslan.regiotermen.nl/"
27
- ],
28
- "mainEntityOfPage": [
29
- "https://fryslan.regiotermen.nl/personen"
30
- ],
25
+ "url": ["https://fryslan.regiotermen.nl/"],
26
+ "mainEntityOfPage": ["https://fryslan.regiotermen.nl/personen"],
31
27
  "description": [
32
28
  {
33
29
  "@language": "en",
@@ -48,11 +44,11 @@
48
44
  "potentialAction": [
49
45
  {
50
46
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/rtf-personen.rq"
47
+ "query": "file://../queries/search/rtf-personen.rq"
52
48
  },
53
49
  {
54
50
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/rtf-personen.rq"
51
+ "query": "file://../queries/lookup/rtf-personen.rq"
56
52
  },
57
53
  {
58
54
  "@type": "Action",
@@ -22,9 +22,7 @@
22
22
  "@id": "http://data.bibliotheken.nl/id/thes/p075301482"
23
23
  }
24
24
  ],
25
- "url": [
26
- "http://data.bibliotheken.nl/id/thes/"
27
- ],
25
+ "url": ["http://data.bibliotheken.nl/id/thes/"],
28
26
  "mainEntityOfPage": [
29
27
  "https://data.bibliotheken.nl/KB/-/stories/STCN-persons"
30
28
  ],
@@ -48,11 +46,11 @@
48
46
  "potentialAction": [
49
47
  {
50
48
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/stcn-drukkers.rq"
49
+ "query": "file://../queries/search/stcn-drukkers.rq"
52
50
  },
53
51
  {
54
52
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/brinkman-nta-stcn.rq"
53
+ "query": "file://../queries/lookup/brinkman-nta-stcn.rq"
56
54
  },
57
55
  {
58
56
  "@type": "Action",
@@ -25,12 +25,8 @@
25
25
  "@id": "https://www.podiumkunst.net"
26
26
  }
27
27
  ],
28
- "url": [
29
- "https://data.muziekschatten.nl/som/um"
30
- ],
31
- "mainEntityOfPage": [
32
- "https://data.muziekschatten.nl/som/"
33
- ],
28
+ "url": ["https://data.muziekschatten.nl/som/um"],
29
+ "mainEntityOfPage": ["https://data.muziekschatten.nl/som/"],
34
30
  "description": [
35
31
  {
36
32
  "@language": "en",
@@ -51,11 +47,11 @@
51
47
  "potentialAction": [
52
48
  {
53
49
  "@type": "SearchAction",
54
- "query": "file://catalog/queries/search/uitvoeringsmedium.rq"
50
+ "query": "file://../queries/search/uitvoeringsmedium.rq"
55
51
  },
56
52
  {
57
53
  "@type": "FindAction",
58
- "query": "file://catalog/queries/lookup/uitvoeringsmedium.rq"
54
+ "query": "file://../queries/lookup/uitvoeringsmedium.rq"
59
55
  },
60
56
  {
61
57
  "@type": "Action",
@@ -38,12 +38,8 @@
38
38
  "@id": "https://kampwesterbork.nl"
39
39
  }
40
40
  ],
41
- "url": [
42
- "https://digitaalerfgoed.poolparty.biz/westerbork/"
43
- ],
44
- "mainEntityOfPage": [
45
- "https://digitaalerfgoed.poolparty.biz/westerbork.html"
46
- ],
41
+ "url": ["https://digitaalerfgoed.poolparty.biz/westerbork/"],
42
+ "mainEntityOfPage": ["https://digitaalerfgoed.poolparty.biz/westerbork.html"],
47
43
  "description": [
48
44
  {
49
45
  "@language": "en",
@@ -64,11 +60,11 @@
64
60
  "potentialAction": [
65
61
  {
66
62
  "@type": "SearchAction",
67
- "query": "file://catalog/queries/search/poolparty.rq"
63
+ "query": "file://../queries/search/poolparty.rq"
68
64
  },
69
65
  {
70
66
  "@type": "FindAction",
71
- "query": "file://catalog/queries/lookup/poolparty.rq"
67
+ "query": "file://../queries/lookup/poolparty.rq"
72
68
  },
73
69
  {
74
70
  "@type": "Action",
@@ -16,7 +16,7 @@
16
16
  {
17
17
  "@id": "https://data.cultureelerfgoed.nl/termennetwerk/onderwerpen/Objecten"
18
18
  },
19
- {
19
+ {
20
20
  "@id": "https://data.cultureelerfgoed.nl/termennetwerk/onderwerpen/Personen"
21
21
  },
22
22
  {
@@ -28,12 +28,8 @@
28
28
  "@id": "https://www.wikidata.org/entity/Q180"
29
29
  }
30
30
  ],
31
- "url": [
32
- "http://www.wikidata.org/entity/"
33
- ],
34
- "mainEntityOfPage": [
35
- "https://www.wikidata.org"
36
- ],
31
+ "url": ["http://www.wikidata.org/entity/"],
32
+ "mainEntityOfPage": ["https://www.wikidata.org"],
37
33
  "description": [
38
34
  {
39
35
  "@language": "en",
@@ -54,11 +50,11 @@
54
50
  "potentialAction": [
55
51
  {
56
52
  "@type": "SearchAction",
57
- "query": "file://catalog/queries/search/wikidata-entities-all.rq"
53
+ "query": "file://../queries/search/wikidata-entities-all.rq"
58
54
  },
59
55
  {
60
56
  "@type": "FindAction",
61
- "query": "file://catalog/queries/lookup/wikidata.rq"
57
+ "query": "file://../queries/lookup/wikidata.rq"
62
58
  }
63
59
  ]
64
60
  }
@@ -22,12 +22,8 @@
22
22
  "@id": "https://www.wikidata.org/entity/Q180"
23
23
  }
24
24
  ],
25
- "url": [
26
- "http://www.wikidata.org/entity/"
27
- ],
28
- "mainEntityOfPage": [
29
- "https://www.wikidata.org"
30
- ],
25
+ "url": ["http://www.wikidata.org/entity/"],
26
+ "mainEntityOfPage": ["https://www.wikidata.org"],
31
27
  "description": [
32
28
  {
33
29
  "@language": "en",
@@ -48,11 +44,11 @@
48
44
  "potentialAction": [
49
45
  {
50
46
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/wikidata-entities-persons.rq"
47
+ "query": "file://../queries/search/wikidata-entities-persons.rq"
52
48
  },
53
49
  {
54
50
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/wikidata.rq"
51
+ "query": "file://../queries/lookup/wikidata.rq"
56
52
  }
57
53
  ]
58
54
  }
@@ -22,12 +22,8 @@
22
22
  "@id": "https://www.wikidata.org/entity/Q180"
23
23
  }
24
24
  ],
25
- "url": [
26
- "http://www.wikidata.org/entity/"
27
- ],
28
- "mainEntityOfPage": [
29
- "https://www.wikidata.org"
30
- ],
25
+ "url": ["http://www.wikidata.org/entity/"],
26
+ "mainEntityOfPage": ["https://www.wikidata.org"],
31
27
  "description": [
32
28
  {
33
29
  "@language": "en",
@@ -48,11 +44,11 @@
48
44
  "potentialAction": [
49
45
  {
50
46
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/wikidata-entities-places.rq"
47
+ "query": "file://../queries/search/wikidata-entities-places.rq"
52
48
  },
53
49
  {
54
50
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/wikidata.rq"
51
+ "query": "file://../queries/lookup/wikidata.rq"
56
52
  }
57
53
  ]
58
54
  }
@@ -22,12 +22,8 @@
22
22
  "@id": "https://www.wikidata.org/entity/Q180"
23
23
  }
24
24
  ],
25
- "url": [
26
- "http://www.wikidata.org/entity/"
27
- ],
28
- "mainEntityOfPage": [
29
- "https://www.wikidata.org"
30
- ],
25
+ "url": ["http://www.wikidata.org/entity/"],
26
+ "mainEntityOfPage": ["https://www.wikidata.org"],
31
27
  "description": [
32
28
  {
33
29
  "@language": "en",
@@ -48,11 +44,11 @@
48
44
  "potentialAction": [
49
45
  {
50
46
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/wikidata-entities-streets.rq"
47
+ "query": "file://../queries/search/wikidata-entities-streets.rq"
52
48
  },
53
49
  {
54
50
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/wikidata.rq"
51
+ "query": "file://../queries/lookup/wikidata.rq"
56
52
  }
57
53
  ]
58
54
  }
@@ -22,9 +22,7 @@
22
22
  "@id": "https://www.wo2net.nl"
23
23
  }
24
24
  ],
25
- "url": [
26
- "https://data.niod.nl/WO2_biografieen/"
27
- ],
25
+ "url": ["https://data.niod.nl/WO2_biografieen/"],
28
26
  "mainEntityOfPage": [
29
27
  "https://www.oorlogsbronnen.nl/nieuws/project-wo2-thesaurus"
30
28
  ],
@@ -48,11 +46,11 @@
48
46
  "potentialAction": [
49
47
  {
50
48
  "@type": "SearchAction",
51
- "query": "file://catalog/queries/search/poolparty.rq"
49
+ "query": "file://../queries/search/poolparty.rq"
52
50
  },
53
51
  {
54
52
  "@type": "FindAction",
55
- "query": "file://catalog/queries/lookup/poolparty.rq"
53
+ "query": "file://../queries/lookup/poolparty.rq"
56
54
  },
57
55
  {
58
56
  "@type": "Action",
@@ -31,12 +31,8 @@
31
31
  "@id": "https://www.niod.nl"
32
32
  }
33
33
  ],
34
- "url": [
35
- "https://data.niod.nl/WO2_Thesaurus/"
36
- ],
37
- "mainEntityOfPage": [
38
- "https://www.niod.nl/nl/collecties/wo2-thesaurus"
39
- ],
34
+ "url": ["https://data.niod.nl/WO2_Thesaurus/"],
35
+ "mainEntityOfPage": ["https://www.niod.nl/nl/collecties/wo2-thesaurus"],
40
36
  "description": [
41
37
  {
42
38
  "@language": "en",
@@ -57,11 +53,11 @@
57
53
  "potentialAction": [
58
54
  {
59
55
  "@type": "SearchAction",
60
- "query": "file://catalog/queries/search/wo2thesaurus.rq"
56
+ "query": "file://../queries/search/wo2thesaurus.rq"
61
57
  },
62
58
  {
63
59
  "@type": "FindAction",
64
- "query": "file://catalog/queries/lookup/wo2thesaurus.rq"
60
+ "query": "file://../queries/lookup/wo2thesaurus.rq"
65
61
  },
66
62
  {
67
63
  "@type": "Action",
@@ -4,40 +4,39 @@ PREFIX gtm: <https://www.goudatijdmachine.nl/def#>
4
4
  PREFIX hg: <http://rdf.histograph.io/>
5
5
  PREFIX owl: <http://www.w3.org/2002/07/owl#>
6
6
  PREFIX omeka: <http://omeka.org/s/vocabs/o#>
7
-
8
7
  CONSTRUCT {
9
- ?uri a skos:Concept ;
10
- skos:prefLabel ?prefLabel ;
11
- skos:altLabel ?altLabel ;
12
- skos:scopeNote ?scopeNote ;
13
- skos:related ?related_uri ;
14
- skos:exactMatch ?exactMatch_uri .
15
- ?related_uri skos:prefLabel ?related_prefLabel .
16
- ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
8
+ ?uri a skos:Concept ;
9
+ skos:prefLabel ?prefLabel ;
10
+ skos:altLabel ?altLabel ;
11
+ skos:scopeNote ?scopeNote ;
12
+ skos:related ?related_uri ;
13
+ skos:exactMatch ?exactMatch_uri .
14
+ ?related_uri skos:prefLabel ?related_prefLabel .
15
+ ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
17
16
  } WHERE {
18
- # For example:
19
- # Vuilsteeg: <https://n2t.net/ark:/60537/bIwfWk>
20
- # Kapelstraat: <https://n2t.net/ark:/60537/b4ApaO>
21
- VALUES ?uri { ?uris }
22
- ?uri a gtm:Straat ;
23
- sdo:identifier ?identifier ;
24
- sdo:name ?prefLabel .
25
- FILTER (STRSTARTS(STR(?uri), "https://n2t.net/ark:/60537/"))
26
- OPTIONAL {
27
- ?uri sdo:alternateName ?altLabel
28
- }
29
- BIND ( CONCAT( IF ( EXISTS { ?uri omeka:item_set <https://n2t.net/ark:/60537/bd75pg> }, "Verdwenen straat", "Straat" )," in Gouda") AS ?scopeNote )
30
- OPTIONAL {
31
- ?uri hg:absorbedBy|hg:absorbed ?related_uri .
32
- ?related_uri a gtm:Straat ;
33
- sdo:name ?related_prefLabel .
34
- FILTER (STRSTARTS(STR(?related_uri), "https://n2t.net/ark:/60537/") && ?uri != ?related_uri )
35
- }
36
-
37
- OPTIONAL {
38
- ?uri owl:sameAs ?exactMatch_uri .
39
- ?exactMatch_uri sdo:name ?exactMatch_prefLabel .
40
- FILTER(?exactMatch_uri != ?uri)
41
- }
17
+ # For example:
18
+ # Vuilsteeg: <https://n2t.net/ark:/60537/bIwfWk>
19
+ # Kapelstraat: <https://n2t.net/ark:/60537/b4ApaO>
20
+ VALUES ?uri { ?uris }
21
+ ?uri a gtm:Straat ;
22
+ sdo:identifier ?identifier ;
23
+ sdo:name ?prefLabel .
24
+ OPTIONAL {
25
+ ?uri sdo:alternateName ?altLabel
26
+ }
27
+ BIND ( CONCAT( IF ( EXISTS {
28
+ ?uri omeka:item_set <https://n2t.net/ark:/60537/bd75pg>
29
+ }, "Verdwenen straat", "Straat" )," in Gouda") AS ?scopeNote )
30
+ OPTIONAL {
31
+ ?uri hg:absorbedBy|hg:absorbed ?related_uri .
32
+ ?related_uri a gtm:Straat ;
33
+ sdo:name ?related_prefLabel .
34
+ FILTER (?uri != ?related_uri )
35
+ }
36
+ OPTIONAL {
37
+ ?uri owl:sameAs ?exactMatch_uri .
38
+ ?exactMatch_uri sdo:name ?exactMatch_prefLabel .
39
+ FILTER(?exactMatch_uri != ?uri)
40
+ }
42
41
  }
43
- LIMIT 100
42
+ LIMIT 100
@@ -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
+ }