@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.4.2 → 6.5.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,54 @@
1
+ {
2
+ "@context": "https://schema.org/docs/jsonldcontext.jsonld",
3
+ "@id": "https://www.geonames.org",
4
+ "@type": "Dataset",
5
+ "name": [
6
+ {
7
+ "@language": "nl",
8
+ "@value": "GeoNames: geografische namen in Nederland en België"
9
+ }
10
+ ],
11
+ "creator": [
12
+ {
13
+ "@id": "https://www.geonames.org/team.html"
14
+ }
15
+ ],
16
+ "url": [
17
+ "https://sws.geonames.org/"
18
+ ],
19
+ "description": [
20
+ {
21
+ "@language": "nl",
22
+ "@value": "Selectie van geografische namen zoals plaatsen, administratieve eenheden (gemeentes, provincies) en waterlichamen (rivieren, beken, meren etc.)"
23
+ }
24
+ ],
25
+ "distribution": [
26
+ {
27
+ "@id": "https://demo.netwerkdigitaalerfgoed.nl/geonames",
28
+ "@type": "DataDownload",
29
+ "contentUrl": "https://demo.netwerkdigitaalerfgoed.nl/geonames/sparql",
30
+ "encodingFormat": "application/sparql-query",
31
+ "potentialAction": [
32
+ {
33
+ "@type": "SearchAction",
34
+ "query": "file://catalog/queries/search/geonames.rq"
35
+ },
36
+ {
37
+ "@type": "FindAction",
38
+ "query": "file://catalog/queries/lookup/geonames.rq"
39
+ },
40
+ {
41
+ "@type": "Action",
42
+ "target": {
43
+ "@type": "EntryPoint",
44
+ "actionApplication": {
45
+ "@id": "https://reconciliation-api.github.io/specs/latest/",
46
+ "@type": "SoftwareApplication"
47
+ },
48
+ "urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{distribution}"
49
+ }
50
+ }
51
+ ]
52
+ }
53
+ ]
54
+ }
@@ -78,6 +78,12 @@
78
78
  "@type": "Organization",
79
79
  "name": "Erfgoed Brabant",
80
80
  "alternateName": "Erfgoed Brabant"
81
+ },
82
+ {
83
+ "@id": "https://www.geonames.org/team.html",
84
+ "@type": "Organization",
85
+ "name": "GeoNames",
86
+ "alternateName": "GeoNames"
81
87
  }
82
88
  ]
83
89
  }
@@ -0,0 +1,34 @@
1
+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
2
+ PREFIX gn: <https://www.geonames.org/ontology#>
3
+
4
+ CONSTRUCT {
5
+ ?uri a skos:Concept ;
6
+ skos:prefLabel ?prefLabel ;
7
+ skos:altLabel ?altLabel ;
8
+ skos:scopeNote ?scopeNote ;
9
+ skos:broader ?broader .
10
+ ?broader skos:prefLabel ?broader_prefLabel .
11
+ }
12
+ WHERE {
13
+ # https://sws.geonames.org/2752375 (Koudekerke)
14
+ VALUES ?uri { ?uris }
15
+
16
+ ?uri a gn:Feature ;
17
+ gn:name ?prefLabel .
18
+
19
+ OPTIONAL {
20
+ ?uri gn:alternateName ?altLabel .
21
+ FILTER(?altLabel != "")
22
+ }
23
+
24
+ OPTIONAL {
25
+ ?uri ?parents ?broader .
26
+ ?broader gn:name ?broader_prefLabel
27
+ VALUES ?parents { gn:parentADM1 gn:parentADM2 }
28
+ }
29
+
30
+ OPTIONAL {
31
+ ?uri gn:featureCode/gn:name ?scopeNote .
32
+ }
33
+ }
34
+ LIMIT 1000
@@ -0,0 +1,41 @@
1
+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
2
+ PREFIX gn: <https://www.geonames.org/ontology#>
3
+
4
+ CONSTRUCT {
5
+ ?uri a skos:Concept ;
6
+ skos:prefLabel ?prefLabel ;
7
+ skos:altLabel ?altLabel ;
8
+ skos:scopeNote ?scopeNote ;
9
+ skos:broader ?broader .
10
+ ?broader skos:prefLabel ?broader_prefLabel .
11
+ }
12
+ WHERE {
13
+ ?uri a gn:Feature ;
14
+ gn:featureClass ?featureClass ;
15
+ gn:name ?prefLabel ;
16
+ ?names ?name .
17
+
18
+ # Search in names and alternative names.
19
+ VALUES ?names { gn:name gn:alternateName }
20
+
21
+ # Limit results to places (P), localities (L), administrative levels (A) and water surfaces (H).
22
+ VALUES ?featureClass { gn:P gn:L gn:A gn:H }
23
+
24
+ FILTER(CONTAINS(LCASE(?name), LCASE($query)))
25
+
26
+ OPTIONAL {
27
+ ?uri gn:alternateName ?altLabel .
28
+ FILTER(?altLabel != "")
29
+ }
30
+
31
+ OPTIONAL {
32
+ ?uri ?parents ?broader .
33
+ ?broader gn:name ?broader_prefLabel
34
+ VALUES ?parents { gn:parentADM1 gn:parentADM2 }
35
+ }
36
+
37
+ OPTIONAL {
38
+ ?uri gn:featureCode/gn:name ?scopeNote .
39
+ }
40
+ }
41
+ 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.4.2",
3
+ "version": "6.5.0",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {