@netwerk-digitaal-erfgoed/network-of-terms-catalog 7.2.0 → 7.3.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.
package/README.md
CHANGED
|
@@ -14,13 +14,14 @@ additions specific to the Network of Terms:
|
|
|
14
14
|
|
|
15
15
|
- `schema:url` is used for the HTTP URI prefix of terms in the dataset, e.g. `http://vocab.getty.edu/aat/` for Getty
|
|
16
16
|
resources. This prefix is needed when clients look up terms by their URI in the Network of Terms: the Network then has
|
|
17
|
-
to know which source to consult to retrieve the term
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
a [`schema:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
of
|
|
17
|
+
to know which source to consult to retrieve the term;
|
|
18
|
+
- `schema:inLanguage` is a required property;
|
|
19
|
+
- each distribution has two or more [`schema:potentialAction`](https://schema.org/potentialAction)s:
|
|
20
|
+
- a [`schema:SearchAction`](https://schema.org/SearchAction) and
|
|
21
|
+
a [`schema:FindAction`](https://schema.org/FindAction), both with a [`schema:query`](https://schema.org/query)
|
|
22
|
+
property that points to the queries directory;
|
|
23
|
+
- optionally, a number of [`schema:Action`](https://schema.org/Action)s that configure the features that the Network
|
|
24
|
+
of Terms provides for the distribution, such as [Reconciliation](../network-of-terms-reconciliation).
|
|
24
25
|
|
|
25
26
|
The [queries](catalog/queries) directory contains SPARQL queries for retrieving terms from the datasets. There are
|
|
26
27
|
two types of queries:
|
|
@@ -20,18 +20,26 @@ CONSTRUCT {
|
|
|
20
20
|
|
|
21
21
|
FILTER (STRSTARTS(STR(?uri), "https://n2t.net/ark:/60537/"))
|
|
22
22
|
|
|
23
|
-
?uri sdo:
|
|
24
|
-
sdo:name ?prefLabel ;
|
|
23
|
+
?uri sdo:name ?prefLabel ;
|
|
25
24
|
luc:score ?score .
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
OPTIONAL {
|
|
27
|
+
?uri gtm:genoemdNaar ?genoemdNaar .
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
BIND (
|
|
31
|
+
CONCAT(
|
|
32
|
+
IF ( EXISTS { ?entity omeka:item_set <https://n2t.net/ark:/60537/bd75pg> }, "Verdwenen straat", "Straat" ),
|
|
33
|
+
IF ( BOUND(?genoemdNaar), CONCAT(" in Gouda, genoemd naar ", ?genoemdNaar )," in Gouda" )
|
|
34
|
+
)
|
|
35
|
+
AS ?scopeNote )
|
|
28
36
|
|
|
29
37
|
OPTIONAL { ?uri sdo:alternateName ?altLabel . }
|
|
30
38
|
|
|
31
39
|
OPTIONAL {
|
|
32
40
|
?uri hg:absorbedBy|hg:absorbed ?related_uri .
|
|
33
41
|
?related_uri a gtm:Straat ;
|
|
34
|
-
|
|
42
|
+
sdo:name ?related_prefLabel .
|
|
35
43
|
FILTER (STRSTARTS(STR(?related_uri), "https://n2t.net/ark:/60537/") && ?uri != ?related_uri )
|
|
36
44
|
}
|
|
37
45
|
} ORDER BY DESC(?score) LIMIT 100
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Catalog of Network of Terms datasets",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@comunica/core": "^2.7.0",
|
|
32
32
|
"@comunica/types": "^2.8.2",
|
|
33
|
-
"@types/n3": "^1.16.
|
|
33
|
+
"@types/n3": "^1.16.3",
|
|
34
34
|
"@types/rdf-ext": "^2.2.2",
|
|
35
35
|
"gts": "^5.2.0",
|
|
36
36
|
"jsonld-streaming-parser": "^3.2.0",
|