@netwerk-digitaal-erfgoed/network-of-terms-catalog 9.0.0 → 9.0.2

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.
@@ -17,7 +17,6 @@ CONSTRUCT {
17
17
  skos:exactMatch ?exactMatch_uri .
18
18
  ?broader_uri skos:prefLabel ?broader_prefLabel .
19
19
  ?narrower_uri skos:prefLabel ?narrower_prefLabel .
20
- ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
21
20
  }
22
21
  WHERE {
23
22
  # For example:
@@ -54,10 +53,8 @@ WHERE {
54
53
  ?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
55
54
  }
56
55
  OPTIONAL {
57
- ?uri skos:exactMatch ?exactMatch_uri .
58
- ?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
59
- ?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
60
- ?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
56
+ ?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
57
+ FILTER(?exactMatch_uri != ?uri) # Exclude self-reference.
61
58
  }
62
59
  }
63
60
  LIMIT 1000
@@ -60,10 +60,8 @@ WHERE {
60
60
  ?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
61
61
  }
62
62
  OPTIONAL {
63
- ?uri skos:exactMatch ?exactMatch_uri .
64
- ?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
65
- ?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
66
- ?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
63
+ ?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
64
+ FILTER(?exactMatch_uri != ?uri) # Exclude self-reference.
67
65
  }
68
66
  }
69
67
  LIMIT 1000
@@ -19,7 +19,6 @@ CONSTRUCT {
19
19
  skos:exactMatch ?exactMatch_uri .
20
20
  ?broader_uri skos:prefLabel ?broader_prefLabel .
21
21
  ?narrower_uri skos:prefLabel ?narrower_prefLabel .
22
- ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
23
22
  }
24
23
  WHERE {
25
24
  ?uri luc:term ?query ;
@@ -60,10 +59,8 @@ WHERE {
60
59
  ?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
61
60
  }
62
61
  OPTIONAL {
63
- ?uri skos:exactMatch ?exactMatch_uri .
64
- ?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
65
- ?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
66
- ?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
62
+ ?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
63
+ FILTER(?exactMatch_uri != ?uri) # Exclude self-reference.
67
64
  }
68
65
  }
69
66
  LIMIT 1000
@@ -19,7 +19,6 @@ CONSTRUCT {
19
19
  skos:exactMatch ?exactMatch_uri .
20
20
  ?broader_uri skos:prefLabel ?broader_prefLabel .
21
21
  ?narrower_uri skos:prefLabel ?narrower_prefLabel .
22
- ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
23
22
  }
24
23
  WHERE {
25
24
  ?uri luc:term ?query ;
@@ -60,10 +59,8 @@ WHERE {
60
59
  ?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
61
60
  }
62
61
  OPTIONAL {
63
- ?uri skos:exactMatch ?exactMatch_uri .
64
- ?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
65
- ?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
66
- ?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
62
+ ?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
63
+ FILTER(?exactMatch_uri != ?uri) # Exclude self-reference.
67
64
  }
68
65
  }
69
66
  LIMIT 1000
@@ -8,7 +8,7 @@ PREFIX omeka: <http://omeka.org/s/vocabs/o#>
8
8
  PREFIX owl: <http://www.w3.org/2002/07/owl#>
9
9
 
10
10
  CONSTRUCT {
11
- ?uri a skos:Concept ;
11
+ ?piduri a skos:Concept ;
12
12
  skos:prefLabel ?prefLabel ;
13
13
  skos:altLabel ?altLabel;
14
14
  skos:scopeNote ?scopeNote ;
@@ -21,7 +21,9 @@ CONSTRUCT {
21
21
  luc:query ?query ;
22
22
  luc:entities ?uri .
23
23
 
24
- FILTER (STRSTARTS(STR(?uri), "https://n2t.net/ark:/60537/"))
24
+ ?uri sdo:identifier ?pid
25
+ FILTER(STRSTARTS(?pid, "https://n2t.net"))
26
+ BIND(IRI(?pid) AS ?piduri)
25
27
 
26
28
  ?uri sdo:name ?prefLabel ;
27
29
  luc:score ?score .
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "jsonld-streaming-parser": "^3.3.0",
37
37
  "rdf-data-factory": "^1.1.2",
38
38
  "rdf-ext": "^2.5.1",
39
- "rdf-validate-shacl": "^0.5.1"
39
+ "rdf-validate-shacl": "^0.5.3"
40
40
  },
41
41
  "bugs": {
42
42
  "url": "https://github.com/netwerk-digitaal-erfgoed/network-of-terms-catalog/issues"