@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.4.0 → 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
|
+
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"@id": "http://www.wereldculturen.nl",
|
|
24
24
|
"@type": "Organization",
|
|
25
|
-
"name": "
|
|
25
|
+
"name": "Stichting Nationaal Museum van Wereldculturen",
|
|
26
26
|
"alternateName": "NMVW"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -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
|
|
@@ -9,7 +9,8 @@ CONSTRUCT {
|
|
|
9
9
|
skos:altLabel ?schema_alternateName ;
|
|
10
10
|
skos:scopeNote ?scopeNote ;
|
|
11
11
|
skos:scopeNote ?schema_hasOccupation ;
|
|
12
|
-
skos:broader ?uri_broader
|
|
12
|
+
skos:broader ?uri_broader ;
|
|
13
|
+
skos:inScheme ?datasetUri .
|
|
13
14
|
?uri_broader skos:prefLabel ?broader_schema_name .
|
|
14
15
|
}
|
|
15
16
|
WHERE {
|
|
@@ -23,14 +24,16 @@ WHERE {
|
|
|
23
24
|
?uri a ?type .
|
|
24
25
|
VALUES ?type { skos:Concept schema:Person } .
|
|
25
26
|
|
|
26
|
-
OPTIONAL {
|
|
27
|
-
?uri schema:name ?schema_name .
|
|
28
|
-
FILTER(LANG(?schema_name) = "nl")
|
|
29
|
-
}
|
|
30
|
-
|
|
31
27
|
# For subjects
|
|
32
28
|
OPTIONAL {
|
|
33
29
|
?uri a skos:Concept
|
|
30
|
+
BIND(<http://data.muziekschatten.nl/#onderwerpen> AS ?datasetUri).
|
|
31
|
+
|
|
32
|
+
OPTIONAL {
|
|
33
|
+
?uri schema:name ?schema_name .
|
|
34
|
+
FILTER(LANG(?schema_name) = "nl")
|
|
35
|
+
}
|
|
36
|
+
|
|
34
37
|
OPTIONAL {
|
|
35
38
|
?uri skos:broader ?uri_broader .
|
|
36
39
|
?uri_broader schema:name ?broader_schema_name .
|
|
@@ -54,6 +57,8 @@ WHERE {
|
|
|
54
57
|
# For persons
|
|
55
58
|
OPTIONAL {
|
|
56
59
|
?uri a schema:Person
|
|
60
|
+
BIND(<http://data.muziekschatten.nl/#personen> AS ?datasetUri).
|
|
61
|
+
OPTIONAL { ?uri schema:name ?schema_name }
|
|
57
62
|
OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
|
|
58
63
|
OPTIONAL { ?uri schema:hasOccupation ?schema_hasOccupation }
|
|
59
64
|
OPTIONAL { ?uri schema:familyName ?schema_familyName }
|
|
@@ -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.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Catalog of Network of Terms datasets",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@comunica/bindings-factory": "^2.2.0",
|
|
47
47
|
"@comunica/query-sparql-rdfjs": "^2.0.6",
|
|
48
48
|
"@netwerk-digitaal-erfgoed/network-of-terms-query": "2.1.3",
|
|
49
|
-
"globby": "^13.1.
|
|
49
|
+
"globby": "^13.1.2",
|
|
50
50
|
"rdf-parse": "^2.0.0",
|
|
51
51
|
"rdf-store-stream": "^1.1.0"
|
|
52
52
|
}
|