@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.26.0 → 6.27.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.
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
2
2
|
PREFIX gn: <https://www.geonames.org/ontology#>
|
|
3
3
|
PREFIX text: <http://jena.apache.org/text#>
|
|
4
|
+
PREFIX vrank: <http://purl.org/voc/vrank#>
|
|
4
5
|
|
|
5
6
|
CONSTRUCT {
|
|
6
7
|
?uri a skos:Concept ;
|
|
7
8
|
skos:prefLabel ?prefLabel_ext ;
|
|
8
9
|
skos:altLabel ?altLabel ;
|
|
9
10
|
skos:scopeNote ?scopeNote ;
|
|
10
|
-
skos:broader ?broader
|
|
11
|
+
skos:broader ?broader ;
|
|
12
|
+
vrank:simpleRank ?score .
|
|
11
13
|
?broader skos:prefLabel ?broader_prefLabel .
|
|
12
14
|
}
|
|
13
15
|
WHERE {
|
|
14
|
-
?uri text:query (gn:name gn:alternateName ?query)
|
|
15
|
-
|
|
16
|
+
(?uri ?score) text:query (gn:name gn:alternateName ?query 100) .
|
|
17
|
+
?uri a gn:Feature ;
|
|
16
18
|
gn:featureClass ?featureClass ;
|
|
17
19
|
gn:name ?prefLabel ;
|
|
18
|
-
gn:countryCode ?countryCode
|
|
19
|
-
?names ?name .
|
|
20
|
+
gn:countryCode ?countryCode .
|
|
20
21
|
|
|
21
22
|
BIND(CONCAT(?prefLabel," (",UCASE(?countryCode),")") as ?prefLabel_ext)
|
|
22
23
|
|
|
23
|
-
# Search in names and alternative names.
|
|
24
|
-
VALUES ?names { gn:name gn:alternateName }
|
|
25
|
-
|
|
26
24
|
# Limit results to places (P), localities (L), administrative levels (A) and water surfaces (H).
|
|
27
25
|
VALUES ?featureClass { gn:P gn:L gn:A gn:H }
|
|
28
26
|
|
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.27.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Catalog of Network of Terms datasets",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@comunica/core": "^2.7.0",
|
|
32
32
|
"@comunica/types": "^2.7.0",
|
|
33
33
|
"@types/n3": "^1.4.3",
|
|
34
|
-
"@types/rdf-ext": "^2.2.
|
|
34
|
+
"@types/rdf-ext": "^2.2.2",
|
|
35
35
|
"gts": "^3.1.1",
|
|
36
36
|
"jsonld-streaming-parser": "^3.2.0",
|
|
37
37
|
"rdf-data-factory": "^1.1.2",
|